Mail archive
alpine-aports

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

From: Alex Raschi <raschi.alex_at_gmail.com>
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
_at_@ -1,7 +1,7 @@
 # Maintainer: Alex Raschi <raschi.alex_at_gmail.com>
 pkgname=nomacs
 pkgver=3.12
-pkgrel=0
+pkgrel=1
 pkgdesc="Small and fast Qt image viewer"
 url="https://nomacs.org/"
 arch="all"
_at_@ -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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Dec 01 2018 - 15:21:44 UTC