From b17915e5a4ad50ece45aa81ccb9dc19ebd449b04 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 3 Aug 2016 15:09:28 +0200 Subject: media-gfx/digikam: Lower opencv dependency Arfrever-enhanced method. Package-Manager: portage-2.2.28 --- media-gfx/digikam/digikam-4.14.0-r1.ebuild | 8 ++++---- media-gfx/digikam/digikam-5.0.0.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'media-gfx/digikam') diff --git a/media-gfx/digikam/digikam-4.14.0-r1.ebuild b/media-gfx/digikam/digikam-4.14.0-r1.ebuild index bea1bc9d61f7..f3828f62f31d 100644 --- a/media-gfx/digikam/digikam-4.14.0-r1.ebuild +++ b/media-gfx/digikam/digikam-4.14.0-r1.ebuild @@ -41,7 +41,7 @@ CDEPEND=" media-libs/liblqr >=media-libs/libpgf-6.12.27 media-libs/libpng:0= - >=media-libs/opencv-3.0.0:=[contrib] + media-libs/opencv:=[contrib(+)] media-libs/phonon[qt4] >=media-libs/tiff-3.8.2:0 virtual/jpeg:0 @@ -102,17 +102,17 @@ src_configure() { # LQR = only allows to choose between bundled/external local mycmakeargs=( -DENABLE_LCMS2=ON - -DENABLE_OPENCV3=ON -DWITH_LQR=ON -DWITH_LENSFUN=ON + -DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no) $(cmake-utils_use_enable addressbook KDEPIMLIBSSUPPORT) + $(cmake-utils_use_enable debug DEBUG_MESSAGES) $(cmake-utils_use_enable gphoto2 GPHOTO2) $(cmake-utils_use_with gphoto2) - $(cmake-utils_use_enable thumbnails THUMBS_DB) $(cmake-utils_use_enable mysql INTERNALMYSQL) $(cmake-utils_use_enable mysql MYSQLSUPPORT) - $(cmake-utils_use_enable debug DEBUG_MESSAGES) $(cmake-utils_use_enable semantic-desktop BALOOSUPPORT) + $(cmake-utils_use_enable thumbnails THUMBS_DB) ) kde4-base_src_configure diff --git a/media-gfx/digikam/digikam-5.0.0.ebuild b/media-gfx/digikam/digikam-5.0.0.ebuild index f099f90518f9..23ace8808e13 100644 --- a/media-gfx/digikam/digikam-5.0.0.ebuild +++ b/media-gfx/digikam/digikam-5.0.0.ebuild @@ -5,7 +5,7 @@ EAPI=6 if [[ ${KDE_BUILD_TYPE} != live ]]; then - KDE_TEST=true + KDE_TEST="true" fi CMAKE_MAKEFILE_GENERATOR="emake" inherit kde5 @@ -65,7 +65,7 @@ COMMON_DEPEND=" media-libs/liblqr >=media-libs/libpgf-6.12.27 media-libs/libpng:0= - >=media-libs/opencv-3.0.0:= + media-libs/opencv:= media-libs/tiff:0 virtual/jpeg:0 addressbook? ( @@ -119,11 +119,11 @@ src_prepare() { src_configure() { # LQR = only allows to choose between bundled/external local mycmakeargs=( - -DENABLE_OPENCV3=ON -DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook) -DENABLE_KFILEMETADATASUPPORT=$(usex semantic-desktop) -DENABLE_MYSQLSUPPORT=$(usex mysql) -DENABLE_MEDIAPLAYER=$(usex video) + -DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no) $(cmake-utils_use_find_package gphoto2 Gphoto2) $(cmake-utils_use_find_package lensfun LensFun) $(cmake-utils_use_find_package marble Marble) -- cgit v1.2.3-65-gdbad