wok-next annotate 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
rev   line source
al@19868 1 # SliTaz package receipt v2.
pankso@5639 2
pankso@5639 3 PACKAGE="deadbeef"
al@19868 4 VERSION="0.7.2"
pankso@5639 5 CATEGORY="multimedia"
al@19868 6 SHORT_DESC="Simple to use GTK+ audio player with systray support"
pankso@5639 7 MAINTAINER="pankso@slitaz.org"
pascal@15021 8 LICENSE="GPL2 LGPL2.1"
al@19868 9 WEB_SITE="http://deadbeef.sourceforge.net/"
al@19868 10
pankso@5639 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@5639 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15021 13
pankso@9961 14 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libogg-dev libvorbis-dev libmad-dev \
slaxemulator@11022 15 libsndfile-dev libsamplerate-dev flac-dev curl-dev libcdio-dev \
pascal@15635 16 libcddb-dev intltool libsndfile libcurl yasm libzip-dev util-linux-uuid-dev"
al@19868 17 SPLIT="deadbeef-plugins deadbeef-dev"
pankso@9961 18
al@19868 19 BUILD_DEPENDS="gettext intltool yasm zlib-dev jansson-dev gtk+-dev \
al@19868 20 alsa-lib-dev dbus-dev curl-dev libmad-dev libvorbis-dev libogg-dev flac-dev \
al@19868 21 libsndfile-dev libcdio-dev libcddb-dev cdparanoia-III-dev xorg-libX11-dev \
al@19868 22 imlib2-dev libjpeg-turbo-dev libpng16-dev libsamplerate-dev faad2-dev "
al@19868 23 SPLIT="deadbeef-plugins deadbeef-dev"
al@19868 24
al@19868 25 compile_rules() {
al@19868 26 ./configure $CONFIGURE_ARGS && make && make install
pankso@5639 27 }
pankso@5639 28
al@19868 29 genpkg_rules() {
al@19868 30 case $PACKAGE in
al@19868 31 deadbeef)
al@19868 32 # only limited set of plugins
al@19868 33 copy bin/ applications/ pixmaps/ \
al@19868 34 alsa.so ddb_gui_GTK2.so hotkeys.so m3u.so mms.so mp3.so notify.so \
al@19868 35 supereq.so vorbis.so
al@19868 36 cook_copy_icons
al@19868 37 DEPENDS="alsa-lib atk cairo dbus fontconfig freetype gdk-pixbuf \
al@19868 38 glib gtk+ jansson libmad libvorbis pango xorg-libX11"
al@19868 39 SUGGESTED="deadbeef-plugins"
al@19868 40 TAGS="music audio player mp3 ogg ape"
al@19868 41 ;;
al@19868 42 deadbeef-plugins)
al@19868 43 copy @std
al@19868 44 remove_already_packed; rm -r $fs/usr/share
al@19868 45 CAT="multimedia|extra plugins"
al@19868 46 DEPENDS="deadbeef faad2 flac imlib2 libcddb libcdio libcurl \
al@19868 47 libogg libsamplerate libsndfile zlib"
al@19868 48 TAGS="music audio player mp3 ogg ape"
al@19868 49 ;;
al@19868 50 *-dev)
al@19868 51 copy @dev
al@19868 52 DEPENDS="deadbeef deadbeef-plugins \
al@19868 53 alsa-lib-dev atk-dev bzip2-dev cairo-dev curl-dev dbus-dev \
al@19868 54 faad2-dev flac-dev fontconfig-dev freetype-dev gdk-pixbuf-dev \
al@19868 55 glib-dev gtk+-dev harfbuzz-dev imlib2-dev jansson-dev libcddb-dev \
al@19868 56 libcdio-dev libffi-dev libidn2-dev libmad-dev libogg-dev \
al@19868 57 libpng16-dev libsamplerate-dev libsndfile-dev libssh2-dev \
al@19868 58 libvorbis-dev libxml2-dev openssl-dev pango-dev pcre-dev \
al@19868 59 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
al@19868 60 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
al@19868 61 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
al@19868 62 ;;
al@19868 63 esac
pankso@5639 64 }