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

From: Alex Raschi <[email-masked]>
Date: Sat, 1 Dec 2018 15:21:44 +0100

* 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 <[email-masked]>
 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:  [email-masked]
Help:         [email-masked]
---