Subject: [PATCH] testing/kde-applications: new aport

From: Bart Ribbers <[email-masked]>
Date: Fri, 12 Jul 2019 20:18:09 +0200

The webdev and games meta packages currently have no depends. However I'm going to package more KDE Applications which will eventually be added here. People installing these meta packages will then automatically pull in these new applications.
---
 testing/kde-applications/APKBUILD | 134 ++++++++++++++++++++++++++++++
 1 file changed, 134 insertions(+)
 create mode 100644 testing/kde-applications/APKBUILD

diff --git a/testing/kde-applications/APKBUILD b/testing/kde-applications/APKBUILD
new file mode 100644
index 0000000000..7c75142d2f
--- /dev/null
+++ b/testing/kde-applications/APKBUILD
@@ -0,0 +1,134 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kde-applications
+pkgver=19.04.3
+pkgrel=0
+arch="noarch !ppc64le !s390x" # Limited by edu, network and pim
+url="https://kde.org/applications/"
+pkgdesc="KDE Applications meta package"
+license="GPL-3.0-or-later"
+subpackages="$pkgname-accessibility::noarch $pkgname-admin::noarch $pkgname-base::noarch $pkgname-edu $pkgname-games::noarch $pkgname-graphics::noarch $pkgname-multimedia::noarch $pkgname-network $pkgname-pim $pkgname-sdk::noarch $pkgname-utils::noarch $pkgname-webdev::noarch"
+depends="$pkgname-accessibility $pkgname-admin $pkgname-base $pkgname-edu $pkgname-games $pkgname-graphics $pkgname-multimedia $pkgname-network $pkgname-pim $pkgname-utils $pkgname-webdev"
+options="!check" # Meta package
+
+package() {
+	mkdir -p "$pkgdir"
+}
+
+accessibility() {
+	depends="
+		kmag
+		kmousetool
+		kmouth"
+
+	mkdir -p "$subpkgdir"
+}
+
+admin() {
+	depends="
+		kcron"
+
+	mkdir -p "$subpkgdir"
+}
+
+base() {
+	depends="
+		dolphin
+		kdialog
+		kfind
+		keditbookmarks
+		konsole
+		kate
+		kwrite"
+
+	mkdir -p "$subpkgdir"
+}
+
+edu() {
+	depends="
+		marble"
+
+	mkdir -p "$subpkgdir"
+}
+
+games() {
+	depends=""
+
+	mkdir -p "$subpkgdir"
+}
+
+graphics() {
+	depends="
+		gwenview
+		kcolorchooser
+		kolourpaint
+		kruler
+		okular
+		spectacle"
+
+	mkdir -p "$subpkgdir"
+}
+
+multimedia() {
+	depends="
+		audiocd-kio
+		dragon
+		ffmpegthumbs
+		kdenlive
+		kmix
+		kwave"
+
+	mkdir -p "$subpkgdir"
+}
+
+network() {
+	depends="
+		kget
+		krfb
+		zeroconf-ioslave
+		kio-extras"
+
+	mkdir -p "$subpkgdir"
+}
+
+pim() {
+	depends="
+		akregator
+		akonadi-calendar-tools
+		kalarm
+		kleopatra
+		kmail
+		knotes
+		kontact
+		korganizer
+		kdepim-addons
+		grantlee-editor"
+	
+	mkdir -p "$subpkgdir"
+}
+
+sdk() {
+	depends="
+		dolphin-plugins
+		kirigami-gallery"
+
+	mkdir -p "$subpkgdir"
+}
+
+utils() {
+	depends="
+		ark
+		filelight
+		kwalletmanager
+		print-manager
+		sweeper"
+
+	mkdir -p "$subpkgdir"
+}
+
+webdev() {
+	depends=""
+
+	mkdir -p "$subpkgdir"
+}
+
-- 
2.22.0