Revert "temp/libinput: temporarily fork from alpine (+depends) (MR 1771)"

This reverts commit 3bd9f62da2.

Both libevdev and libinput are now available for armv7.

- http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/libevdev-1.10.0-r0.apk
- http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/libinput-1.16.4-r0.apk
This commit is contained in:
Alexey Min 2020-12-07 01:02:35 +03:00
parent 19c7fd692f
commit b250f1ba16
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 0 additions and 74 deletions

View file

@ -1,27 +0,0 @@
# Forked from Alpine, because it's missing for armv7
pkgname=libevdev
pkgver=1.10.0
pkgrel=0
pkgdesc="Kernel Evdev Device Wrapper Library"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="armv7"
license="MIT"
options="!check" # Requires CONFIG_INPUT_UINPUT in kernel
makedepends="meson python3 linux-headers doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"
build() {
abuild-meson \
-Dtests=disabled \
-Ddocumentation=enabled \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f libevdev-1.10.0.tar.xz"

View file

@ -1,47 +0,0 @@
# Forked from Alpine: missing for armv7, just like xorg-server
# https://postmarketos.org/edge/2020/12/01/xorg-server-moved/
pkgname=libinput
pkgver=1.16.4
pkgrel=0
pkgdesc="Library for handling input devices"
url="https://www.freedesktop.org/wiki/Software/libinput"
arch="armv7"
license="MIT"
makedepends="eudev-dev libevdev-dev meson mtdev-dev"
checkdepends="diffutils bash"
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-libs
$pkgname-zsh-completion
"
source="https://freedesktop.org/software/libinput/libinput-$pkgver.tar.xz"
options="!check"
build() {
abuild-meson \
-Ddocumentation=false \
-Dlibwacom=false \
-Ddebug-gui=false \
-Dtests=false builddir/
meson compile ${JOBS:+-j ${JOBS}} -C builddir/
}
check() {
meson test --no-rebuild -v -C builddir
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C builddir
}
libs() {
default_libs
mv "$pkgdir"/usr/lib/udev "$subpkgdir"/usr/lib
mkdir -p "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/libinput "$subpkgdir"/usr/share
}
sha512sums="a95a3bcf58a9298946d15f4f2fd93dc5807d3042f8797950a1ffd96d3c979b55a764f035a9f7680d0ea400b033698c322eb61a4387dbc280db6110ffd3e137ee libinput-1.16.4.tar.xz"