wok rev 14870

python-pygame: no more linux/videodev.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 23 08:56:31 2013 +0000 (2013-07-23)
parents 487247909ed8
children ef5d866ad0a7
files musl-libc/receipt python-pygame/receipt
line diff
     1.1 --- a/musl-libc/receipt	Mon Jul 22 19:47:37 2013 -0300
     1.2 +++ b/musl-libc/receipt	Tue Jul 23 08:56:31 2013 +0000
     1.3 @@ -28,8 +28,9 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.   
     1.5  genpkg_rules()                                      
     1.6  {
     1.7 -	mkdir -p $fs/usr/share/musl/lib $fs/etc
     1.8 +	mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin
     1.9  	cp -a $install/lib $fs
    1.10 +	ln $fs/lib/$(ls $fs/lib) $fs/bin/ldd-musl
    1.11  	cp -a $install/usr/share/musl/lib/*.so  $fs/usr/share/musl/lib
    1.12  	echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
    1.13  }
     2.1 --- a/python-pygame/receipt	Mon Jul 22 19:47:37 2013 -0300
     2.2 +++ b/python-pygame/receipt	Tue Jul 23 08:56:31 2013 +0000
     2.3 @@ -13,13 +13,14 @@
     2.4  DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf python-numpy \
     2.5  libsmpeg gcc-lib-base"
     2.6  BUILD_DEPENDS="python-dev libsmpeg-dev libsdl-dev libsdl-image-dev \
     2.7 -libsdl-mixer-dev libsdl-ttf-dev"
     2.8 +libsdl-mixer-dev libsdl-ttf-dev libv4l-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12  {
    2.13  	cd $src
    2.14  	patch -Np0 -i $stuff/config.patch
    2.15 +	sed -i "s|linux/videodev.h|libv4l1-videodev.h|" src/camera.h
    2.16  	python config.py -auto &&
    2.17  	python setup.py install --root=$DESTDIR
    2.18  }