diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-10 20:30:11 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-11 08:19:48 +0200 |
commit | df3a28c37f27d16b72eaf38ec4a995c2f1043591 (patch) | |
tree | c470cf32b3ac89b1bb2a4b7bd09ef311f81c3755 /kde-apps/kalarm | |
parent | kde-apps/kmail: Add IUSE activities (diff) | |
download | kde-df3a28c37f27d16b72eaf38ec4a995c2f1043591.tar.gz kde-df3a28c37f27d16b72eaf38ec4a995c2f1043591.tar.bz2 kde-df3a28c37f27d16b72eaf38ec4a995c2f1043591.zip |
kde-apps/kalarm: Add IUSE mpv
Upstream commit 298d5200d170d5c7bf1abace51f83e428bd93ed2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kalarm')
-rw-r--r-- | kde-apps/kalarm/kalarm-9999.ebuild | 7 | ||||
-rw-r--r-- | kde-apps/kalarm/metadata.xml | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/kde-apps/kalarm/kalarm-9999.ebuild b/kde-apps/kalarm/kalarm-9999.ebuild index 3024bd47e8..1b5e57efc6 100644 --- a/kde-apps/kalarm/kalarm-9999.ebuild +++ b/kde-apps/kalarm/kalarm-9999.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/kalarm/ https://userbase.kde.org/KAlarm" LICENSE="GPL-2+ handbook? ( FDL-1.2+ )" SLOT="6" KEYWORDS="" -IUSE="+pim speech X" +IUSE="mpv +pim speech X" COMMON_DEPEND=" >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets] @@ -49,7 +49,8 @@ COMMON_DEPEND=" >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 >=kde-frameworks/kwindowsystem-${KFMIN}:6[X?] >=kde-frameworks/kxmlgui-${KFMIN}:6 - media-video/vlc:= + mpv? ( media-video/mpv:=[libmpv] ) + !mpv? ( media-video/vlc:= ) pim? ( >=kde-apps/akonadi-${PVCUT}:6 >=kde-apps/akonadi-contacts-${PVCUT}:6 @@ -68,6 +69,8 @@ DEPEND="${COMMON_DEPEND} src_configure() { local mycmakeargs=( + -DENABLE_LIBMPV=$(usex mpv) + -DENABLE_LIBVLC=$(usex !mpv) -DENABLE_AKONADI_PLUGIN=$(usex pim) $(cmake_use_find_package speech KF6TextEditTextToSpeech) -DWITHOUT_X11=$(usex !X) diff --git a/kde-apps/kalarm/metadata.xml b/kde-apps/kalarm/metadata.xml index 208e509390..20f1c63a1b 100644 --- a/kde-apps/kalarm/metadata.xml +++ b/kde-apps/kalarm/metadata.xml @@ -10,6 +10,7 @@ <remote-id type="kde-invent">pim/kalarm</remote-id> </upstream> <use> + <flag name="mpv">Use <pkg>media-libs/mpvqt</pkg> instead of <pkg>media-video/vlc</pkg> audio alarms playback)</flag> <flag name="pim">Enable birthday import, email functions etc. using <pkg>kde-apps/akonadi</pkg></flag> </use> </pkgmetadata> |