media-sound/elisa: 0.4.0 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 5 Jun 2019 16:06:48 +0000 (18:06 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 5 Jun 2019 16:08:45 +0000 (18:08 +0200)
Closes: https://bugs.gentoo.org/686974
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/elisa/Manifest
media-sound/elisa/elisa-0.4.0.ebuild [new file with mode: 0644]
media-sound/elisa/metadata.xml

index 10366fdf3a74139808cf2d6b7ace5e25c1992167..904ab38a84e48ba6e1ed9becf8e6c2596dabf53f 100644 (file)
@@ -1 +1,2 @@
 DIST elisa-0.3.0.tar.xz 1248496 BLAKE2B 8a52c35ca1e7a81927d8e95020854725407700e93e15bb778366946e7c19578df6939daec058743d9dffeece43dbb946c0f0ce6612c9ae50ff51c3c023cece1d SHA512 8097f8f2bbcb6199adf856d0786e77a33c46c3ead8f55fb29839862ec96db5ba957a8181af013650e4d8c9ecf32b104f17c26921204e6c7478c0a3a7152c9b9a
+DIST elisa-0.4.0.tar.xz 1272596 BLAKE2B ed11dcba82766e11581806f1153d64c157c8bd8549a374e32fcb5c28369bed853b4a6a18ae42c6d3dab86d297d2699a292fad2de62b0ab9fec97b9cb1f1d3e1f SHA512 976370b9f0395b990d05cc1d5adebe150398090c5f1df94e1ad5761a8af36c0c83ed14087a3bc02e09c21740724f1505b99c4ab5f4995f0c46f21948f4705e61
diff --git a/media-sound/elisa/elisa-0.4.0.ebuild b/media-sound/elisa/elisa-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..59c4f96
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="forceoptional"
+KDE_HANDBOOK="optional"
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+       SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Simple music player by KDE"
+HOMEPAGE="https://community.kde.org/Elisa"
+LICENSE="LGPL-3+"
+IUSE="mpris semantic-desktop vlc"
+
+BDEPEND="sys-devel/gettext"
+DEPEND="
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdeclarative)
+       $(add_frameworks_dep kfilemetadata)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kirigami)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtmultimedia 'gstreamer')
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtwidgets)
+       mpris? (
+               $(add_frameworks_dep kdbusaddons)
+               $(add_qt_dep qtdbus)
+       )
+       semantic-desktop? (
+               $(add_frameworks_dep baloo)
+       )
+       vlc? ( media-video/vlc:= )
+"
+RDEPEND="${DEPEND}
+       $(add_qt_dep qtgraphicaleffects)
+       $(add_qt_dep qtquickcontrols)
+       $(add_qt_dep qtquickcontrols2)
+"
+
+RESTRICT+=" test"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package mpris KF5DBusAddons)
+               $(cmake-utils_use_find_package semantic-desktop KF5Baloo)
+               $(cmake-utils_use_find_package vlc LIBVLC)
+       )
+
+       kde5_src_configure
+}
index 22e16aa35e94b675982732027372a63dd8cf2f3f..2f9a4280caf9dd2d3419278767b4a4b92a984321 100644 (file)
@@ -7,5 +7,6 @@
        </maintainer>
        <use>
                <flag name="mpris">Enable MPRIS support</flag>
+               <flag name="vlc">Use <pkg>media-video/vlc</pkg> for output rather than <pkg>dev-qt/qtmultimedia</pkg></flag>
        </use>
 </pkgmetadata>