summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Coenen2022-11-15 21:22:16 +0100
committerManuel Coenen2022-11-15 21:22:16 +0100
commit3e7cef2f5f4bc03ae98b0de9e80af0d50648bc94 (patch)
tree818edfb0bc0e987ec2e166716852ca6caa799984
parentaba171d12efd273f78cae7c81f51c13a955c7c68 (diff)
downloadaur-3e7cef2f5f4bc03ae98b0de9e80af0d50648bc94.tar.gz
disable STB image library
README states to do so if GraphicsMagick is available to reduce security vectors
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95e875121a36..d1f2eb026862 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 d3ff88bd4bc4..7493046b34f0 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
}