wok-next view deadbeef/receipt @ rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents 860ce5da84ab
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="deadbeef"
4 VERSION="0.7.2"
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 WEB_SITE="http://deadbeef.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
15 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
16 libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
17 SPLIT="deadbeef-plugins deadbeef-dev"
19 BUILD_DEPENDS="gettext intltool yasm zlib-dev jansson-dev gtk+-dev \
20 alsa-lib-dev dbus-dev curl-dev libmad-dev libvorbis-dev libogg-dev flac-dev \
21 libsndfile-dev libcdio-dev libcddb-dev cdparanoia-III-dev xorg-libX11-dev \
22 imlib2-dev libjpeg-turbo-dev libpng16-dev libsamplerate-dev faad2-dev "
23 SPLIT="deadbeef-plugins deadbeef-dev"
25 compile_rules() {
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 deadbeef)
32 # only limited set of plugins
33 copy bin/ applications/ pixmaps/ \
34 alsa.so ddb_gui_GTK2.so hotkeys.so m3u.so mms.so mp3.so notify.so \
35 supereq.so vorbis.so
36 cook_copy_icons
37 DEPENDS="alsa-lib atk cairo dbus fontconfig freetype gdk-pixbuf \
38 glib gtk+ jansson libmad libvorbis pango xorg-libX11"
39 SUGGESTED="deadbeef-plugins"
40 TAGS="music audio player mp3 ogg ape"
41 ;;
42 deadbeef-plugins)
43 copy @std
44 remove_already_packed; rm -r $fs/usr/share
45 CAT="multimedia|extra plugins"
46 DEPENDS="deadbeef faad2 flac imlib2 libcddb libcdio libcurl \
47 libogg libsamplerate libsndfile zlib"
48 TAGS="music audio player mp3 ogg ape"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="deadbeef deadbeef-plugins \
53 alsa-lib-dev atk-dev bzip2-dev cairo-dev curl-dev dbus-dev \
54 faad2-dev flac-dev fontconfig-dev freetype-dev gdk-pixbuf-dev \
55 glib-dev gtk+-dev harfbuzz-dev imlib2-dev jansson-dev libcddb-dev \
56 libcdio-dev libffi-dev libidn2-dev libmad-dev libogg-dev \
57 libpng16-dev libsamplerate-dev libsndfile-dev libssh2-dev \
58 libvorbis-dev libxml2-dev openssl-dev pango-dev pcre-dev \
59 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
60 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
61 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
62 ;;
63 esac
64 }