wok-4.x rev 5639

Add deadbeef (work well and more functions than alsaplayer = new default audio player)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 28 20:59:53 2010 +0200 (2010-05-28)
parents c481f4ad6da3
children 63937e3b2979
files deadbeef-dev/receipt deadbeef-plugins/receipt deadbeef/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deadbeef-dev/receipt	Fri May 28 20:59:53 2010 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="deadbeef-dev"
     1.7 +VERSION="0.4.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Deadbeef audio player devl file."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="deadbeef deadbeef-plugins"
    1.12 +WEB_SITE="http://deadbeef.sourceforge.net/"
    1.13 +WANTED="deadbeef"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib/deadbeef
    1.19 +	cp -a $_pkg/usr/lib/deadbeef/*.*a $fs/usr/lib/deadbeef
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/deadbeef-plugins/receipt	Fri May 28 20:59:53 2010 +0200
     2.3 @@ -0,0 +1,22 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="deadbeef-plugins"
     2.7 +VERSION="0.4.0"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Pugins for the Deadbeef audio player (flac, sndfile, lastfm)."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="deadbeef flac ffmpeg libsndfile libcurl libssl libcrypto"
    2.12 +WEB_SITE="http://deadbeef.sourceforge.net/"
    2.13 +WANTED="deadbeef"
    2.14 +TAGS="music audio player mp3 ogg"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	mkdir -p $fs/usr/lib/deadbeef
    2.20 +	cp -a $_pkg/usr/lib/deadbeef/*.so* $fs/usr/lib/deadbeef
    2.21 +	for l in alsa gtkui hotkeys vorbis mpgmad
    2.22 +	do
    2.23 +		rm $fs/usr/lib/deadbeef/$l.so*
    2.24 +	done
    2.25 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/deadbeef/receipt	Fri May 28 20:59:53 2010 +0200
     3.3 @@ -0,0 +1,42 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="deadbeef"
     3.7 +VERSION="0.4.0"
     3.8 +CATEGORY="multimedia"
     3.9 +SHORT_DESC="Simple to use GTK+ audio player with systray support."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
    3.12 +BUILD_DEPENDS="$DEPENDS gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev \
    3.13 +libmad-dev libsndfile libsndfile-dev libsamplerate-dev flac-dev ibcurl \
    3.14 +curl-dev ffmpeg-dev"
    3.15 +SUGGESTED="deadbeef-plugins"
    3.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.17 +WEB_SITE="http://deadbeef.sourceforge.net/"
    3.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.19 +TAGS="music audio player mp3 ogg"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	cd $src
    3.25 +	./configure \
    3.26 +		--prefix=/usr \
    3.27 +		--disable-pulse \
    3.28 +		$CONFIGURE_ARGS &&
    3.29 +	make &&
    3.30 +	make DESTDIR=$PWD/_pkg install
    3.31 +}
    3.32 +
    3.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.34 +genpkg_rules()
    3.35 +{
    3.36 +	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
    3.37 +	cp -a $_pkg/usr/bin $fs/usr
    3.38 +	for l in alsa gtkui hotkeys vorbis mpgmad
    3.39 +	do
    3.40 +		cp -a $_pkg/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
    3.41 +	done
    3.42 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    3.43 +	cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/*.png \
    3.44 +		$fs/usr/share/pixmaps
    3.45 +}