summaryrefslogblamecommitdiff
path: root/user/libinput/APKBUILD
blob: 2c37a75b390a036ca01994bf0c0192aa18755631 (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.20.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"
depends=""
checkdepends="check-dev valgrind"
makedepends="doxygen eudev-dev graphviz libevdev-dev libwacom-dev meson
	mtdev-dev ninja py3-recommonmark py3-sphinx py3-sphinx-rtd-theme"
subpackages="$pkgname-dev $pkgname-doc"
replaces="$pkgname-libs"
source="https://gitlab.freedesktop.org/libinput/libinput/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2"

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="d981bf90980c2f609393da998926bc4018599dddbb86c272dfb77bab1b2d5f35c6070f96bcfe5ef0032bd6c957b13f64ed32025d9f04fb413268571b2ee79cd1  libinput-1.20.1.tar.bz2"