wok diff deadbeef/receipt @ 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
children c5457be0dfef
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deadbeef/receipt	Fri May 28 20:59:53 2010 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="deadbeef"
     1.7 +VERSION="0.4.0"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Simple to use GTK+ audio player with systray support."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
    1.12 +BUILD_DEPENDS="$DEPENDS gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev \
    1.13 +libmad-dev libsndfile libsndfile-dev libsamplerate-dev flac-dev ibcurl \
    1.14 +curl-dev ffmpeg-dev"
    1.15 +SUGGESTED="deadbeef-plugins"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +WEB_SITE="http://deadbeef.sourceforge.net/"
    1.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +TAGS="music audio player mp3 ogg"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cd $src
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--disable-pulse \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	for l in alsa gtkui hotkeys vorbis mpgmad
    1.39 +	do
    1.40 +		cp -a $_pkg/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
    1.41 +	done
    1.42 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.43 +	cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/*.png \
    1.44 +		$fs/usr/share/pixmaps
    1.45 +}