summaryrefslogblamecommitdiff
path: root/user/libinput/APKBUILD
blob: ca6c869a691c786bda6c06d7588aa86a02005b3c (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.5
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://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"

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="a0a3a325048841fc017e19d3bc5f5490605972ab9e2730dc5678bda7efb7a5b1fa6f531f3c8abd8393899ec383d8d2bcfd586eacee04fc1fbda0e02ba2af956a  libinput-1.15.5.tar.xz"