summaryrefslogblamecommitdiff
path: root/user/libinput/APKBUILD
blob: 95084116397124d9624290a6a7f18e7281eaf868 (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.14.3
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"

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="f01d1bd1b25b8060519575644597d35f0c89de5386d298441f440128ceee3e57549921a058adec31adc8b33dbdedf4c0bd12c76905a69f752859d3136e26336d  libinput-1.14.3.tar.xz"