# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit 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="" DEPEND=">=x11-libs/gtk+-2.6.0 >=gnome-base/libglade-2 >=gnome-base/libgnomeui-2" RDEPEND="${DEPEND} >=dev-util/pkgconfig-0.19 sys-devel/gettext" DOCS="AUTHORS ChangeLog NEWS README TODO" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/coasting_speed.patch } 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 }