From ff9f4cca190e536fb7fdf103a84c604deda0b02b Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Thu, 23 Feb 2017 19:04:55 +0100 Subject: [PATCH] media-libs/phonon-vlc: Version bump 0.9.1 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- media-libs/phonon-vlc/Manifest | 1 + media-libs/phonon-vlc/phonon-vlc-0.9.1.ebuild | 78 +++++++++++++++++++ media-libs/phonon-vlc/phonon-vlc-9999.ebuild | 3 +- 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 media-libs/phonon-vlc/phonon-vlc-0.9.1.ebuild diff --git a/media-libs/phonon-vlc/Manifest b/media-libs/phonon-vlc/Manifest index ed986c5ebbf8..617e94fed467 100644 --- a/media-libs/phonon-vlc/Manifest +++ b/media-libs/phonon-vlc/Manifest @@ -1 +1,2 @@ DIST phonon-backend-vlc-0.9.0.tar.xz 60044 SHA256 c0ced7ca571acc22211eecf5158241714fa9ccdb82d4fe0a970ad702860ccdbe SHA512 e3482717ee84b5d80f81300ce01410c982b0083cd53db312a622a287f9b3f66fc967bd0832f18e3382c5dd073055394eec42918e68ec456232aa7750b0f50611 WHIRLPOOL b0e9928e9d1d49c33fcad8645d2c38b2cd43561c80832bb373e0766697bc7a8e72231e149cd4408a34dfc2a68ff6f2e0d604c3318700220f5662cde5ef93dcf4 +DIST phonon-backend-vlc-0.9.1.tar.xz 59972 SHA256 e698729ba8487299105309623722344f2cd84c46482516d51cd6609fac297313 SHA512 104a29159541002d4064486b54d02183c32cf87931c205badf44333d9481b0c0e70e6eae7f9d3c558bef977de37f76cc203dc5c15120f4146d64d451992947aa WHIRLPOOL 579198596b495b4a4dfed2fe163214c04164ea8f665521a88102c21cb6b68ca74732f58546e6a623285996f77d2255f918fc04a5f9d4cc69c55a6423a14fd3fc diff --git a/media-libs/phonon-vlc/phonon-vlc-0.9.1.ebuild b/media-libs/phonon-vlc/phonon-vlc-0.9.1.ebuild new file mode 100644 index 000000000000..62fc8675bca8 --- /dev/null +++ b/media-libs/phonon-vlc/phonon-vlc-0.9.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="phonon-backend-vlc" +MY_P="${MY_PN}-${PV}" + +if [[ ${PV} != *9999* ]]; then + SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd" + S="${WORKDIR}/${MY_P}" +else + EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" ) + inherit git-r3 +fi + +inherit cmake-utils multibuild + +DESCRIPTION="Phonon VLC backend" +HOMEPAGE="https://phonon.kde.org/" + +LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" +SLOT="0" +IUSE="debug +qt4 qt5" + +REQUIRED_USE="|| ( qt4 qt5 )" + +RDEPEND=" + >=media-libs/phonon-4.9.0[qt4=,qt5=] + >=media-video/vlc-2.0.1:=[dbus,ogg,vorbis] + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS ) + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=() + if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then + mycmakeargs+=( -DPHONON_BUILD_PHONON4QT5=OFF ) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=( -DPHONON_BUILD_PHONON4QT5=ON ) + fi + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + multibuild_foreach_variant cmake-utils_src_test +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} diff --git a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild index 3344bdab20ef..62fc8675bca8 100644 --- a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild +++ b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -10,6 +10,7 @@ MY_P="${MY_PN}-${PV}" if [[ ${PV} != *9999* ]]; then SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd" + S="${WORKDIR}/${MY_P}" else EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" ) inherit git-r3 -- 2.26.2