~alpine/aports

[alpine-aports] [PATCH] testing/nomacs: fix installation with ffmpeg 4+

Alex Raschi
Details
Message ID
<20181201142144.29376-1-raschi.alex@gmail.com>
Sender timestamp
1543674104
DKIM signature
missing
Download raw message
Patch: +4 -5
* disable opencv (raw and tiff options depends on opencv)

After ffmpeg update to 4+, opencv is broken and unless updated it can't
be built right now.
---
 testing/nomacs/APKBUILD | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/testing/nomacs/APKBUILD b/testing/nomacs/APKBUILD
index 8f6f65609b..687b73a8ed 100644
--- a/testing/nomacs/APKBUILD
+++ b/testing/nomacs/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alex Raschi <raschi.alex@gmail.com>
 pkgname=nomacs
 pkgver=3.12
-pkgrel=0
+pkgrel=1
 pkgdesc="Small and fast Qt image viewer"
 url="https://nomacs.org/"
 arch="all"
@@ -12,10 +12,6 @@ makedepends="cmake
 	qt5-qttools-dev
 	qt5-qtsvg-dev
 	exiv2-dev
-	libraw-dev
-	opencv
-	opencv-dev
-	tiff-dev
 	quazip-qt5-dev
 	libwebp-dev
 	lcov
@@ -36,6 +32,9 @@ build() {
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
 		-DCMAKE_C_FLAGS="$CFLAGS" \
+		-DENABLE_OPENCV=False \
+		-DENABLE_RAW=False \
+		-DENABLE_TIFF=False \
 		-DENABLE_QT_DEBUG=False \
 		-DENABLE_TRANSLATIONS=True \
 		-DENABLE_PLUGINS=False \
-- 
2.19.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---