summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-09-07 23:38:16 +0200
committerJohannes Huber <johu@gentoo.org>2017-09-07 23:41:28 +0200
commit6dd6c047e1ef82c35a2a8fec45010a2484815952 (patch)
tree2f07d50b7d2e54de55ac14816497152949edb799 /media-gfx/digikam
parentprofiles: Mask media-gfx/digikam[mediaplayer] on x86 (diff)
downloadgentoo-6dd6c047e1ef82c35a2a8fec45010a2484815952.tar.gz
gentoo-6dd6c047e1ef82c35a2a8fec45010a2484815952.tar.bz2
gentoo-6dd6c047e1ef82c35a2a8fec45010a2484815952.zip
media-gfx/digikam: Add mediaplayer use flag
Bug: https://bugs.gentoo.org/show_bug.cgi?id=613146 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-gfx/digikam')
-rw-r--r--media-gfx/digikam/digikam-5.7.0.ebuild6
-rw-r--r--media-gfx/digikam/metadata.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/media-gfx/digikam/digikam-5.7.0.ebuild b/media-gfx/digikam/digikam-5.7.0.ebuild
index 389ed74eeda..07f15ab39af 100644
--- a/media-gfx/digikam/digikam-5.7.0.ebuild
+++ b/media-gfx/digikam/digikam-5.7.0.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Digital photo management application"
HOMEPAGE="https://www.digikam.org/"
LICENSE="GPL-2"
-IUSE="addressbook calendar gphoto2 jpeg2k +kipi +lensfun marble semantic-desktop mysql opengl openmp +panorama scanner X"
+IUSE="addressbook calendar gphoto2 jpeg2k +kipi +lensfun marble mediaplayer semantic-desktop mysql opengl openmp +panorama scanner X"
if [[ ${KDE_BUILD_TYPE} != live ]]; then
KEYWORDS="~amd64 ~x86"
@@ -74,6 +74,7 @@ COMMON_DEPEND="
$(add_qt_dep qtconcurrent)
$(add_qt_dep qtnetwork)
)
+ mediaplayer? ( media-libs/qtav[opengl] )
mysql? ( virtual/mysql[server] )
opengl? (
$(add_qt_dep qtopengl)
@@ -145,8 +146,8 @@ src_configure() {
local mycmakeargs=(
-DENABLE_APPSTYLES=ON
-DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook)
+ -DENABLE_MEDIAPLAYER=$(usex mediaplayer)
-DENABLE_MYSQLSUPPORT=$(usex mysql)
- -DENABLE_MEDIAPLAYER=OFF
-DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no)
$(cmake-utils_use_find_package calendar KF5CalendarCore)
$(cmake-utils_use_find_package gphoto2 Gphoto2)
@@ -154,6 +155,7 @@ src_configure() {
$(cmake-utils_use_find_package kipi KF5Kipi)
$(cmake-utils_use_find_package lensfun LensFun)
$(cmake-utils_use_find_package marble Marble)
+ $(cmake-utils_use_find_package mediaplayer QtAV)
$(cmake-utils_use_find_package opengl OpenGL)
$(cmake-utils_use_find_package openmp OpenMP)
$(cmake-utils_use_find_package panorama KF5ThreadWeaver)
diff --git a/media-gfx/digikam/metadata.xml b/media-gfx/digikam/metadata.xml
index 00059c9b9d3..59e835b0183 100644
--- a/media-gfx/digikam/metadata.xml
+++ b/media-gfx/digikam/metadata.xml
@@ -13,6 +13,7 @@
<flag name="kipi">Enable support for <pkg>media-plugins/kipi-plugins</pkg></flag>
<flag name="lensfun">Enable support for <pkg>media-libs/lensfun</pkg></flag>
<flag name="marble">Enable support for geolocation using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="mediaplayer">Enable support for media player using <pkg>media-libs/qtav</pkg></flag>
<flag name="panorama">Build the panorama plugin which requires <pkg>media-gfx/hugin</pkg></flag>
<flag name="semantic-desktop">Enable <pkg>kde-frameworks/kfilemetadata</pkg> support</flag>
</use>