Package Details: libgaminggear 0.15.1-9

Git Clone URL: https://aur.archlinux.org/libgaminggear.git (read-only, click to copy)
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-2.0-or-later
Submitter: aaronfischer
Maintainer: aaronfischer
Last Packager: aaronfischer
Votes: 32
Popularity: 0.000000
First Submitted: 2014-04-17 21:50 (UTC)
Last Updated: 2024-08-29 07:55 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

vgnmnky commented on 2024-07-09 10:29 (UTC)

I had an error saying glib-genmarshal was missing. Had to install glib2-devel to resolve.

aaronfischer commented on 2019-08-05 19:23 (UTC)

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

Shatur commented on 2019-08-04 13:47 (UTC)

@WorMzy, thanks!

WorMzy commented on 2019-08-04 11:45 (UTC)

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 (UTC)

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

antianno commented on 2019-02-01 18:26 (UTC) (edited on 2019-02-01 18:29 (UTC) by antianno)

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 (UTC)

Thanks @toXel

toXel commented on 2018-09-12 06:46 (UTC)

@aaronfischer Please add python as a build dependency.