summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-20 08:45:46 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-20 09:42:54 +0200
commit231d2d66d43faf01a0e98b611873e05c88835041 (patch)
tree18abced51d8f643235dcb5219eca7b9777d6a7f4
parentmedia-libs/phonon-gstreamer: 4.9.1 version bump (diff)
downloadgentoo-231d2d66d43faf01a0e98b611873e05c88835041.tar.gz
gentoo-231d2d66d43faf01a0e98b611873e05c88835041.tar.bz2
gentoo-231d2d66d43faf01a0e98b611873e05c88835041.zip
media-libs/phonon: 4.10.3 version bump
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-libs/phonon/Manifest1
-rw-r--r--media-libs/phonon/phonon-4.10.3.ebuild57
-rw-r--r--media-libs/phonon/phonon-9999.ebuild15
3 files changed, 66 insertions, 7 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest
index 62fbcb7e1da..f62be2d2c3e 100644
--- a/media-libs/phonon/Manifest
+++ b/media-libs/phonon/Manifest
@@ -1 +1,2 @@
DIST phonon-4.10.2.tar.xz 322176 BLAKE2B a73fa78e732ba56745e0791559a1ab195e9a5d867d368935ebc779cc1705a405dfd8302f6b5d92678098da8b6fdb52ec4cc2d553c361c3fefc738d502e3c38b6 SHA512 205c2f41691ed37a2b24aa5e900f7720ba024d2046ea4bf0a9b9c46235ffd72dfb4010287ccf753b13e395f84c2a202cbb76454806de3519faf52c3ac7001c4e
+DIST phonon-4.10.3.tar.xz 336724 BLAKE2B 33ac87fa15985bb57672da0e29389a396e8f5662ca94d475eaa111a5a1fef16f9fc90cdee696b80d131fc53abd9500fbb7907ecb483d81e422e339660e19900d SHA512 2619ac0d7873205a2773bdb226695b5a9e2deb4f47b1a0bb9dbf9a905e3f82f7834ced1b4b1e7a6dadf50fca289f92a5749e3057546c3e16a41e1d6420b594c6
diff --git a/media-libs/phonon/phonon-4.10.3.ebuild b/media-libs/phonon/phonon-4.10.3.ebuild
new file mode 100644
index 00000000000..18d770debdb
--- /dev/null
+++ b/media-libs/phonon/phonon-4.10.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+else
+ EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
+ inherit git-r3
+fi
+
+inherit cmake-utils qmake-utils
+
+DESCRIPTION="KDE multimedia API"
+HOMEPAGE="https://phonon.kde.org/"
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+SLOT="0"
+IUSE="debug designer gstreamer pulseaudio +vlc"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ kde-frameworks/extra-cmake-modules:5
+ virtual/pkgconfig
+"
+DEPEND="
+ !!dev-qt/qtphonon:4
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ designer? ( dev-qt/designer:5 )
+ pulseaudio? (
+ dev-libs/glib:2
+ >=media-sound/pulseaudio-0.9.21[glib]
+ )
+"
+RDEPEND="${DEPEND}"
+PDEPEND="
+ gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt5(+)] )
+ vlc? ( >=media-libs/phonon-vlc-0.9.0[qt5(+)] )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPHONON_BUILD_PHONON4QT5=ON
+ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE
+ -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Declarative=ON
+ -DWITH_GLIB2=$(usex pulseaudio)
+ -DWITH_PulseAudio=$(usex pulseaudio)
+ -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)"/qmake
+ )
+ cmake-utils_src_configure
+}
diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild
index abf73992ab1..18d770debdb 100644
--- a/media-libs/phonon/phonon-9999.ebuild
+++ b/media-libs/phonon/phonon-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,7 +20,12 @@ LICENSE="|| ( LGPL-2.1 LGPL-3 )"
SLOT="0"
IUSE="debug designer gstreamer pulseaudio +vlc"
-RDEPEND="
+BDEPEND="
+ dev-qt/linguist-tools:5
+ kde-frameworks/extra-cmake-modules:5
+ virtual/pkgconfig
+"
+DEPEND="
!!dev-qt/qtphonon:4
dev-qt/qtcore:5
dev-qt/qtdbus:5
@@ -32,11 +37,7 @@ RDEPEND="
>=media-sound/pulseaudio-0.9.21[glib]
)
"
-DEPEND="${RDEPEND}"
-BDEPEND="
- kde-frameworks/extra-cmake-modules:5
- virtual/pkgconfig
-"
+RDEPEND="${DEPEND}"
PDEPEND="
gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt5(+)] )
vlc? ( >=media-libs/phonon-vlc-0.9.0[qt5(+)] )