summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-09-26 13:46:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-09-26 15:57:52 +0200
commit1dc5cc9e65d909d9dc6f08558d69ba871a38ff55 (patch)
tree05d8676aa623b38992a7dd7d2947d088a1500947 /media-libs/phonon
parentwww-client/opera-beta: Old (diff)
downloadgentoo-1dc5cc9e65d909d9dc6f08558d69ba871a38ff55.tar.gz
gentoo-1dc5cc9e65d909d9dc6f08558d69ba871a38ff55.tar.bz2
gentoo-1dc5cc9e65d909d9dc6f08558d69ba871a38ff55.zip
media-libs/phonon: 4.11.1 version bump
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/phonon')
-rw-r--r--media-libs/phonon/Manifest1
-rw-r--r--media-libs/phonon/phonon-4.11.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest
index fa0b9c10f73e..29dde186e4d0 100644
--- a/media-libs/phonon/Manifest
+++ b/media-libs/phonon/Manifest
@@ -1,2 +1,3 @@
DIST phonon-4.10.2.tar.xz 322176 BLAKE2B a73fa78e732ba56745e0791559a1ab195e9a5d867d368935ebc779cc1705a405dfd8302f6b5d92678098da8b6fdb52ec4cc2d553c361c3fefc738d502e3c38b6 SHA512 205c2f41691ed37a2b24aa5e900f7720ba024d2046ea4bf0a9b9c46235ffd72dfb4010287ccf753b13e395f84c2a202cbb76454806de3519faf52c3ac7001c4e
DIST phonon-4.11.0.tar.xz 397768 BLAKE2B eeadfb8e080d52a29b0cc3d7fe728376a1580b7c008361ec62fb135738c32812401f797d93a8d87e338affdbb4b0ccefc8de0736d5cff15ee85899269a4c0243 SHA512 d7302aa9d0e9d3a8c408cf2787911b49808f58f5052dbca19e9b93b68a6f829dd31ede0ac10de4a9a3cf11e4ab1986e76e0d4cc02142b2f50ffecf285b3eb897
+DIST phonon-4.11.1.tar.xz 314732 BLAKE2B 9be341f8df643b352392a208c7f24d799edcc94146b71c73d93974a7ef02cc75b5baa1e2ddd037e7e2d3afeb52347d96caaa8b3a2319631802261735a3a751df SHA512 858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74
diff --git a/media-libs/phonon/phonon-4.11.1.ebuild b/media-libs/phonon/phonon-4.11.1.ebuild
new file mode 100644
index 000000000000..6edaf832b5a2
--- /dev/null
+++ b/media-libs/phonon/phonon-4.11.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop kde5
+
+DESCRIPTION="KDE multimedia abstraction library"
+HOMEPAGE="https://phonon.kde.org/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+fi
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+SLOT="0"
+IUSE="debug designer gstreamer pulseaudio +vlc"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+DEPEND="
+ !!dev-qt/qtphonon:4
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ designer? ( dev-qt/designer:5 )
+ pulseaudio? (
+ dev-libs/glib:2
+ media-sound/pulseaudio[glib]
+ )
+"
+RDEPEND="${DEPEND}"
+PDEPEND="
+ gstreamer? ( >=media-libs/phonon-gstreamer-4.9.60 )
+ vlc? ( >=media-libs/phonon-vlc-0.9.60 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)
+ -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio)
+ -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio)
+ -DPHONON_BUILD_SETTINGS=$(usex !pulseaudio)
+ )
+ kde5_src_configure
+}
+
+src_install() {
+ kde5_src_install
+ use pulseaudio || \
+ make_desktop_entry "${PN}settings" \
+ "Phonon Audio and Video" preferences-desktop-sound
+}