~alpine/aports

testing/discover: new aport v1 PROPOSED

Bart Ribbers: 1
 testing/discover: new aport

 1 files changed, 36 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2951/mbox | git am -3
Learn more about email & git

[PATCH] testing/discover: new aport Export this patch

Can't be used to upgrade the system with apk due to a lack of packagekit, but can be used to update flatpak packages and fwupd
---
 testing/discover/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/discover/APKBUILD

diff --git a/testing/discover/APKBUILD b/testing/discover/APKBUILD
new file mode 100644
index 0000000000..398393cae7
--- /dev/null
+++ b/testing/discover/APKBUILD
@@ -0,0 +1,36 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=discover
pkgver=5.16.4
pkgrel=0
arch="all"
url="https://userbase.kde.org/Discover"
pkgdesc="KDE Plasma resources management GUI"
license="LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kconfig-dev kcrash-dev kdbusaddons-dev ki18n-dev karchive-dev kxmlgui-dev kitemmodels-dev kio-dev kdeclarative-dev attica-dev knewstuff-dev plasma-framework-dev appstream-dev flatpak-dev"
if [ "$CARCH" = x86 || "$CARCH" = x86_64 ]; then
	makedepends="$makedepends fwupd-dev"
fi
checkdepends="xvfb-run"
source="https://download.kde.org/stable/plasma/$pkgver/discover-$pkgver.tar.xz"
subpackages="$pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	# knsbackendtest and flatpaktest fail to find their required executables
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(knsbackend|flatpak)test"
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="7fe80436f7998d7ae54143377b11dc909c1e14346dea55e7c6a5649331102812dcd69f3eb600a06ab28b83ac6827300a4fc3cbc0afc83187e418c6eef44a0262  discover-5.16.4.tar.xz"
-- 
2.23.0