wok-current rev 21208

Update deadbeef (1.8.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 09 12:13:22 2019 +0300 (2019-04-09)
parents 3f1b4d69cda0
children ff106c3028e0
files deadbeef-dev/receipt deadbeef-plugins/receipt deadbeef/receipt
line diff
     1.1 --- a/deadbeef-dev/receipt	Mon Apr 08 19:08:56 2019 +0200
     1.2 +++ b/deadbeef-dev/receipt	Tue Apr 09 12:13:22 2019 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="deadbeef-dev"
     1.7 -VERSION="0.5.6"
     1.8 +VERSION="1.8.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Deadbeef audio player devl file."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -15,6 +15,6 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib/deadbeef
    1.16 -	cp -a $install/usr/lib/deadbeef/*.*a $fs/usr/lib/deadbeef
    1.17 +	cp -a $install/usr/lib/deadbeef/*.la $fs/usr/lib/deadbeef
    1.18  	cp -a $install/usr/include $fs/usr
    1.19  }
     2.1 --- a/deadbeef-plugins/receipt	Mon Apr 08 19:08:56 2019 +0200
     2.2 +++ b/deadbeef-plugins/receipt	Tue Apr 09 12:13:22 2019 +0300
     2.3 @@ -1,24 +1,26 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="deadbeef-plugins"
     2.7 -VERSION="0.5.6"
     2.8 +VERSION="1.8.0"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="Pugins for the Deadbeef audio player (flac, sndfile, lastfm)."
    2.11 +SHORT_DESC="Plugins for the Deadbeef audio player (flac, sndfile, lastfm)."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL2 LGPL2.1"
    2.14  WEB_SITE="http://deadbeef.sourceforge.net/"
    2.15  WANTED="deadbeef"
    2.16  TAGS="music audio player mp3 ogg ape"
    2.17  
    2.18 -DEPENDS="deadbeef flac libsndfile libcurl libssl libcrypto"
    2.19 +DEPENDS="deadbeef bzlib flac libcddb libcdio libcurl libjpeg libogg libpng \
    2.20 +libsamplerate libsndfile libzip zlib"
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr/lib/deadbeef
    2.26 -	cp -a $install/usr/lib/deadbeef/*.so* $fs/usr/lib/deadbeef
    2.27 -	for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
    2.28 -	do
    2.29 -		rm $fs/usr/lib/deadbeef/$l.so*
    2.30 +	mkdir -p $fs/usr/lib/deadbeef/
    2.31 +	cp -a $install/usr/lib/deadbeef/*.so $fs/usr/lib/deadbeef
    2.32 +	for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3; do
    2.33 +		rm $fs/usr/lib/deadbeef/$i.so
    2.34  	done
    2.35 +	cp -a $install/usr/lib/deadbeef/convpresets/ $fs/usr/lib/deadbeef/
    2.36 +	cp -a $install/usr/lib/deadbeef/data68/      $fs/usr/lib/deadbeef/
    2.37  }
     3.1 --- a/deadbeef/receipt	Mon Apr 08 19:08:56 2019 +0200
     3.2 +++ b/deadbeef/receipt	Tue Apr 09 12:13:22 2019 +0300
     3.3 @@ -1,41 +1,52 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="deadbeef"
     3.7 -VERSION="0.5.6"
     3.8 +VERSION="1.8.0"
     3.9  CATEGORY="multimedia"
    3.10 +TAGS="music audio player mp3 ogg ape"
    3.11  SHORT_DESC="Simple to use GTK+ audio player with systray support."
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="GPL2 LGPL2.1"
    3.14 -SUGGESTED="deadbeef-plugins"
    3.15 +WEB_SITE="http://deadbeef.sourceforge.net/"
    3.16 +
    3.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.18 -WEB_SITE="http://deadbeef.sourceforge.net/"
    3.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.20 -TAGS="music audio player mp3 ogg ape"
    3.21  
    3.22 -DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
    3.23  BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
    3.24  libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
    3.25 -libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
    3.26 +libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev \
    3.27 +gettext jansson-dev zlib-dev"
    3.28 +
    3.29 +DEPENDS="alsa-lib atk cairo fontconfig freetype gdk-pixbuf glib gtk+ jansson \
    3.30 +libgio libmad libvorbis pango xorg-libX11"
    3.31 +SUGGESTED="deadbeef-plugins"
    3.32  
    3.33  # Rules to configure and make the package.
    3.34  compile_rules()
    3.35  {
    3.36 -	sed -i 's/zip_file_t/ddb_&/g' plugins/vfs_zip/vfs_zip.c
    3.37 -	./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS && 
    3.38 -	make && make install
    3.39 +	./configure $CONFIGURE_ARGS &&
    3.40 +	make &&
    3.41 +	make install
    3.42  }
    3.43  
    3.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.45  genpkg_rules()
    3.46  {
    3.47 -	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc
    3.48 -	cp -a $install/usr/bin $fs/usr
    3.49 -	for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
    3.50 -	do
    3.51 -		cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
    3.52 +	mkdir -p $fs/usr/
    3.53 +	cp -a $install/usr/bin/ $fs/usr/
    3.54 +
    3.55 +	mkdir -p $fs/usr/lib/deadbeef/
    3.56 +	for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3; do
    3.57 +		cp -a $install/usr/lib/deadbeef/$i.so $fs/usr/lib/deadbeef/
    3.58  	done
    3.59 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    3.60 -	cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc
    3.61 -	cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
    3.62 -		$fs/usr/share/pixmaps
    3.63 +
    3.64 +	mkdir -p $fs/usr/share/
    3.65 +	for i in applications doc deadbeef; do
    3.66 +		cp -a $install/usr/share/$i/ $fs/usr/share/
    3.67 +	done
    3.68 +
    3.69 +	mkdir -p $fs/usr/share/icons/hicolor/
    3.70 +	for i in 16 48; do
    3.71 +		cp -a $install/usr/share/icons/hicolor/${i}x$i/ $fs/usr/share/icons/hicolor/
    3.72 +	done
    3.73  }