wok-current rev 12979

hal: get videodev form libv4l
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 02 12:57:29 2012 +0200 (2012-06-02)
parents 815296e7f2ed
children 3cc862ed2129
files hal/receipt
line diff
     1.1 --- a/hal/receipt	Sat Jun 02 01:58:04 2012 +0200
     1.2 +++ b/hal/receipt	Sat Jun 02 12:57:29 2012 +0200
     1.3 @@ -12,7 +12,8 @@
     1.4  
     1.5  DEPENDS="dbus dbus-glib slitaz-base-files udev util-linux-blkid libusb-compat"
     1.6  BUILD_DEPENDS="dbus-dev dbus-glib dbus-glib-dev udev-dev pciutils \
     1.7 -util-linux-blkid-dev expat-dev util-linux-uuid-dev glib-dev pkg-config"
     1.8 +util-linux-blkid-dev expat-dev util-linux-uuid-dev glib-dev pkg-config \
     1.9 +libv4l-dev"
    1.10  
    1.11  EXTRA="
    1.12  hald-addon-cpufreq
    1.13 @@ -29,6 +30,9 @@
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 +	sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
    1.18 +		hald/linux/probing/probe-video4linux.c
    1.19 +	sed -i 's|glib/gmain|glib|' hald/linux/addons/addon-*.c
    1.20  	zcat /usr/share/misc/pci.ids.gz > /usr/share/misc/pci.ids &&
    1.21  	patch -p1 < $stuff/hal-scripts.u || return 1 &&
    1.22  	#patch -p1 < $stuff/hal-udev.patch || return 1 &&