summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-17 10:46:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-18 00:00:34 +0100
commit90c50acfc8e68fded192b7f68320eaf9bcfca883 (patch)
tree0be5ae6bdcc7f20fc38346ccfe484ae4aaea8ce6 /media-libs/phonon-vlc
parentmedia-libs/phonon: add 4.12.0 (diff)
downloadgentoo-90c50acfc8e68fded192b7f68320eaf9bcfca883.tar.gz
gentoo-90c50acfc8e68fded192b7f68320eaf9bcfca883.tar.bz2
gentoo-90c50acfc8e68fded192b7f68320eaf9bcfca883.zip
media-libs/phonon-vlc: add 0.12.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/phonon-vlc')
-rw-r--r--media-libs/phonon-vlc/Manifest1
-rw-r--r--media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/phonon-vlc/Manifest b/media-libs/phonon-vlc/Manifest
index 17b718da2819..592bbe0d5de8 100644
--- a/media-libs/phonon-vlc/Manifest
+++ b/media-libs/phonon-vlc/Manifest
@@ -1 +1,2 @@
DIST phonon-backend-vlc-0.11.3.tar.xz 67196 BLAKE2B 597ead8300bfcd4dd1a94ee1733e77ea15436eea01924093ba6655d08de7b2334cd39c10e61655adcbf12e5ca1afb239c0ee0bd05fefe2e294cc1cb1ef5c7799 SHA512 11593d15874734d92922bcfd8e038a2a4f528d9145d525d6654aad7bb9d7edb911f31f564d83217341dff3be973c8cf00d91f03b66a90305f4f7ed97c2d57033
+DIST phonon-backend-vlc-0.12.0.tar.xz 71664 BLAKE2B 9ace1020d8e9a9e97243706ff81703d3f22bf892f402e44451147a24547d09bcf12f5745377c01d65b4d1fb03cd975b323b2cab62f8136880d1d9c004cca7d7b SHA512 78f5ead829d5025c7cb9e01b33819514d795651d1d932c03bd8cc2ad5d427e5aaaeeb6016820d5a7bb9907f6df1142a0fbc097830d7c63b01f77d2167a0c9264
diff --git a/media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild b/media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild
new file mode 100644
index 000000000000..62401f9834d8
--- /dev/null
+++ b/media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit ecm kde.org
+
+DESCRIPTION="VLC backend for the Phonon multimedia library"
+HOMEPAGE="https://community.kde.org/Phonon"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/phonon/phonon-backend-vlc/${PV}/phonon-backend-vlc-${PV}.tar.xz"
+ S="${WORKDIR}"/phonon-backend-vlc-${PV}
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )"
+SLOT="0"
+IUSE="+qt5 qt6"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND="
+ >=media-libs/phonon-4.12.0[qt5=,qt6=]
+ media-video/vlc:=[dbus,ogg,vorbis(+)]
+ qt5? (
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+ qt6? ( dev-qt/qtbase:6[gui,widgets] )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ qt5? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPHONON_BUILD_QT5=$(usex qt5)
+ -DPHONON_BUILD_QT6=$(usex qt6)
+ )
+ ecm_src_configure
+}