Skip to content

Commit

Permalink
media-libs/phonon-vlc: version bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
kensington committed Apr 21, 2016
1 parent ad6299b commit 2965751
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/phonon-vlc/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST phonon-backend-vlc-0.7.2.tar.xz 58988 SHA256 0a788360df2e3439efefacae70b73252c1e1d4a7ad08f4d93301d77a915d95a9 SHA512 9a2b45d02ed958f82ff4fb8d3e9233eeb35047670061b59266fa7504855a149de1a401cad34871083e42c8d05620ff0e3df9f1a7a3e1f9b82ddac886c50adfce WHIRLPOOL e8130f8280fb31ccc8ec686eba8af744300100686c179e3abfd124f8892d55038a2a77887cbc3673e36c03b31829a1ec4ae686bee0a1f48048d9631b228aeb73
DIST phonon-backend-vlc-0.8.2.tar.xz 59832 SHA256 dab7f8edf53ee90998e5e3fcf2f6bd0a13750511b0ecde6939be0664d46bdaa3 SHA512 35f0255899e89d4b9e42a440885455367a56559090b490f1397984520c2e63c2044c8b74290d8b438fcfa388a8b06f1647e60cb6d72d4dd907fc3df9ea4c63e3 WHIRLPOOL 31804069c38cc377fbb8acf10690a6699550c1812e7d0ee64c2a03fd7efa73b7b9c24f63b56b7e6fe96f5f261e0adab897e7f4e26e6ea00163c5dd47e9d4c376
DIST phonon-backend-vlc-0.9.0.tar.xz 60044 SHA256 c0ced7ca571acc22211eecf5158241714fa9ccdb82d4fe0a970ad702860ccdbe SHA512 e3482717ee84b5d80f81300ce01410c982b0083cd53db312a622a287f9b3f66fc967bd0832f18e3382c5dd073055394eec42918e68ec456232aa7750b0f50611 WHIRLPOOL b0e9928e9d1d49c33fcad8645d2c38b2cd43561c80832bb373e0766697bc7a8e72231e149cd4408a34dfc2a68ff6f2e0d604c3318700220f5662cde5ef93dcf4
77 changes: 77 additions & 0 deletions media-libs/phonon-vlc/phonon-vlc-0.9.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Copyright 1999-2016 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"
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
}

0 comments on commit 2965751

Please sign in to comment.