wok-undigest rev 1177

gcc: --with-tune=i686
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Nov 01 18:44:22 2015 +0100 (2015-11-01)
parents 5927d59a8ed8
children f404ab0d585e
files gcc-lib-base/receipt gcc/receipt gnome-panel/receipt libgweather-dev/receipt libgweather/receipt libsoup-dev/receipt libsoup/receipt libvlc/receipt mplayer/receipt mplayer/stuff/mplayer.conf mplayer/stuff/mplayer.desktop vlc/receipt
line diff
     1.1 --- a/gcc-lib-base/receipt	Tue Oct 27 05:35:28 2015 +0100
     1.2 +++ b/gcc-lib-base/receipt	Sun Nov 01 18:44:22 2015 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gcc-lib-base"
     1.7 -VERSION="4.9.2"
     1.8 +VERSION="4.9.2" 
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
    1.11  WEB_SITE="http://gcc.gnu.org/"
    1.12 @@ -27,3 +27,4 @@
    1.13  	cp -a $libdir/libstdc++.so* $fs/usr/lib
    1.14  	rm -f $fs/usr/lib/*-gdb.py
    1.15  }
    1.16 +
     2.1 --- a/gcc/receipt	Tue Oct 27 05:35:28 2015 +0100
     2.2 +++ b/gcc/receipt	Sun Nov 01 18:44:22 2015 +0100
     2.3 @@ -63,6 +63,7 @@
     2.4  				--enable-__cxa_atexit \
     2.5  				--enable-clocale=gnu \
     2.6  				--enable-threads=posix \
     2.7 +				--with-tune=i686 \
     2.8  				--disable-bootstrap \
     2.9  				${CONFIGURE_ARGS} &&
    2.10  			make && make install ;;
    2.11 @@ -80,6 +81,7 @@
    2.12  				--enable-__cxa_atexit \
    2.13  				--enable-lto \
    2.14  				--enable-threads=posix \
    2.15 +				--with-tune=i686 \
    2.16  				--disable-bootstrap \
    2.17  				--with-pkgversion="$pkgversion" \
    2.18  				${CONFIGURE_ARGS} ${ARCH_ARGS} &&
     3.1 --- a/gnome-panel/receipt	Tue Oct 27 05:35:28 2015 +0100
     3.2 +++ b/gnome-panel/receipt	Sun Nov 01 18:44:22 2015 +0100
     3.3 @@ -47,4 +47,3 @@
     3.4  		$fs/usr/share/icons/hicolor
     3.5  	rm $fs/usr/share/gnome-panelrc
     3.6  }
     3.7 -
     4.1 --- a/libgweather-dev/receipt	Tue Oct 27 05:35:28 2015 +0100
     4.2 +++ b/libgweather-dev/receipt	Sun Nov 01 18:44:22 2015 +0100
     4.3 @@ -19,4 +19,3 @@
     4.4  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
     4.5  	cp -a $install/usr/include $fs/usr
     4.6  }
     4.7 -
     5.1 --- a/libgweather/receipt	Tue Oct 27 05:35:28 2015 +0100
     5.2 +++ b/libgweather/receipt	Sun Nov 01 18:44:22 2015 +0100
     5.3 @@ -40,4 +40,3 @@
     5.4  	
     5.5  	#cp -a $install/usr/share/dbus-1 $fs/usr/share
     5.6  }
     5.7 -
     6.1 --- a/libsoup-dev/receipt	Tue Oct 27 05:35:28 2015 +0100
     6.2 +++ b/libsoup-dev/receipt	Sun Nov 01 18:44:22 2015 +0100
     6.3 @@ -20,4 +20,3 @@
     6.4  	cp -a $install/usr/include $fs/usr
     6.5  	cp -a $install/usr/share/gir-1.0 $fs/usr/share
     6.6  }
     6.7 -
     7.1 --- a/libsoup/receipt	Tue Oct 27 05:35:28 2015 +0100
     7.2 +++ b/libsoup/receipt	Sun Nov 01 18:44:22 2015 +0100
     7.3 @@ -34,4 +34,3 @@
     7.4  	cp -a $install/usr/lib/*.so* $fs/usr/lib
     7.5  	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
     7.6  }
     7.7 -
     8.1 --- a/libvlc/receipt	Tue Oct 27 05:35:28 2015 +0100
     8.2 +++ b/libvlc/receipt	Sun Nov 01 18:44:22 2015 +0100
     8.3 @@ -20,3 +20,4 @@
     8.4  	# Remove libtool archives
     8.5  	rm $fs/usr/lib/vlc/plugins/*/*.la
     8.6  }
     8.7 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/mplayer/receipt	Sun Nov 01 18:44:22 2015 +0100
     9.3 @@ -0,0 +1,61 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="mplayer"
     9.7 +VERSION="1.2"
     9.8 +CATEGORY="multimedia"
     9.9 +SHORT_DESC="The Ultimate Movie Player For Linux."
    9.10 +MAINTAINER="pankso@slitaz.org"
    9.11 +LICENSE="GPL2"
    9.12 +SOURCE="MPlayer"
    9.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    9.14 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    9.15 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    9.16 +HOST_ARCH="i486"
    9.17 +
    9.18 +DEPENDS="gtk+ libmad xorg-libXv alsa-lib ncurses \
    9.19 +xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound \
    9.20 +audiofile zlib xorg-libXss"
    9.21 +BUILD_DEPENDS="gtk+-dev libmad-dev xorg-libXv-dev \
    9.22 +alsa-lib-dev ncurses-dev xorg-libXdamage-dev giflib-dev \
    9.23 +xorg-libXxf86vm-dev esound-dev enca-dev lirc-dev \
    9.24 +zlib-dev xorg-xextproto pkg-config yasm "
    9.25 +
    9.26 +# Rules to configure and make the package.
    9.27 +compile_rules()
    9.28 +{
    9.29 +	ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection" 
    9.30 +	./configure \
    9.31 +		--prefix=/usr \
    9.32 +		--confdir=/etc/mplayer \
    9.33 +		--libdir=/usr/lib/mplayer \
    9.34 +		--enable-gui \
    9.35 +	--disable-mencoder \
    9.36 +		--language="en de es fr it ru" \
    9.37 +		--disable-gl \
    9.38 +		--disable-jack \
    9.39 +		--disable-liblzo \
    9.40 +		--disable-libdv \
    9.41 +		--disable-fribidi \
    9.42 +		--disable-ivtv \
    9.43 +		--disable-smb \
    9.44 +		--disable-ftp \
    9.45 +		--disable-openal \
    9.46 +		--disable-faac \
    9.47 +		--disable-speex \
    9.48 +		${ARCH_ARGS} &&
    9.49 +	CFLAGS="$CFLAGS -mtune=i686" make $MAKEFLAGS &&
    9.50 +	make DESTDIR=$DESTDIR install
    9.51 +}
    9.52 +
    9.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.54 +genpkg_rules()
    9.55 +{
    9.56 +	mkdir -p $fs/usr/share/mplayer/skins
    9.57 +	cp -a $install/usr/bin $fs/usr
    9.58 +	[ -d "$install/usr/share/mplayer" ] && \
    9.59 +		cp -a $install/usr/share/mplayer $fs/usr/share
    9.60 +	cp -a $install/etc $fs
    9.61 +	cp $src/etc/example.conf $fs/etc/mplayer
    9.62 +	# Config to use Xv by default.
    9.63 +	cp $stuff/mplayer.conf $fs/etc/mplayer
    9.64 +}
    9.65 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/mplayer/stuff/mplayer.conf	Sun Nov 01 18:44:22 2015 +0100
    10.3 @@ -0,0 +1,14 @@
    10.4 +# /etc/mplayer/mplayer.conf: MPlayer default configuration for SliTaz.
    10.5 +# For more info and examples, please see: /etc/mplayer/example.conf
    10.6 +#
    10.7 +
    10.8 +# Specify default video driver (see -vo help for a list).
    10.9 +vo=xv,x11,fbdev2
   10.10 +#vf=eq2
   10.11 +
   10.12 +# Specify default audio driver (see -ao help for a list).
   10.13 +ao=alsa:device=hw=0.0,alsa,
   10.14 +
   10.15 +stop-xscreensaver="1"
   10.16 +heartbeat-cmd='echo -n ""'
   10.17 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/mplayer/stuff/mplayer.desktop	Sun Nov 01 18:44:22 2015 +0100
    11.3 @@ -0,0 +1,19 @@
    11.4 +[Desktop Entry]
    11.5 +Name=MPlayer Media Player
    11.6 +Name[de]=MPlayer Medienwiedergabe
    11.7 +Name[es]=MPlayer Reproductor multimedia
    11.8 +Name[fr]=Lecteur multimédia MPlayer
    11.9 +Name[it]=Lettore multimediale MPlayer
   11.10 +Name[pt]=Reprodutor Multimídia MPlayer
   11.11 +Name[pt_BR]=Reprodutor Multimídia MPlayer
   11.12 +Name[ru]=Медиа-проигрыватель MPlayer
   11.13 +Comment=Play movies and songs
   11.14 +Comment[de]=Filme und Musik wiedergeben
   11.15 +Comment[es]=Reproduce vídeos y música
   11.16 +Comment[fr]=Lit les films et musiques
   11.17 +Comment[it]=Riproduce filmati e musica
   11.18 +Comment[ru]=Воспроизведение фильмов и музыки
   11.19 +Exec=gmplayer %F
   11.20 +Icon=mplayer
   11.21 +Categories=GTK;AudioVideo;Audio;Video;Player;TV;
   11.22 +MimeType=application/mxf;application/x-netshow-channel;application/ogg;application/ram;application/vnd.rn-realmedia;application/x-shockwave-flash;application/smil;audio/ac3;audio/x-adpcm;audio/x-aiff;audio/AMR;audio/AMR-WB;audio/x-ape;audio/basic;audio/flac;audio/x-flac;audio/x-flac+ogg;audio/x-m4b;audio/x-matroska;audio/mp2;audio/mp4;audio/mpeg;audio/x-mpegurl;audio/x-ms-asx;audio/x-ms-wma;audio/x-musepack;audio/ogg;audio/vnd.rn-realaudio;audio/x-scpls;audio/x-voc;audio/x-vorbis+ogg;audio/x-wav;audio/x-wavpack;video/3gpp;video/3gpp2;video/dv;video/x-flic;video/x-flv;video/x-matroska;video/mp2t;video/mp4;video/mpeg;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/ogg;video/x-ogm+ogg;video/quicktime;video/vnd.rn-realvideo;video/x-theora+ogg;video/webm;
    12.1 --- a/vlc/receipt	Tue Oct 27 05:35:28 2015 +0100
    12.2 +++ b/vlc/receipt	Sun Nov 01 18:44:22 2015 +0100
    12.3 @@ -19,6 +19,8 @@
    12.4  
    12.5  compile_rules()
    12.6  {
    12.7 +	export CFLAGS="$CFLAGS -mtune=i686"
    12.8 +	export CXXFLAGS="$CFLAGS"
    12.9  	[ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
   12.10  	./configure \
   12.11  		--prefix=/usr \
   12.12 @@ -46,3 +48,4 @@
   12.13  	#Remove unnecessary fonts
   12.14  	rm $fs/usr/share/$PACKAGE/skins2/fonts/*
   12.15  }
   12.16 +