wok diff deadbeef/receipt @ rev 22491

updated apr and apr-dev (1.4.6 -> 1.7.0)
author Hans-G?nter Theisgen
date Tue Dec 31 14:21:42 2019 +0100 (2019-12-31)
parents d31e573c32ca
children 7f25ad61db56
line diff
     1.1 --- a/deadbeef/receipt	Mon Jan 29 18:21:21 2018 +0100
     1.2 +++ b/deadbeef/receipt	Tue Dec 31 14:21:42 2019 +0100
     1.3 @@ -1,41 +1,52 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="deadbeef"
     1.7 -VERSION="0.5.6"
     1.8 +VERSION="1.8.0"
     1.9  CATEGORY="multimedia"
    1.10 +TAGS="music audio player mp3 ogg ape"
    1.11  SHORT_DESC="Simple to use GTK+ audio player with systray support."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2.1"
    1.14 -SUGGESTED="deadbeef-plugins"
    1.15 +WEB_SITE="http://deadbeef.sourceforge.net/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://deadbeef.sourceforge.net/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="music audio player mp3 ogg ape"
    1.21  
    1.22 -DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
    1.23  BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
    1.24  libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
    1.25 -libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
    1.26 +libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev \
    1.27 +gettext jansson-dev zlib-dev"
    1.28 +
    1.29 +DEPENDS="alsa-lib atk cairo fontconfig freetype gdk-pixbuf glib gtk+ jansson \
    1.30 +libgio libmad libvorbis pango xorg-libX11"
    1.31 +SUGGESTED="deadbeef-plugins"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	sed -i 's/zip_file_t/ddb_&/g' plugins/vfs_zip/vfs_zip.c
    1.37 -	./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS && 
    1.38 -	make && make install
    1.39 +	./configure $CONFIGURE_ARGS &&
    1.40 +	make &&
    1.41 +	make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
    1.50 -	do
    1.51 -		cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
    1.52 +	mkdir -p $fs/usr/
    1.53 +	cp -a $install/usr/bin/ $fs/usr/
    1.54 +
    1.55 +	mkdir -p $fs/usr/lib/deadbeef/
    1.56 +	for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3; do
    1.57 +		cp -a $install/usr/lib/deadbeef/$i.so $fs/usr/lib/deadbeef/
    1.58  	done
    1.59 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.60 -	cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc
    1.61 -	cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
    1.62 -		$fs/usr/share/pixmaps
    1.63 +
    1.64 +	mkdir -p $fs/usr/share/
    1.65 +	for i in applications doc deadbeef; do
    1.66 +		cp -a $install/usr/share/$i/ $fs/usr/share/
    1.67 +	done
    1.68 +
    1.69 +	mkdir -p $fs/usr/share/icons/hicolor/
    1.70 +	for i in 16 48; do
    1.71 +		cp -a $install/usr/share/icons/hicolor/${i}x$i/ $fs/usr/share/icons/hicolor/
    1.72 +	done
    1.73  }