summaryrefslogblamecommitdiff
path: root/user/libinput/APKBUILD
blob: 584fbf44affecef86e772dc7753cc39885d427ff (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.15.0
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"
replaces="$pkgname-libs"
source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz
	time64.patch
	"

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

check() {
	ninja -C builddir/ test
}

package() {
	DESTDIR="$pkgdir" ninja -C builddir/ install
}

sha512sums="5dab48e1b4c9c0deb5b01ebc3ccb4cc28d614be25d87daaf42f51fbd2d955266f3fdba73029bc0094caa55060dad8967751b72d8f45f19a40b542f0c9118c1b6  libinput-1.15.0.tar.xz
e4c898359c8264651b0d0a795c05ccfebcd24e44c7b2dbad8a2bce2c0da6138288e0be93bd68e4b61cc0fb56e9a46ad5c4b670f3f88e493b8a7993020f1d2c61  time64.patch"