Subject: [alpine-aports] [PATCH] testing/evemu: new aport

From: Dario Pellegrini <[email-masked]>
Date: Fri, 28 Dec 2018 13:08:21 +0100

https://www.freedesktop.org/wiki/Evemu/
evemu records and replays device descriptions and events
testing/
---
 testing/evemu/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 testing/evemu/APKBUILD

diff --git a/testing/evemu/APKBUILD b/testing/evemu/APKBUILD
new file mode 100644
index 0000000000..c770075849
--- /dev/null
+++ b/testing/evemu/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: 
+# Maintainer: Dario Pellegrini <[email-masked]>
+pkgname=evemu
+pkgver=2.7.0
+pkgrel=0
+pkgdesc="evemu records and replays device descriptions and events"
+url="https://www.freedesktop.org/wiki/Evemu/"
+arch="all"
+license="GPL"
+depends="libevdev-dev libtool"
+depends_dev=""
+makedepends="autoconf automake make gcc"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/freedesktop/evemu/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+        default_prepare
+        "$builddir"/autogen.sh
+}
+
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		--localstatedir=/var \
+		--disable-python-bindings \
+    --disable-tests
+	make -j4
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="cd3b1c7828c08544d7bc8542a003ba7e80b9a0a71671e69b3cc096c9c8328664745377641cd0d393bcfa4b20bf6171e18dac032c0cfc74a7d6a0bc8bbc3c5cb7  evemu-2.7.0.tar.gz"
-- 
2.20.1

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

---

From: Leonardo Arena <[email-masked]>
Date: Tue, 5 Feb 2019 11:17:20 +0100

Hi,

>  create mode 100644 testing/evemu/APKBUILD
it needs python:

checking for a Python interpreter with version >= 2.6... none
configure: error: no suitable Python interpreter found
>>> ERROR: evemu: build failed

> +++ b/testing/evemu/APKBUILD

Please pick the correct license ID one from https://spdx.org/licenses/

> +source="$pkgname-$pkgver.tar.gz::
> https://github.com/freedesktop/evemu/archive/v$pkgver.tar.gz"

Please fix indentation.

Other than these minor issues looks good!

Thanks!

/eo