wok view deadbeef/receipt @ rev 20617

Update granite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 17:06:17 2018 +0100 (2018-12-25)
parents 860ce5da84ab
children 170bfd11ff16
line source
1 # SliTaz package receipt.
3 PACKAGE="deadbeef"
4 VERSION="0.5.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple to use GTK+ audio player with systray support."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 SUGGESTED="deadbeef-plugins"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://deadbeef.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="music audio player mp3 ogg ape"
15 DEPENDS="gtk+ alsa-lib libogg libvorbis libsamplerate libmad"
16 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
17 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
18 libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/zip_file_t/ddb_&/g' plugins/vfs_zip/vfs_zip.c
24 ./configure CFLAGS="-I/usr/lib/libzip/include" $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps $fs/usr/share/doc
32 cp -a $install/usr/bin $fs/usr
33 for l in alsa ddb_gui_GTK2 hotkeys vorbis mpgmad
34 do
35 cp -a $install/usr/lib/$PACKAGE/$l.so* $fs/usr/lib/$PACKAGE
36 done
37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
38 cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share/doc
39 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
40 $fs/usr/share/pixmaps
41 }