Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 492810 | Differences between
and this patch

Collapse All | Expand All

(-)/var/portage/tree/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild (-8 / +8 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild,v 1.1 2013/09/08 16:25:30 hwoarang Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
6
Lines 20-30 Link Here
20
	input_devices_roccat_kone
20
	input_devices_roccat_kone
21
	input_devices_roccat_koneplus
21
	input_devices_roccat_koneplus
22
	input_devices_roccat_konepure
22
	input_devices_roccat_konepure
23
	input_devices_roccat_konepureoptical
23
	input_devices_roccat_konextd
24
	input_devices_roccat_konextd
24
	input_devices_roccat_kovaplus
25
	input_devices_roccat_kovaplus
25
	input_devices_roccat_lua
26
	input_devices_roccat_lua
26
	input_devices_roccat_pyra
27
	input_devices_roccat_pyra
27
	input_devices_roccat_savu
28
	input_devices_roccat_savu
29
	input_devices_roccat_ryos
28
"
30
"
29
IUSE="${IUSE_INPUT_DEVICES}"
31
IUSE="${IUSE_INPUT_DEVICES}"
30
32
Lines 41-53 Link Here
41
43
42
DEPEND="${RDEPEND}"
44
DEPEND="${RDEPEND}"
43
45
44
src_prepare() {
45
	# only notification daemon, move it to autostart...
46
	# https://sourceforge.net/p/roccat/patches/2/
47
	sed -i 's|share/applications|/etc/xdg/autostart|g' roccateventhandler/CMakeLists.txt || \
48
	die "sed failed"
49
}
50
51
src_configure() {
46
src_configure() {
52
	local UDEVDIR="$(udev_get_udevdir)"/rules.d
47
	local UDEVDIR="$(udev_get_udevdir)"/rules.d
53
	local MODELS=${INPUT_DEVICES//roccat_/}
48
	local MODELS=${INPUT_DEVICES//roccat_/}
Lines 58-63 Link Here
58
src_install() {
53
src_install() {
59
	cmake-utils_src_install
54
	cmake-utils_src_install
60
	readme.gentoo_src_install
55
	readme.gentoo_src_install
56
57
	local stat_dir=/var/lib/roccat
58
	keepdir $stat_dir
59
	fowners root:roccat $stat_dir
60
	fperms 2770 $stat_dir
61
}
61
}
62
pkg_preinst() {
62
pkg_preinst() {
63
	gnome2_icon_savelist
63
	gnome2_icon_savelist

Return to bug 492810