git » timg.git » commit 3e7cef2

disable STB image library

author Manuel Coenen
2022-11-15 20:22:16 UTC
committer Manuel Coenen
2022-11-15 20:22:16 UTC
parent aba171d12efd273f78cae7c81f51c13a955c7c68

disable STB image library

README states to do so if GraphicsMagick is available to reduce
security vectors

.SRCINFO +1 -1
PKGBUILD +3 -2

diff --git a/.SRCINFO b/.SRCINFO
index 95e8751..d1f2eb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = timg
 	pkgdesc = Terminal Image and Video Viewer
 	pkgver = 1.4.5
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/hzeller/timg
 	arch = any
 	license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index d3ff88b..7493046 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Manuel Coenen <manuel.coenen@gmail.com>
 pkgname=timg
 pkgver=1.4.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Terminal Image and Video Viewer"
 arch=('any')
 url="https://github.com/hzeller/timg"
@@ -20,7 +20,8 @@ build() {
 	-DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
 	-DWITH_VIDEO_DECODING=On \
 	-DWITH_VIDEO_DEVICE=On \
-	-DWITH_OPENSLIDE_SUPPORT=On
+	-DWITH_OPENSLIDE_SUPPORT=On \
+	-DWITH_STB_IMAGE=Off
   make
 }