void-packages/srcpkgs/libgaminggear/template

31 lines
1.0 KiB
Bash

# Template file for 'libgaminggear'
pkgname=libgaminggear
version=0.15.1
revision=1
build_style=cmake
configure_args="-DINSTALL_CMAKE_MODULESDIR=/usr/lib/cmake
-DINSTALL_PKGCONFIGDIR=/usr/lib/pkgconfig"
hostmakedepends="gettext pkg-config glib-devel"
makedepends="libglib-devel gtk+-devel libnotify-devel sqlite-devel
libcanberra-devel"
short_desc="Provides functionality for gaming input devices"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="GPL-2.0-only"
homepage="https://sourceforge.net/projects/libgaminggear/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=ffbd59c62e3107b09ec99f1e5147529c61931987abc7f86a140449b46388c549
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/harfbuzz"
libgaminggear-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} gtk+-devel libglib-devel
libcanberra-devel libnotify-devel sqlite-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/include
}
}