Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 56E02781A81 for ; Sun, 1 Sep 2019 13:15:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1E09524E32 for ; Sun, 1 Sep 2019 15:15:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZPgYgkCl0SNq; Sun, 1 Sep 2019 15:15:10 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567343710; bh=zKi+mF1tGPBa3tIWfffd7J35yOpm139uZt4hiQ78ebY=; h=From:To:Cc:Subject:Date; b=lxWV8fYlyVqsXbuh/3LFn4EL7yTBoPYQzBwUcDOULukMSzafhtleXPh5xNIpCtUws BOLHuFkdpwjOVBDTFux0wsTg0lKiAYm7WAjeFrnN2NYLnAOLFp16eOgtaqsF8t+IBJ VcRJV/Eu01SvnE8n4pV4SswenqBTG3mfXws3RnKj+7MAlLgIUT5ksC0DHUavmkXfW3 PsbO0RUAcJ3bKq8ULjNubjCpPPCGMDAbt+0iJOpHkcD1Uz28gU0nqxJoxFYCVSG+LR JDa2NMsJPsflSspdjb/cXeaVzlWI1fITbeMMYfQYcqeY+c6Z7Prj1NPik18sj/gVyx kSmREJl1YRGfA== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH v2] testing/discover: new aport Date: Sun, 1 Sep 2019 15:15:08 +0200 Message-Id: <20190901131508.17470-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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..6be95d3dfb --- /dev/null +++ b/testing/discover/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +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