summaryrefslogtreecommitdiff
path: root/media-libs/phonon
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/phonon')
-rw-r--r--media-libs/phonon/Manifest4
-rw-r--r--media-libs/phonon/phonon-4.10.0.ebuild55
-rw-r--r--media-libs/phonon/phonon-9999.ebuild101
3 files changed, 72 insertions, 88 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest
index 75904e64086d..3dba1f8632b9 100644
--- a/media-libs/phonon/Manifest
+++ b/media-libs/phonon/Manifest
@@ -1,5 +1,7 @@
AUX phonon-4.7.0-plugin-install.patch 1252 BLAKE2B b9c0022007babf5f56d7f651e18bce5ef3c7b36a5bb6d2d042fd14639433faadd6a99f0f276751fc4849ab2845f265481d4c307a1d16af029f3c11c6b6104f7b SHA512 62b6cffa985057722c5d2dbe07bd1124f9fcb6e1b861fe76fafd46ec980702655d55b37a29006e79c8e28e5a4df82dafa1a308dca8a6abd3402889777a93d8f2
+DIST phonon-4.10.0.tar.xz 322072 BLAKE2B ba49893368fc13946e2e83a498787bf8fe605b2b3d8e2b1c28eacad5ec13d9679b8c9ddd2adc54c340bbc60a01c7c1143ccaca6f26b86be105cb7502de5f39fc SHA512 6074c7c33edcdfeed8a6199024f1faedebe09652cf5d01075f2d97146b54c4269924b69ca8298e2341c0cf6ca4d18f930a59a937697f6f282b6de8e976d097c4
DIST phonon-4.9.1.tar.xz 321872 BLAKE2B a315189f578ad71e241ebfbea1bc6c81f06cf041b2eb2914d66f82f35c69c3811d16dbf4303551aafdd1a63d6ff6da619b06a6f03274a9867393f6d032348673 SHA512 a1741765071a625d9b9073d9ad1571b91cf5bfce2223bd1b034828d02dc52624587a6ec5352f3702df79f6e4201007596843fbcb9f15c9b489a858200787d728
+EBUILD phonon-4.10.0.ebuild 1306 BLAKE2B 0c124727d6c0052966c90042246023d3927ddd7a076b79c8e0f56e43e1c2727863ded2c0aedc2f6524b14e446365f04965e3ae1d579477726b50600a29f5101f SHA512 916fca63f9ddd17f207b1349507bd408c462551d14380a3428c783177eb2a68012bffb697882b52339442b39b253280af39808ee8e8bba9278d2e9fbade6aca4
EBUILD phonon-4.9.1-r1.ebuild 3088 BLAKE2B 0d162cfad037d952af2b935999fb0634073103e727a7426101cb2cffb03b8bed18461687ec767e81a6a1d9728ff6cbd02793e8d60940b0ea56b2b7deca17118b SHA512 22ab58d17069ebbe15f0f7bce13026c4fd0accd32db2fdd6d158da489ac0399407c840b01195b22b2e5fa454443b9f71ff94f4cc24f31f0ef55eb87563c1d7ec
-EBUILD phonon-9999.ebuild 3029 BLAKE2B 48448ed0f51ec28d817a080226e4ac606742228741dfa262044ad3141683a3ed26476eaea81cab3acfcc5ddc551411c2b65e241b9e536ef41ea3aa36f972938e SHA512 eac3b28188b2be8c8f2ed0b0bc01684bd40e729eaf0e05a1b840c3bd489a0ef479c95c14e8529be9bc5e9d7c2b7bf40ea7a221df4348c39591ab423906b3493d
+EBUILD phonon-9999.ebuild 1306 BLAKE2B 0c124727d6c0052966c90042246023d3927ddd7a076b79c8e0f56e43e1c2727863ded2c0aedc2f6524b14e446365f04965e3ae1d579477726b50600a29f5101f SHA512 916fca63f9ddd17f207b1349507bd408c462551d14380a3428c783177eb2a68012bffb697882b52339442b39b253280af39808ee8e8bba9278d2e9fbade6aca4
MISC metadata.xml 394 BLAKE2B e551fa12fcce92bd237d1cdb3fcbd496768e012004ace1e08a89f1e0e5f5c997d5b9d1488afce03925337d28a9c431994ce23244ffcb46f7138cde951dc26662 SHA512 963308198d2057bc2869eb21b644c59211f3c4bb04a46de3cca04dc85cdcf67b113555870149b971c8c43a0c64fb88cd141ccf20740f6428d1573485844574a6
diff --git a/media-libs/phonon/phonon-4.10.0.ebuild b/media-libs/phonon/phonon-4.10.0.ebuild
new file mode 100644
index 000000000000..537dd677f726
--- /dev/null
+++ b/media-libs/phonon/phonon-4.10.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+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}
+ 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
+}
diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild
index b16a70f4b3c9..537dd677f726 100644
--- a/media-libs/phonon/phonon-9999.ebuild
+++ b/media-libs/phonon/phonon-9999.ebuild
@@ -1,24 +1,24 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
if [[ ${PV} != *9999* ]]; then
SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
else
EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
inherit git-r3
fi
-inherit cmake-multilib multibuild qmake-utils
+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 qt4 +vlc"
+IUSE="debug designer gstreamer pulseaudio +vlc"
RDEPEND="
!!dev-qt/qtphonon:4
@@ -28,101 +28,28 @@ RDEPEND="
dev-qt/qtwidgets:5
designer? ( dev-qt/designer:5 )
pulseaudio? (
- dev-libs/glib:2[${MULTILIB_USEDEP}]
- >=media-sound/pulseaudio-0.9.21[glib,${MULTILIB_USEDEP}]
- )
- qt4? (
- >=dev-qt/qtcore-4.8.7-r2:4[${MULTILIB_USEDEP}]
- >=dev-qt/qtdbus-4.8.7:4[${MULTILIB_USEDEP}]
- >=dev-qt/qtgui-4.8.7:4[${MULTILIB_USEDEP}]
- designer? ( >=dev-qt/designer-4.8.7:4[${MULTILIB_USEDEP}] )
+ dev-libs/glib:2
+ >=media-sound/pulseaudio-0.9.21[glib]
)
"
DEPEND="${RDEPEND}
- virtual/pkgconfig[${MULTILIB_USEDEP}]
kde-frameworks/extra-cmake-modules:5
+ virtual/pkgconfig
"
PDEPEND="
- gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt4?,qt5(+)] )
- vlc? ( >=media-libs/phonon-vlc-0.9.0[qt4?,qt5(+)] )
+ gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt5(+)] )
+ vlc? ( >=media-libs/phonon-vlc-0.9.0[qt5(+)] )
"
-PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" )
-
-pkg_setup() {
- MULTIBUILD_VARIANTS=( $(usev qt4) qt5 )
-}
-
-multilib_src_configure() {
+src_configure() {
local mycmakeargs=(
- -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)
+ -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="$(${QT_MULTIBUILD_VARIANT}_get_bindir)"/qmake
+ -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)"/qmake
)
-
- if [[ ${QT_MULTIBUILD_VARIANT} = qt4 ]]; then
- mycmakeargs+=(
- -DPHONON_BUILD_PHONON4QT5=OFF
- -DWITH_QZeitgeist=OFF
- )
- fi
- if [[ ${QT_MULTIBUILD_VARIANT} = qt5 ]]; then
- mycmakeargs+=(
- -DPHONON_BUILD_PHONON4QT5=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Declarative=ON
- )
- fi
-
cmake-utils_src_configure
}
-
-src_configure() {
- myconfigure() {
- local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT}
- if [[ ${QT_MULTIBUILD_VARIANT} = qt4 ]]; then
- cmake-multilib_src_configure
- elif [[ ${QT_MULTIBUILD_VARIANT} = qt5 ]]; then
- multilib_src_configure
- fi
- }
-
- multibuild_foreach_variant myconfigure
-}
-
-src_compile() {
- mycompile() {
- if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
- cmake-multilib_src_compile
- elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
- cmake-utils_src_compile
- fi
- }
-
- multibuild_foreach_variant mycompile
-}
-
-src_test() {
- mytest() {
- if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
- cmake-multilib_src_test
- elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
- cmake-utils_src_test
- fi
- }
-
- multibuild_foreach_variant mytest
-}
-
-src_install() {
- myinstall() {
- if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
- cmake-multilib_src_install
- elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
- cmake-utils_src_install
- fi
- }
-
- multibuild_foreach_variant myinstall
-}