summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-25 19:51:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-25 19:53:42 +0200
commit642330a5812b07c7a4399ab2127ffdcbbd20ad03 (patch)
tree841da64cccc48154a03398d27d23b2a71d82338d /media-sound
parentkde-misc/kweather: add 23.04.0 (diff)
downloadgentoo-642330a5812b07c7a4399ab2127ffdcbbd20ad03.tar.gz
gentoo-642330a5812b07c7a4399ab2127ffdcbbd20ad03.tar.bz2
gentoo-642330a5812b07c7a4399ab2127ffdcbbd20ad03.zip
media-sound/kasts: new package, add 23.04.0
Closes: https://bugs.gentoo.org/899070 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/kasts/Manifest1
-rw-r--r--media-sound/kasts/kasts-23.04.0.ebuild64
-rw-r--r--media-sound/kasts/metadata.xml15
3 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/kasts/Manifest b/media-sound/kasts/Manifest
new file mode 100644
index 000000000000..7a977b6f7d28
--- /dev/null
+++ b/media-sound/kasts/Manifest
@@ -0,0 +1 @@
+DIST kasts-23.04.0.tar.xz 542672 BLAKE2B a627d98fa9e145965e4c0b639ca087e2e32ac63b3317041c4c6e23ce089fe44a41cfc89a783322d55b113ed373e8d9942c557a0e17ac5b8626f8a8ced908a1f6 SHA512 dc89cda5084591c03c3e1ca02d0765769e605d1bc6068bd91af5c786ee8e3a339bba8ffb604b5ab55a93d17a06d3a4196d741f97251aef574911017e1ce2b80d
diff --git a/media-sound/kasts/kasts-23.04.0.ebuild b/media-sound/kasts/kasts-23.04.0.ebuild
new file mode 100644
index 000000000000..f6cfd3f03f98
--- /dev/null
+++ b/media-sound/kasts/kasts-23.04.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.104.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="Convergent podcast application for desktop and mobile"
+HOMEPAGE="https://apps.kde.org/kasts/"
+
+LICENSE="GPL-2 GPL-2+ GPL-3+ BSD LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gstreamer networkmanager vlc"
+
+DEPEND="
+ >=dev-libs/kirigami-addons-0.7.2:5
+ dev-libs/qtkeychain:=[qt5(+)]
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtmultimedia-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/syndication-${KFMIN}:5
+ >=kde-frameworks/threadweaver-${KFMIN}:5
+ media-libs/taglib
+ gstreamer? (
+ dev-libs/glib:2
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-good:1.0
+ )
+ networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 )
+ vlc? ( media-video/vlc:= )
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+"
+BDEPEND="gstreamer? ( virtual/pkgconfig )"
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_qt_module Test
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLE_PLAYER=OFF
+ -DBUILD_GSTREAMER_BACKEND=$(usex gstreamer)
+ $(cmake_use_find_package networkmanager NetworkManagerQt)
+ $(cmake_use_find_package vlc NetworkManagerQt)
+ )
+ ecm_src_configure
+}
diff --git a/media-sound/kasts/metadata.xml b/media-sound/kasts/metadata.xml
new file mode 100644
index 000000000000..0d868180f4be
--- /dev/null
+++ b/media-sound/kasts/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ <remote-id type="kde-invent">multimedia/kasts</remote-id>
+ </upstream>
+ <use>
+ <flag name="vlc">Enable <pkg>media-video/vlc</pkg> backend</flag>
+ </use>
+</pkgmetadata>