summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 22:37:57 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 22:37:57 -0500
commitdec305df5bdc776b32903f21cb37f4cfe03be919 (patch)
tree76b9f79dc05e3c1e37cbcfdbdaf5bdfc4f713618 /user
parent0fd621b332c6f53ad2ade7449fcd2e5dba51431f (diff)
downloadpackages-dec305df5bdc776b32903f21cb37f4cfe03be919.tar.gz
packages-dec305df5bdc776b32903f21cb37f4cfe03be919.tar.bz2
packages-dec305df5bdc776b32903f21cb37f4cfe03be919.tar.xz
packages-dec305df5bdc776b32903f21cb37f4cfe03be919.zip
user/libevdev: pull in, bump, take, fix
Diffstat (limited to 'user')
-rw-r--r--user/libevdev/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libevdev/APKBUILD b/user/libevdev/APKBUILD
new file mode 100644
index 000000000..acc47acba
--- /dev/null
+++ b/user/libevdev/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libevdev
+pkgver=1.5.9
+pkgrel=0
+pkgdesc="Wrapper library for kernel event devices"
+url="https://www.freedesktop.org/wiki/Software/libevdev"
+arch="all"
+options="!check" # Requires CONFIG_INPUT_UINPUT in kernel
+license="MIT"
+depends=""
+makedepends="doxygen linux-headers python3"
+checkdepends="check-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4496ab4d9dc165f416a574c21a7fcee54ae104c21ef4785a4dd0311fff428020cdbb5da7bf3f835e78dae05effdb1a557d189347f6e62dd6be2d8bcdc845850c libevdev-1.5.9.tar.xz"