# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.2.0-r1.ebuild,v 1.3 2009/04/14 18:54:11 scarabeus Exp $ # Must be before x-modular eclass is inherited #SNAPSHOT="yes" inherit x-modular DESCRIPTION="Generic Linux input driver" KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" IUSE="hal" RDEPEND=">=x11-base/xorg-server-1.5.3 hal? ( >=sys-apps/hal-0.5.10 )" DEPEND="${RDEPEND} || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 ) >=x11-proto/inputproto-1.4 x11-proto/randrproto x11-proto/xproto" PATCHES="${FILESDIR}/${PV}-Restore-repeat-filtering-for-server-1.5-and-earlier.patch" pkg_postinst() { x-modular_pkg_postinst pkg_info } pkg_info() { if use hal; then elog "If your XKB (keyboard settings) stopped working," elog "you may uninstall this driver or move your XKB configuration." elog "Download an example from http://dev.gentoo.org/~scarabeus/hal-config-examples/" elog "(these will be installed with sys-apps/hal soon)," elog "and drop it into /etc/hal/fdi/policy/" fi }