aboutsummaryrefslogblamecommitdiffstats
path: root/community/libevdev/APKBUILD
blob: 86472cd93cc8aecf99199e02412dd7bcda2ce2d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                
             
        
                                             
                                                        

             
                                                          

                                                 
                                                                          

         
                      

                                         
                                  
                        
                                                   


           
                                                              

 
                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevdev
pkgver=1.11.0
pkgrel=1
pkgdesc="Kernel Evdev Device Wrapper Library"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
license="MIT"
options="!check"  # Requires CONFIG_INPUT_UINPUT in kernel
makedepends="meson python3 linux-headers doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dtests=disabled \
		-Ddocumentation=enabled \
		-Dcoverity=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b3c6b4a1532c5142f3684b920dcdd497a5368aec516e8c389e2c8f9d1eaba16c907b2a7f2c82a3c3ff89bb4d0ae5503c736098c095f9f1bc98f0668e99bf639d  libevdev-1.11.0.tar.xz"