Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 57141781A42 for ; Sun, 1 Sep 2019 12:37:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B910B24E35 for ; Sun, 1 Sep 2019 14:29:55 +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 E01EhQpQ1vcV; Sun, 1 Sep 2019 14:29:54 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567340994; bh=Iy5IpU+CUCAVDVC6Ac8GVL9N8xMc29XcsK/TMLjvJ+k=; h=From:To:Cc:Subject:Date; b=PypaxPVzMkiGewRfPe33sUfwCh/yBu8cAIeB0pEktjnXCTuMRMFHg+G7yru2BXIsc sw90OerM+cbpAAAhx0NVACXjXmCmCSLzFXb3b8QWzO9EHG8XVM/DIrg89j5JxXoRnw UIP5IiBTP4v9h0++7qFc1N7U05VuZmfG/BTJMb5/VYPxYgOKkl9iDTLgYzukaOMYNJ Dve+xf8wq/W38YNHPcXI+XeY+KmIqZPBMTNAMjjhZoo/kWKlY5OXJJqQ3uJwuYGdwx 6z/b89+JF15+Fpki41hZf5Q+LEZWIbIvD7B8pYbm6DuHJwVOdR1t1Y/vFz745jxakc 3tTWDQgtjl9yA== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/discover: new aport Date: Sun, 1 Sep 2019 14:29:52 +0200 Message-Id: <20190901122952.6099-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..398393cae7 --- /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