Subject: [alpine-aports] [PATCH 1/2] testing/grim: new APKBUILD

From: Drew DeVault <[email-masked]>
Date: Fri, 1 Mar 2019 17:39:28 -0700

---
 testing/grim/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/grim/APKBUILD

diff --git a/testing/grim/APKBUILD b/testing/grim/APKBUILD
new file mode 100644
index 0000000000..668f0221d7
--- /dev/null
+++ b/testing/grim/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=grim
+pkgver=1.1
+pkgrel=0
+pkgdesc="Grabs images from Wayland compositors"
+url="https://wayland.emersion.fr/grim/"
+arch="all"
+license="MIT"
+makedepends="meson scdoc wayland-dev wayland-protocols"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	meson \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--buildtype=release \
+		. output
+	ninja -C output
+}
+
+check() {
+	cd "$builddir"
+	./output/grim -h >/dev/null
+}
+
+package() {
+	cd "$builddir"
+	DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="43a0a6d4b4a25f963f3222d9f25dbf1e3b62b2ee72da1b689bed0e0d5231e28ff784594d87aec16ed5de77f99394f5f7d2c4254203dd3801fdaf7f6e0d492fbc  grim-1.1.tar.gz"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Drew DeVault <[email-masked]>
Date: Fri, 1 Mar 2019 17:39:29 -0700

---
 testing/slurp/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/slurp/APKBUILD

diff --git a/testing/slurp/APKBUILD b/testing/slurp/APKBUILD
new file mode 100644
index 0000000000..02136a0f49
--- /dev/null
+++ b/testing/slurp/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=slurp
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Interaction screen selection on Wayland compositors"
+url="https://wayland.emersion.fr/slurp/"
+arch="all"
+license="MIT"
+makedepends="meson scdoc cairo-dev wayland-dev wayland-protocols"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	meson \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--buildtype=release \
+		. output
+	ninja -C output
+}
+
+check() {
+	cd "$builddir"
+	./output/slurp -h >/dev/null
+}
+
+package() {
+	cd "$builddir"
+	DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="ef0120133095d6bb2c5f6df297eaac19890da1d65ead0dd84ee6f15be295eb956dc8357d62e66fd4c2082d1cccfe936bf401fba847b27fc9193903b39236c84f  slurp-1.1.0.tar.gz"
-- 
2.21.0

---

---

From: Henrik Riomar <[email-masked]>
Date: Sat, 2 Mar 2019 10:11:35 +0100

>  testing/grim/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
....
> +makedepends="meson scdoc wayland-dev wayland-protocols"

missing makedepends:
 Build machine cpu: x86_64
 Found pkg-config: /usr/bin/pkg-config (1.6.0)
 Dependency cairo found: NO (tried pkgconfig)

 meson.build:20:0: ERROR:  Dependency "cairo" not found, tried
pkgconfig

 A full log can be found at
/home/quix/git/aports/testing/grim/src/grim-1.1/output/meson-logs/meson-log.txt

Please fix.

/ Henrik

---

---

From: Drew DeVault <[email-masked]>
Date: Sat, 2 Mar 2019 09:53:03 -0700

---

index 0000000000..592172e9de
+makedepends="meson scdoc wayland-dev wayland-protocols cairo-dev"

---