blob: cfd0e29f42f016f1fe0cd80671553173fbccfa85 (
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
41
42
43
44
45
46
47
48
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.7.0.ebuild,v 1.1 2015/03/24 05:02:17 idella4 Exp $
EAPI=5
inherit cmake-utils gnome2-utils
DESCRIPTION="Provides functionality for gaming input devices"
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
x11-libs/gtk+:2
x11-libs/libnotify
media-libs/libcanberra
virtual/libusb:1
dev-libs/dbus-glib
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
"
src_configure() {
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
$(cmake-utils_use_with doc DOC)
)
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
}
|