blob: 5638a6a4faae9ed8955a12f2cb1046ff97ea67aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Aaron Fischer <mail@aaron-fischer.net>
# Contributor: Zachary Lund <admin@computerquip.com>
# Contributor: Edward Noname <edward.81@gmail.com>
# Contributor: Brett McGruddy <braxs69@gmail.com>
# Contributor: Alex <antianno52@gmail.com>
# Contributor: WorMzy Tykashi <wormzy.tykashi@gmail.com>
pkgname=libgaminggear
pkgver=0.15.1
pkgrel=9
pkgdesc="Provides functionality for gaming input devices"
arch=('i686' 'x86_64')
license=('GPL-2.0-or-later')
url="http://sourceforge.net/projects/libgaminggear/"
depends=('libnotify' 'libcanberra' 'gtk2' 'sqlite3>=3.7' 'python')
makedepends=('cmake>=3.0' 'doxygen' 'harfbuzz' 'glib2-devel')
source=(http://downloads.sourceforge.net/project/libgaminggear/${pkgname}-${pkgver}.tar.bz2
harfbuzz-headers.patch)
sha512sums=('a6635a74557f276ab65eda4610ba8a053fedf10f9d898a1dc875082a36b2822544f61fc7a274691673670b12d4de968aa4921d102a588f3d0777397730082990'
'be38e9b5ee04e2425548e532b219c27f12345c5ed0c7b7e3082d2f5e5990ecf12e84daef8fa71289826f841fd57901898957f05d7da92de9b389ab2c4d2acdc0')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/harfbuzz-headers.patch"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake . \
-DINSTALL_CMAKE_MODULESDIR="/usr/share/libgaminggear/cmake/Modules" \
-DCMAKE_C_FLAGS="$(pkg-config --cflags harfbuzz)" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DINSTALL_LIBDIR="/usr/lib"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/"
make DESTDIR="${pkgdir}" install
}
|