Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 615C2781B15 for <~alpine/aports@lists.alpinelinux.org>; Sat, 10 Aug 2019 17:26:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B930227DB1 for <~alpine/aports@lists.alpinelinux.org>; Sat, 10 Aug 2019 19:26:57 +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 32dHLtYnAXZf; Sat, 10 Aug 2019 19:26:56 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1565458016; bh=KWGbUwYcF2OoJJh1uEhR4TjV6Z322JvInTQ1zxvdl5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hrcFaTl7UA/udhNR+5HsQo1nnhlmHWJd3N401R6XDRkwvD/RICppzhwKeSkjrFOe+ JiMlQihhMcgGqUFfnDUE33r91AXVtI32IC42GxJ2gsmjGBaFXKdJtrW2QmmIQ1eMAF jdNTWabHcYFjRU6n66s+hojP7d/xyiPrAMVLlTsNg/gUg+pyZ4PuuTV3t1Q4NMx4wr +A5Q728fLn8sH2Fyf3ObyFdNp3B5GmfYEaldR1b/PmJzLzPn6K7UYusewJj98HXrfI xq6It1WBZPiaLYVDDkjihTeSSesIC//KV8FYqbi9g2FuKplChHYX+n5CzW8WlJq5G6 EZZaob4A54goQ== To: ~alpine/aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH 2/4] testing/waylandpp: new aport Date: Sat, 10 Aug 2019 19:26:46 +0200 Message-Id: <20190810172648.15624-2-bribbers@disroot.org> In-Reply-To: <20190810172648.15624-1-bribbers@disroot.org> References: <20190810172648.15624-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/waylandpp/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/waylandpp/APKBUILD diff --git a/testing/waylandpp/APKBUILD b/testing/waylandpp/APKBUILD new file mode 100644 index 0000000000..bef5a5e740 --- /dev/null +++ b/testing/waylandpp/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=waylandpp +pkgver=0.2.5 +pkgrel=0 +arch="all" +url="https://github.com/NilsBrause/waylandpp" +pkgdesc="Wayland C++ bindings" +license="MIT AND GPL-3.0-or-later" +depends_dev="pugixml-dev wayland-dev mesa-dev" +makedepends="$depends_dev cmake doxygen graphviz" +source="$pkgname-$pkgver.tar.gz::https://github.com/nilsbrause/$pkgname/archive/$pkgver.tar.gz" +subpackages="$pkgname-dev $pkgname-doc" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="a8c80282022b2ede3c3d0f5516e236aedaf3ef685565da8c61214fe37eda139bf152093eb29960be1889798eef5631b9d68a5e832c10cf1160c4a90f45eccb6e waylandpp-0.2.5.tar.gz" -- 2.21.0