makedeb


nsxiv 30-2


Neo or New or Not Simple or Small or Suckless X Image Viewer

Click here to go back to the commit logs for nsxiv.

Commit:


Hash: 098f4645b4f4ecaa936cfa5ad1a2c6d3f8d4336a

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 812b20d..5c9c0c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = nsxiv
 pkgbase = nsxiv
 pkgdesc = Neo or New or Not Simple or Small or Suckless X Image Viewer
-pkgrel = 1
+pkgrel = 2
 pkgver = 30
 url = https://codeberg.org/nsxiv/nsxiv
 arch = amd64
@@ -11,17 +11,23 @@ depends = libimlib2
 depends = desktop-file-utils
 depends = xdg-utils
 depends = hicolor-icon-theme
-depends = libexif12
-depends = libxft2
-depends = giflib-tools
-depends = libwebp6
 license = GPL2
 makedepends = libimlib2-dev
 makedepends = libexif-dev
 makedepends = libwebp-dev
+optdepends = libxft2
+optdepends = fontconfig
+optdepends = giflib-tools
+optdepends = libexif12
+optdepends = libwebp6
 provides = nsxiv
 source = nsxiv-30.tar.gz::https://codeberg.org/nsxiv/nsxiv/archive/v30.tar.gz
 sha256sums = a916d1385872ccf0b55fbf6b8546d05fcbbbb8b0a92579494e64c6bd22fc7941
 makedepends = libimlib2-dev
 makedepends = libexif-dev
 makedepends = libwebp-dev
+optdepends = libxft2
+optdepends = fontconfig
+optdepends = giflib-tools
+optdepends = libexif12
+optdepends = libwebp6
diff --git a/PKGBUILD b/PKGBUILD
index 3f499c1..1a00e27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
 # thanks to AUR maintianer: Sanjay Pavan <withercubes@protonmail.com>
 pkgname=nsxiv
 pkgver=30
-pkgrel=1
+pkgrel=2
 pkgdesc='Neo or New or Not Simple or Small or Suckless X Image Viewer'
 arch=('amd64')
 license=('GPL2')
 url='https://codeberg.org/nsxiv/nsxiv'
-depends=('libimlib2' 'desktop-file-utils' 'xdg-utils'  'hicolor-icon-theme' 'libexif12' 'libxft2' 'giflib-tools' 'libwebp6')
+depends=('libimlib2' 'desktop-file-utils' 'xdg-utils'  'hicolor-icon-theme')
 makedepends=('libimlib2-dev' 'libexif-dev' 'libwebp-dev')
+optdepends=('libxft2' 'fontconfig' 'giflib-tools' 'libexif12' 'libwebp6')
 source=("${pkgname}-$pkgver.tar.gz"::"https://codeberg.org/nsxiv/nsxiv/archive/v$pkgver.tar.gz")
 sha256sums=('a916d1385872ccf0b55fbf6b8546d05fcbbbb8b0a92579494e64c6bd22fc7941')
 conflicts=('nsxiv')