Package Details: libgaminggear 0.15.1-8

Git Clone URL: https://aur.archlinux.org/libgaminggear.git (read-only)
Package Base: libgaminggear
Description: Provides functionality for gaming input devices
Upstream URL: http://sourceforge.net/projects/libgaminggear/
Keywords: driver gaming keyboard lib mouse
Licenses: GPL
Submitter: aaronfischer
Maintainer: aaronfischer
Last Packager: aaronfischer
Votes: 31
Popularity: 0.005191
First Submitted: 2014-04-17 21:50
Last Updated: 2019-08-24 19:37

Latest Comments

1 2 3 4 5 Next › Last »

aaronfischer commented on 2019-08-05 19:23

Thanks a lot @WorMzy! I've added your name to the list of contributors.

Shatur commented on 2019-08-04 13:47

@WorMzy, thanks!

WorMzy commented on 2019-08-04 11:45

Can confirm. A quick fix is to add harfbuzz to the makedepends and append /usr/include/harfbuzz to the INCLUDE_DIRECTORIES definition in CMakeLists.txt.

e.g. PKGBUILD:

# 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>

pkgname=libgaminggear
pkgver=0.15.1
pkgrel=6
pkgdesc="Provides functionality for gaming input devices"
arch=('i686' 'x86_64')
license=('GPL')
url="http://sourceforge.net/projects/libgaminggear/"
depends=('libnotify' 'libcanberra' 'gtk2' 'sqlite3>=3.7' 'python')
makedepends=('cmake>=3.0' 'doxygen' 'harfbuzz')
source=(http://downloads.sourceforge.net/project/libgaminggear/${pkgname}-${pkgver}.tar.bz2
        harfbuzz-headers.patch)
sha256sums=('ffbd59c62e3107b09ec99f1e5147529c61931987abc7f86a140449b46388c549'
            '437245ba7415ecd45b1c9782ef5c68a00f131ef82a19520680031cb0235a6185')

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_INSTALL_PREFIX="/usr" \
        -DINSTALL_LIBDIR="/usr/lib"
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/"
    make DESTDIR=${pkgdir} install
}

harfbuzz-headers.patch:

diff -aur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt    2019-08-04 12:39:49.674360014 +0100
+++ b/CMakeLists.txt    2019-08-04 12:40:02.904652576 +0100
@@ -75,6 +75,7 @@
   ${GTK_INCLUDE_DIRS}
   ${M_INCLUDE_DIR}
   ${NOTIFY_INCLUDE_DIRS}
+  /usr/include/harfbuzz
 )

 ADD_SUBDIRECTORY(configuration)

Shatur commented on 2019-08-04 11:08

Unable to build this package. Compiler can't find <hb.h>.

antianno commented on 2019-02-01 18:26

CMake 3.13.3 broke this PKGBUILD because it now requires to specify a build directory. As mentioned in CMake's issue tracker it seems that not specifying a build directory was never a supported scenario to begin with.

The fix is as easy as adding a dot:

cmake . -DFOO=bar instead of just
cmake -DFOO=bar

... as can be seen in the git history of another AUR package's PKGBUILD.

The CMake guys recently patched this behavior but CMake will still issue a warning; also, who knows when the new CMake version is due and when it'll land in the Arch Linux Extra repo.

Thanks! BTW, the roccat-tools packages are affected by this as well.

aaronfischer commented on 2018-09-13 20:10

Thanks @toXel

toXel commented on 2018-09-12 06:46

@aaronfischer Please add python as a build dependency.

WorMzy commented on 2018-08-29 13:32

@Nycex: Nope, you should read https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

nycex commented on 2018-08-29 11:26

You should add pkgconf as make dependency

aaronfischer commented on 2018-03-05 22:01

@Midov, @t0m4k1: Seems like this was a temporary problem with sf (why does that shitty platform still exist?)