Permalink
Browse files

udev-171 bump to use new hwids

  • Loading branch information...
1 parent 684264e commit 57f569753d1c5a752c1e5dafabaac7b1c3c14ca4 @jeanfrancisroy jeanfrancisroy committed Apr 2, 2012
@@ -1,3 +1,8 @@
+20 April 2012; Jean-Francis Roy <jeanfrancis@funtoo.org>
+
+Bumping udev-171 to depend of new hwids.
+
+
03 Feb 2012; Jean-Francis Roy <jeanfrancis@funtoo.org>
Bumping to udev-160-r3 and udev-171-r2 to revert to some upstream changes. We
File renamed without changes.
@@ -18,15 +18,17 @@ fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~*"
-IUSE="selinux extras +hwdb +gudev"
+IUSE="selinux extras +hwdb +gudev introspection"
MIN_KERNEL="2.6.32"
COMMON_DEPEND="selinux? ( sys-libs/libselinux )
sys-apps/acl
virtual/libusb:0
+ extras? ( dev-libs/gobject-introspection
+ dev-libs/glib:2 )
gudev? ( dev-libs/glib:2 )
- dev-libs/gobject-introspection
- >=sys-apps/usbutils-0.82 sys-apps/pciutils
+ introspection? ( dev-libs/gobject-introspection )
+ hwdb? ( sys-apps/hwids )
"
DEPEND="${COMMON_DEPEND} dev-util/gperf >=sys-kernel/linux-headers-2.6.34"
RDEPEND="${COMMON_DEPEND} !sys-apps/coldplug !<sys-fs/lvm2-2.02.45 !sys-fs/device-mapper >=sys-apps/baselayout-2.1.6"
@@ -85,12 +87,15 @@ src_unpack() {
sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/{rules.d,arch}/*.rules || die "failed to change group dialout to uucp"
}
+use_extras() { use extras && echo "--enable-${2:-$1}" || use_enable "$@" ; }
src_compile() {
filter-flags -fprefetch-loop-arrays
# sys-fs/lvm2 may require static libs - generate them just to be on the safe
# side. shared libs get generated too.
+ echo $(use_extras introspection)
+
econf \
--prefix=/usr \
--sysconfdir=/etc \
@@ -100,12 +105,11 @@ src_compile() {
--with-rootlibdir=/$(get_libdir) \
--libexecdir="${udev_libexec_dir}" \
--enable-logging \
- --enable-introspection \
- --enable-gudev \
--enable-hwdb \
--with-pci-ids-path="${EPREFIX}/usr/share/misc/pci.ids" \
--with-usb-ids-path="${EPREFIX}/usr/share/misc/usb.ids" \
- $(use_enable gudev) \
+ $(use_extras introspection) \
+ $(use_extras gudev) \
$(use_enable extras) \
$(use_with selinux)
@@ -18,14 +18,14 @@ fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="selinux +gudev -introspection"
+IUSE="selinux +gudev +hwdb -introspection"
MIN_KERNEL="2.6.34"
COMMON_DEPEND="selinux? ( sys-libs/libselinux )
sys-apps/acl
virtual/libusb:0
gudev? ( dev-libs/glib:2 )
- >=sys-apps/usbutils-0.82 sys-apps/pciutils
+ hwdb? ( sys-apps/hwids )
>=sys-apps/kmod-4
"
DEPEND="${COMMON_DEPEND} dev-util/gperf >=sys-kernel/linux-headers-2.6.34"

0 comments on commit 57f5697

Please sign in to comment.