Date: Saturday, May 13, 2023 @ 16:25:13
Author: gromit
Revision: 1460201
upgpkg: nsxiv 31-4: drop unneded dependencies
Modified:
nsxiv/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-13 15:37:15 UTC (rev 1460200)
+++ PKGBUILD 2023-05-13 16:25:13 UTC (rev 1460201)
@@ -3,7 +3,7 @@
pkgname=nsxiv
pkgver=31
-pkgrel=3
+pkgrel=4
pkgdesc='Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer'
arch=('x86_64')
license=('GPL2')
@@ -11,9 +11,7 @@
depends=('imlib2' 'libx11' # core dependencies
'libxft' 'fontconfig' 'freetype2' # status bar
- 'giflib' # display gif images
'libexif' # display exif images
- 'libwebp' # display webp images
'hicolor-icon-theme') # make icon
source=("$pkgname-$pkgver.tar.gz"::"https://codeberg.org/nsxiv/nsxiv/archive/v$pkgver.tar.gz")
@@ -22,10 +20,13 @@
prepare() {
cd "$pkgname"
[ ! -f config.h ] && cp config.def.h config.h
+ # make install currently also runs make all
+ # see https://codeberg.org/nsxiv/nsxiv-record/issues/237
+ sed -i -e '/^install: / s|: all|:|' Makefile
}
build() {
- make -C "$pkgname" OPT_DEP_DEFAULT=1
+ make -C "$pkgname" HAVE_LIBGIF=0 HAVE_LIBWEBP=0 HAVE_INOTIFY=1
HAVE_LIBFONT=1 HAVE_LIBEXIF=1
}
package() {