81 lines
1.4 KiB
Text
81 lines
1.4 KiB
Text
# Copyright : Obarun
|
|
#------------------------
|
|
# Maintainer : Eric Vidal <eric@obarun.org>
|
|
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
|
|
#----------------
|
|
# Obarun PkgSrc : https://git.obarun.org/pkg/obextra/libwacom
|
|
#--------------------------------------------------------------
|
|
# DESCRIPTION ]
|
|
|
|
pkgname=libwacom
|
|
pkgver=2.0.0
|
|
pkgrel=3
|
|
pkgdesc="Library to identify Wacom tablets and their features"
|
|
url='https://github.com/linuxwacom/libwacom/wiki'
|
|
|
|
track="$pkgname-$pkgver"
|
|
target="$pkgname-$pkgver"
|
|
source=(
|
|
"https://github.com/linuxwacom/libwacom/releases/download/${track}/${target}.tar.xz"{,.sig}
|
|
)
|
|
|
|
#----------------------
|
|
# BUILD CONFIGURATION ]
|
|
|
|
makedepends=(
|
|
'libxml2'
|
|
'meson'
|
|
'libeudev'
|
|
)
|
|
|
|
depends=(
|
|
'glib2'
|
|
'libgudev'
|
|
)
|
|
|
|
checkdepends=(
|
|
'python-pytest'
|
|
'python-libevdev'
|
|
'python-pyudev'
|
|
)
|
|
|
|
optdepends=(
|
|
'python-libevdev: for libwacom-show-stylus'
|
|
)
|
|
|
|
#--------
|
|
# BUILD ]
|
|
|
|
build() {
|
|
meson build $pkgname-$pkgver \
|
|
--prefix=/usr \
|
|
-Dtests=disabled
|
|
ninja -C build
|
|
}
|
|
|
|
#--------
|
|
# CHECK ]
|
|
|
|
#check() {
|
|
# ninja test -C build
|
|
#}
|
|
|
|
#----------
|
|
# PACKAGE ]
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja install -C build
|
|
install -D -m644 $pkgname-$pkgver/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|
|
|
|
#--------------------
|
|
# ARCH LICENSE AUTH ]
|
|
|
|
arch=(x86_64)
|
|
license=(MIT)
|
|
|
|
validpgpkeys=(
|
|
'3C2C43D9447D5938EF4551EBE23B7E70B467F0BF'
|
|
)
|
|
|
|
sha512sums=('')
|