diff options
Diffstat (limited to 'media-libs/phonon')
-rw-r--r-- | media-libs/phonon/Manifest | 1 | ||||
-rw-r--r-- | media-libs/phonon/files/phonon-4.7.0-plugin-install.patch | 13 | ||||
-rw-r--r-- | media-libs/phonon/phonon-4.9.1-r1.ebuild | 126 |
3 files changed, 0 insertions, 140 deletions
diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest index 1f0dd513..62fbcb7e 100644 --- a/media-libs/phonon/Manifest +++ b/media-libs/phonon/Manifest @@ -1,2 +1 @@ DIST phonon-4.10.2.tar.xz 322176 BLAKE2B a73fa78e732ba56745e0791559a1ab195e9a5d867d368935ebc779cc1705a405dfd8302f6b5d92678098da8b6fdb52ec4cc2d553c361c3fefc738d502e3c38b6 SHA512 205c2f41691ed37a2b24aa5e900f7720ba024d2046ea4bf0a9b9c46235ffd72dfb4010287ccf753b13e395f84c2a202cbb76454806de3519faf52c3ac7001c4e -DIST phonon-4.9.1.tar.xz 321872 BLAKE2B a315189f578ad71e241ebfbea1bc6c81f06cf041b2eb2914d66f82f35c69c3811d16dbf4303551aafdd1a63d6ff6da619b06a6f03274a9867393f6d032348673 SHA512 a1741765071a625d9b9073d9ad1571b91cf5bfce2223bd1b034828d02dc52624587a6ec5352f3702df79f6e4201007596843fbcb9f15c9b489a858200787d728 diff --git a/media-libs/phonon/files/phonon-4.7.0-plugin-install.patch b/media-libs/phonon/files/phonon-4.7.0-plugin-install.patch deleted file mode 100644 index 5f478cac..00000000 --- a/media-libs/phonon/files/phonon-4.7.0-plugin-install.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/cmake/FindPhononInternal.cmake b/cmake/FindPhononInternal.cmake -index 3245e9b..3427c62 100644 ---- a/cmake/FindPhononInternal.cmake -+++ b/cmake/FindPhononInternal.cmake -@@ -178,7 +178,7 @@ if (PHONON_BUILD_PHONON4QT5) - endif (PHONON_BUILD_PHONON4QT5) - set(BIN_INSTALL_DIR "bin" ) # CACHE PATH "The install dir for executables (default ${EXEC_INSTALL_PREFIX}/bin)") - set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" ) # CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed" --set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/kde4)") -+set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/qt4" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/qt4)") - if (PHONON_BUILD_PHONON4QT5) - set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/qt5" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/qt5)" FORCE) - endif(PHONON_BUILD_PHONON4QT5) diff --git a/media-libs/phonon/phonon-4.9.1-r1.ebuild b/media-libs/phonon/phonon-4.9.1-r1.ebuild deleted file mode 100644 index 08cd6522..00000000 --- a/media-libs/phonon/phonon-4.9.1-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib qmake-utils - -DESCRIPTION="KDE multimedia API" -HOMEPAGE="https://community.kde.org/Phonon" -SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz" - -LICENSE="|| ( LGPL-2.1 LGPL-3 )" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug designer gstreamer pulseaudio qt4 +qt5 +vlc" - -REQUIRED_USE="|| ( qt4 qt5 )" - -RDEPEND=" - !!dev-qt/qtphonon:4 - 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}] ) - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - designer? ( dev-qt/designer:5 ) - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - qt5? ( kde-frameworks/extra-cmake-modules:5 ) -" -PDEPEND=" - gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt4(-)?,qt5(+)?] ) - vlc? ( >=media-libs/phonon-vlc-0.9.0[qt4(-)?,qt5(+)?] ) -" - -PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" ) - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) -} - -multilib_src_configure() { - local mycmakeargs=( - -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) - -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE - -DWITH_GLIB2=$(usex pulseaudio) - -DWITH_PulseAudio=$(usex pulseaudio) - -DQT_QMAKE_EXECUTABLE="$(${QT_MULTIBUILD_VARIANT}_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 -} |