Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 12749782B68 for <~alpine/aports@lists.alpinelinux.org>; Tue, 3 Sep 2019 14:13:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BD7BF25314 for <~alpine/aports@lists.alpinelinux.org>; Tue, 3 Sep 2019 16:13:53 +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 b7s6Fyr0UDGh; Tue, 3 Sep 2019 16:13:51 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567520031; bh=PpMPg+eX8wrA1nOxXAC7+wxp3iqLNSxZ7x7eORwObpc=; h=From:To:Cc:Subject:Date; b=GWkB2IBCe8dnKwmVRo9AAiKRzdZkTyAkkhluqPDbkdVYD27irKaPK8JbUTmLzhpcf 3eUFayPl5n0pqas2G+ZDPQ5Ejl/cgMC3lM/ErtL/q8O6sZrChW6oDohU/hAwauHudb WeEgQeQT7QDGxs/xWdwmE10ID79OdRlF1g8CuH9Rf89lvM+8LMdKjj4LYazJZAQqdN xYAEo4VJVfM1PF9mqjEgDe+DJ2FgygqXgy4y15cTuOPyRkZWYarP84OvS/oXxidaCk H9KtBB/+apyDmcziSIAfEJsWOu+70QONnL2pqh4nT+IqNGbkoIHVWvJIwfe/BXPVSj Yk1XAZX7tDamw== To: ~alpine/aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/rocs: new aport Date: Tue, 3 Sep 2019 16:13:22 +0200 Message-Id: <20190903141322.14526-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/rocs/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/rocs/APKBUILD diff --git a/testing/rocs/APKBUILD b/testing/rocs/APKBUILD new file mode 100644 index 0000000000..062d76c056 --- /dev/null +++ b/testing/rocs/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=rocs +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/education/org.kde.rocs" +pkgdesc="Graph Theory IDE" +license="GPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebkit-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev karchive-dev kconfig-dev kcoreaddons-dev kcrash-dev kdeclarative-dev ki18n-dev kitemviews-dev ktexteditor-dev kxmlgui-dev kdoctools-dev boost-dev grantlee-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/rocs-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + # TestTgfFileFormat, TestRocs1FileFormat, TestRocs2FileFormat, and + # graphtheory-test_graphoperations are broken + # TestProject requires OpenGL + local skipped_tests="(" + local tests=" + TestTgfFileFormat + TestRocs1FileFormat + TestRocs2FileFormat + graphtheory-test_graphoperations + TestProject" + for test in $tests; do + skipped_tests="$skipped_tests|$test" + done + skipped_tests="$skipped_tests)" + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "$skipped_tests" +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="918fea2a0d63c19e43e05f74b76a75fa9eb1386e26b8f325c200e470290b05c570146a3d98f1e3ca4dd6b564c77f0b8bd12fb3e671863580a8b9bcc952246b54 rocs-19.08.0.tar.xz" -- 2.21.0