wok-current rev 21485

libsdl2-ttf-dev: add pkgconfig
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 13:05:10 2019 +0200 (2019-05-01)
parents 4c5528fadf3c
children 472c73874ee7
files libsdl2-mixer-dev/receipt libsdl2-net-dev/receipt libsdl2-ttf-dev/receipt syslinux/stuff/iso2exe/init syslinux/stuff/iso2exe/iso2exe.sh
line diff
     1.1 --- a/libsdl2-mixer-dev/receipt	Wed May 01 11:16:10 2019 +0100
     1.2 +++ b/libsdl2-mixer-dev/receipt	Wed May 01 13:05:10 2019 +0200
     1.3 @@ -10,7 +10,7 @@
     1.4  
     1.5  SOURCE="SDL2_mixer"
     1.6  WANTED="libsdl2-mixer"
     1.7 -DEPENDS="libsdl2-mixer libsdl2-dev libmad-dev libvorbis-dev libogg-dev "
     1.8 +DEPENDS="libsdl2-mixer libsdl2-dev libmad-dev libvorbis-dev libogg-dev pkg-config"
     1.9  
    1.10  HOST_ARCH="i486 arm"
    1.11  
     2.1 --- a/libsdl2-net-dev/receipt	Wed May 01 11:16:10 2019 +0100
     2.2 +++ b/libsdl2-net-dev/receipt	Wed May 01 13:05:10 2019 +0200
     2.3 @@ -10,7 +10,7 @@
     2.4  
     2.5  SOURCE="SDL_net"
     2.6  WANTED="libsdl2-net"
     2.7 -DEPENDS="libsdl2-net"
     2.8 +DEPENDS="libsdl2-net pkg-config"
     2.9  
    2.10  HOST_ARCH="i486 arm"
    2.11  
     3.1 --- a/libsdl2-ttf-dev/receipt	Wed May 01 11:16:10 2019 +0100
     3.2 +++ b/libsdl2-ttf-dev/receipt	Wed May 01 13:05:10 2019 +0200
     3.3 @@ -10,7 +10,7 @@
     3.4  
     3.5  SOURCE="SDL2_ttf"
     3.6  WANTED="libsdl2-ttf"
     3.7 -DEPENDS="libsdl2-ttf"
     3.8 +DEPENDS="libsdl2-ttf pkg-config"
     3.9  
    3.10  HOST_ARCH="i486 arm"
    3.11  
    3.12 @@ -20,5 +20,6 @@
    3.13  	mkdir -p $fs/usr/lib
    3.14  
    3.15  	cp -a $install/usr/lib/*.a $fs/usr/lib
    3.16 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.17  	cp -a $install/usr/include $fs/usr
    3.18  }
     4.1 --- a/syslinux/stuff/iso2exe/init	Wed May 01 11:16:10 2019 +0100
     4.2 +++ b/syslinux/stuff/iso2exe/init	Wed May 01 13:05:10 2019 +0200
     4.3 @@ -537,7 +537,7 @@
     4.4  
     4.5  mkfloppy()
     4.6  {
     4.7 -	dotwait "Create a $(basename $1) boot floppy"
     4.8 +	dotwait "Create a $(basename $1 .exe) boot floppy"
     4.9  	ddq if=$1 of=/dev/fd0
    4.10  	mkfat12 $1
    4.11  	rm -f /tmp/wait
    4.12 @@ -557,14 +557,14 @@
    4.13  pxe()
    4.14  {
    4.15  	gotcdfile "?pxe*"
    4.16 -	$DIALOG --clear --title " Create $(basename $file).exe ? " \
    4.17 +	$DIALOG --clear --title " Create $(basename $file .exe).exe ? " \
    4.18  		--yes-label "Install" --yesno \
    4.19  "\nBoot your operating system from the internet and enjoy a full system
    4.20  working entirely in RAM with speed and stability in mind. The Linux Kernel
    4.21  and the complete SliTaz compressed root filesystem will be loaded into RAM
    4.22  from the Web using PXE and HTTP protocols.\n" 12 70
    4.23  	[ $? -eq 0 ] || return
    4.24 -	cp $file /mnt/$(basename $file).exe
    4.25 +	cp $file /mnt/$(basename $file .exe).exe
    4.26  }
    4.27  
    4.28  fdpxe()
     5.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh	Wed May 01 11:16:10 2019 +0100
     5.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh	Wed May 01 13:05:10 2019 +0200
     5.3 @@ -307,7 +307,7 @@
     5.4  	cat init > $TMP/init.exe
     5.5  	find $TMP -type f -print0 | xargs -0 chmod +x
     5.6  	find $TMP -print0 | xargs -0 touch -t 197001010100.00
     5.7 -	( cd $TMP; find dev init.exe | cpio -o -H newc ) | compress rootfs.gz
     5.8 +	( cd $TMP; find dev init.exe | cpio -o -H newc ) | compress > rootfs.gz
     5.9  	rm -rf $TMP
    5.10  	ls -l $@ rootfs.gz
    5.11  	cp $0 $0.$$