# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.12_rc1-r6.ebuild,v 1.3 2009/07/06 14:22:44 alexxy Exp $ EAPI="2" inherit eutils linux-info autotools flag-o-matic multilib PATCH_VERSION="7" MY_P=${P/_/} S=${WORKDIR}/${MY_P} PATCHNAME="${MY_P}-gentoo-patches-${PATCH_VERSION}" DESCRIPTION="Hardware Abstraction Layer" HOMEPAGE="http://www.freedesktop.org/wiki/Software/hal" SRC_URI="http://hal.freedesktop.org/releases/${MY_P}.tar.bz2 http://dev.gentoo.org/~dang/files/${PATCHNAME}.tar.bz2" LICENSE="|| ( GPL-2 AFL-2.0 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" KERNEL_IUSE="kernel_linux kernel_FreeBSD" IUSE="X acpi apm crypt consolekit debug dell disk-partition doc laptop policykit selinux ${KERNEL_IUSE}" RDEPEND=">=dev-libs/dbus-glib-0.61 >=dev-libs/glib-2.14 >=dev-libs/expat-1.95.8 =virtual/libusb-0* >=sys-apps/pciutils-2.2.7-r1 >=dev-util/gperf-3.0.3 sys-apps/usbutils virtual/eject amd64? ( >=sys-apps/dmidecode-2.7 ) dell? ( >=sys-libs/libsmbios-0.13.4 ) disk-partition? ( >=sys-apps/parted-1.8.0 ) ia64? ( >=sys-apps/dmidecode-2.7 ) kernel_linux? ( >=sys-fs/udev-117 >=sys-apps/util-linux-2.13 >=sys-kernel/linux-headers-2.6.19 crypt? ( >=sys-fs/cryptsetup-1.0.5 ) ) kernel_FreeBSD? ( >=dev-libs/libvolume_id-0.77 ) x86? ( >=sys-apps/dmidecode-2.7 ) selinux? ( sys-libs/libselinux sec-policy/selinux-hal ) consolekit? ( sys-auth/consolekit[policykit=] ) policykit? ( sys-auth/consolekit[policykit] sys-auth/policykit[pam] )" DEPEND="${RDEPEND} dev-util/pkgconfig >=dev-util/intltool-0.35 doc? ( app-text/xmlto dev-libs/libxml2 dev-util/gtk-doc app-text/docbook-sgml-utils ) ! or by utilizing your Desktop Environment's" elog "Keyboard Layout Settings mechanism." elog "Under GNOME, this is gnome-keyboard-properties, and under KDE" elog "it is kxkb." fi echo elog "In order have suspend/hibernate function with HAL or apps that use HAL" elog "(such as gnome-power-manager), you should build HAL with the laptop" elog "useflag which will install pm-utils." if use X ; then echo elog "X Input Hotplugging (if you build xorg-server with the HAL useflag)" elog "reads user specific configuration from /etc/hal/fdi/policy/." echo elog "You should remove the Input sections from your xorg.conf once you have" elog "migrated the rules to a HAL fdi file." fi ebeep 5 epause 5 }