summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-09 19:38:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-09 19:38:31 +0100
commit0da4135ebaace99caa2cdd1524f54f6694b8ad46 (patch)
tree66fb256e51a20a1322b5a07ed991fad7e4b3206d /media-libs/phonon
parentsys-kernel/git-sources: Removal of 4.20-rcX patchset (diff)
downloadgentoo-0da4135ebaace99caa2cdd1524f54f6694b8ad46.tar.gz
gentoo-0da4135ebaace99caa2cdd1524f54f6694b8ad46.tar.bz2
gentoo-0da4135ebaace99caa2cdd1524f54f6694b8ad46.zip
media-libs/phonon: 4.10.2 version bump
Package-Manager: Portage-2.3.54, Repoman-2.3.12 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.10.2.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest
index ebea9733b406..338c28161b9f 100644
--- a/media-libs/phonon/Manifest
+++ b/media-libs/phonon/Manifest
@@ -1 +1,2 @@
DIST phonon-4.10.1.tar.xz 322100 BLAKE2B 0040bcc82e68a52cb8056c29b5008daddfd8b985f95113e17f1c18d1b5bf1f81222a34ae45b2ee5bd3bc0f104614551638642a85e1770fc218cbe7e2209b5a0e SHA512 a1cc0960c587d09a2fb0f43ae82147df133c34cba7bf01f5720b4b27aca4dda1d83444e89e40fb2f25828d152f89ccfff56d2d4649007c57b7df9eca8c64c007
+DIST phonon-4.10.2.tar.xz 322176 BLAKE2B a73fa78e732ba56745e0791559a1ab195e9a5d867d368935ebc779cc1705a405dfd8302f6b5d92678098da8b6fdb52ec4cc2d553c361c3fefc738d502e3c38b6 SHA512 205c2f41691ed37a2b24aa5e900f7720ba024d2046ea4bf0a9b9c46235ffd72dfb4010287ccf753b13e395f84c2a202cbb76454806de3519faf52c3ac7001c4e
diff --git a/media-libs/phonon/phonon-4.10.2.ebuild b/media-libs/phonon/phonon-4.10.2.ebuild
new file mode 100644
index 000000000000..264801e2557e
--- /dev/null
+++ b/media-libs/phonon/phonon-4.10.2.ebuild
@@ -0,0 +1,56 @@
+# 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"
+
+RDEPEND="
+ !!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]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ kde-frameworks/extra-cmake-modules:5
+ virtual/pkgconfig
+"
+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
+}