You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
992 B
61 lines
992 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
|
inherit cmake-utils gnome2-utils
|
||
|
|
||
|
DESCRIPTION="Provides functionality for gaming input devices"
|
||
|
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/libgaminggear/"
|
||
9 years ago
|
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="doc"
|
||
|
|
||
|
RDEPEND="
|
||
7 years ago
|
>=dev-db/sqlite-3.17:3
|
||
|
dev-libs/glib:2
|
||
|
media-libs/libcanberra
|
||
|
x11-libs/cairo
|
||
9 years ago
|
x11-libs/gtk+:2
|
||
|
x11-libs/libnotify
|
||
7 years ago
|
x11-libs/pango
|
||
9 years ago
|
"
|
||
|
|
||
7 years ago
|
DEPEND="
|
||
|
${RDEPEND}
|
||
|
virtual/libgudev
|
||
|
doc? ( app-doc/doxygen )
|
||
|
"
|
||
9 years ago
|
|
||
7 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-0.10.0-doc.patch
|
||
|
)
|
||
9 years ago
|
|
||
|
src_configure() {
|
||
|
mycmakeargs=(
|
||
|
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||
|
-DDOCDIR=share/doc/${PF}
|
||
7 years ago
|
-DWITH_DOC="$(usex doc)"
|
||
9 years ago
|
)
|
||
|
cmake-utils_src_configure
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cmake-utils_src_install
|
||
|
}
|
||
|
|
||
|
pkg_preinst() {
|
||
|
gnome2_icon_savelist
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|