mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Closes: https://bugs.gentoo.org/957468 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
48 lines
880 B
Bash
48 lines
880 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake xdg
|
|
|
|
DESCRIPTION="Provides functionality for gaming input devices"
|
|
|
|
HOMEPAGE="https://sourceforge.net/projects/libgaminggear/"
|
|
SRC_URI="https://downloads.sourceforge.net/libgaminggear/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="
|
|
>=dev-db/sqlite-3.17:3
|
|
dev-libs/glib:2
|
|
media-libs/libcanberra
|
|
x11-libs/cairo
|
|
x11-libs/gtk+:2
|
|
x11-libs/libnotify
|
|
x11-libs/pango
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-libs/libgudev
|
|
media-libs/harfbuzz
|
|
"
|
|
BDEPEND="
|
|
dev-util/glib-utils
|
|
doc? ( app-text/doxygen )
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-0.10.0-doc.patch
|
|
"${FILESDIR}"/${P}-cmake-3.13.patch
|
|
"${FILESDIR}"/${P}-cmake4.patch # bug 957468
|
|
)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DWITH_DOC="$(usex doc)"
|
|
)
|
|
cmake_src_configure
|
|
}
|