makedeb


lbry-viewer 0.0.9-1


A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)

Click here to go back to the commit logs for lbry-viewer.

Commit:


Hash: c39f29c124e7b034819b593cddda1b4f23c45668

Message: checkdepends

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4869a6e..91fcd49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,10 +2,12 @@ generated-by = makedeb
 pkgname = lbry-viewer
 pkgbase = lbry-viewer
 pkgdesc = A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)
-pkgrel = 0
+pkgrel = 1
 pkgver = 0.0.9
 url = https://github.com/trizen/lbry-viewer
 arch = all
+checkdepends = libjson-perl
+conflicts = lbry-viewer-git
 depends = perl
 depends = libdata-dump-perl
 depends = libjson-perl
@@ -20,17 +22,18 @@ license = Artistic2.0
 makedepends = libmodule-build-perl
 optdepends = gnome-icon-theme: icons in menus
 optdepends = libjson-xs-perl: faster JSON parsing
-optdepends = liblwp-useragent-cached-perl: local cache support
+optdepends = liblwp-useragent-cached-perl: local cache support, mpr only
 optdepends = libterm-readline-gnu-perl: better STDIN support
 optdepends = libtext-charwidth-perl: get widths of characters
 optdepends = mpv: play videos with MPV (recommended)
 optdepends = vlc: play videos with VLC
 source = lbry-viewer-0.0.9.tar.gz::https://github.com/trizen/lbry-viewer/archive/refs/tags/0.0.9.tar.gz
 b2sums = b79279224aa910b81732914a601caec00e5b11816593fc2479ceff1c4ca79699aef666d1d5dbdbec5d65e1a05e4e95a1584a13af5fc9457b868662befea4a9f5
+checkdepends = libjson-perl
 makedepends = libmodule-build-perl
 optdepends = gnome-icon-theme: icons in menus
 optdepends = libjson-xs-perl: faster JSON parsing
-optdepends = liblwp-useragent-cached-perl: local cache support
+optdepends = liblwp-useragent-cached-perl: local cache support, mpr only
 optdepends = libterm-readline-gnu-perl: better STDIN support
 optdepends = libtext-charwidth-perl: get widths of characters
 optdepends = mpv: play videos with MPV (recommended)
diff --git a/PKGBUILD b/PKGBUILD
index b8ec630..0e6a9b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,14 @@
 
 pkgname=lbry-viewer
 pkgver=0.0.9
-pkgrel=0
+pkgrel=1
 pkgdesc="A lightweight LBRY/Odysee client for Linux (CLI/GTK) (fork of pipe-viewer)"
 arch=('all')
 url="https://github.com/trizen/${pkgname}"
 license=('Artistic2.0')
+conflicts=('lbry-viewer-git')
 makedepends=('libmodule-build-perl')
+checkdepends=('libjson-perl')
 depends=('perl' 'libdata-dump-perl' 'libjson-perl' 'liblwp-protocol-https-perl' 'libgtk3-perl' 
 'libwww-perl' 'libfile-sharedir-perl' 'libunicode-linebreak-perl' 'webp-pixbuf-loader' 'yt-dlp')
 
@@ -16,7 +18,7 @@ optdepends=(
     #'ffmpeg: conversions and MKV merging'
     'gnome-icon-theme: icons in menus'
     'libjson-xs-perl: faster JSON parsing'
-    'liblwp-useragent-cached-perl: local cache support'
+    'liblwp-useragent-cached-perl: local cache support, mpr only'
     'libterm-readline-gnu-perl: better STDIN support'
     'libtext-charwidth-perl: get widths of characters'
     'mpv: play videos with MPV (recommended)'