summaryrefslogblamecommitdiff
path: root/user/libinput/APKBUILD
blob: 8c2db00bb6676c14bc72ddd33f14b750305e3cf4 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                              
             



                                                         
                                    
             

                                                                         




                                                                          
                             






                                      



                               



                                                                            
                                                                                                                                                                     
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libinput
pkgver=1.13.1
pkgrel=0
pkgdesc="Library for handling input devices"
url="https://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
options="!check"  # wow, such broken
license="MIT"
makedepends="doxygen eudev-dev graphviz libevdev-dev libwacom-dev meson
	mtdev-dev ninja py3-recommonmark py3-sphinx py3-sphinx-rtd-theme"
checkdepends="check-dev valgrind"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	meson --prefix=/usr \
		-Dlibwacom=true \
		-Ddebug-gui=false \
		-Dtests=true builddir/
	ninja -C builddir/
}

check() {
	ninja -C builddir/ test
}

package() {
	DESTDIR="$pkgdir" ninja -C builddir/ install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="a19deec802e704038df0901c103a82a3370f56e0299f4cc1b6aa84c1832a66fb638e6f9d0fa708b51df6c3b939cdc1271e4ff547c645c566be03dce0bc9ff7e0  libinput-1.13.1.tar.xz"