aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-28 21:36:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-28 23:52:18 +0100
commit8052643bbddc5d732e24b5ebd1f285bf29b5800f (patch)
tree891f198a45fea3b2bc754091600b3f1765452815 /media-libs
parentmedia-libs/phonon: add 4.12.0 (diff)
downloadkde-8052643bbddc5d732e24b5ebd1f285bf29b5800f.tar.gz
kde-8052643bbddc5d732e24b5ebd1f285bf29b5800f.tar.bz2
kde-8052643bbddc5d732e24b5ebd1f285bf29b5800f.zip
media-libs/phonon-vlc: add 0.12.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/phonon-vlc/Manifest1
-rw-r--r--media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/phonon-vlc/Manifest b/media-libs/phonon-vlc/Manifest
new file mode 100644
index 0000000000..508ce1e313
--- /dev/null
+++ b/media-libs/phonon-vlc/Manifest
@@ -0,0 +1 @@
+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 0000000000..4017e5e068
--- /dev/null
+++ b/media-libs/phonon-vlc/phonon-vlc-0.12.0.ebuild
@@ -0,0 +1,43 @@
+# 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"
+ 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
+}