summaryrefslogtreecommitdiff
blob: 06408a74f78c2483e49756519cc856239e8b6e94 (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
49
50
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gsynaptics/gsynaptics-0.9.13-r1.ebuild,v 1.2 2008/02/22 05:06:37 compnerd Exp $

inherit autotools eutils gnome2

DESCRIPTION="A GTK+ based configuration utility for the synaptics driver"
HOMEPAGE="http://gsynaptics.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/${PN}/28322/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-libs/glib-2.10
		 >=x11-libs/gtk+-2.6.0
		 >=gnome-base/gconf-2.0
		 >=gnome-base/libglade-2"
DEPEND="${DEPEND}
		 >=dev-util/pkgconfig-0.19
		 app-text/gnome-doc-utils
		 sys-devel/gettext"

DOCS="AUTHORS ChangeLog NEWS README TODO"

src_unpack() {
	gnome2_src_unpack

	cd "${S}"
	epatch "${FILESDIR}/${P}-no-libgnome.patch"
	epatch "${FILESDIR}/${P}-CoastingSpeedThreshold.patch"
	eautoreconf
}

pkg_postinst() {
	gnome2_pkg_postinst

	echo
	elog "Ensure that the following line is in the InputDevice section in"
	elog "your X config file (/etc/X11/xorg.conf):"
	elog
	elog "Option \"SHMConfig\" \"on\""
	elog
	echo
	elog "You need to add gsynaptics-init to your session to restore your"
	elog "settings the next time you log into GNOME:"
	elog "Desktop -> Preferences -> Sessions -> Start Programs -> Add"
	echo
}