wok-6.x annotate potamus/receipt @ rev 17172
Up firefox-official (32.0.3) CVE-2014-1568
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 25 15:28:17 2014 +0200 (2014-09-25) |
parents | 72aaebadf37a |
children | f3e5f6a3ef9a |
rev | line source |
---|---|
pankso@16562 | 1 # SliTaz package receipt. |
pankso@16562 | 2 |
pankso@16562 | 3 PACKAGE="potamus" |
pankso@16562 | 4 VERSION="15" |
pankso@16562 | 5 CATEGORY="multimedia" |
pankso@16562 | 6 SHORT_DESC="Unbloated and easy to use GTK+ Audio player." |
pankso@16562 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16562 | 8 LICENSE="GPL3" |
pankso@16562 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16562 | 10 WEB_SITE="http://offog.org/code/potamus/" |
pankso@16562 | 11 WGET_URL="http://offog.org/files/$TARBALL" |
pankso@16562 | 12 TAGS="music audio player mp3 ogg flac" |
pankso@16562 | 13 HOST_ARCH="i486 arm" |
pankso@16562 | 14 |
pankso@16563 | 15 DEPENDS="gtk+ libglade alsa-lib libmad libogg libvorbis libsamplerate" |
pankso@16562 | 16 BUILD_DEPENDS="gtk+-dev libglade-dev alsa-lib-dev libmad-dev \ |
pankso@16563 | 17 libogg-dev libvorbis-dev libsamplerate-dev" |
pankso@16563 | 18 |
pankso@16563 | 19 # Handle arch install |
pankso@16563 | 20 case "$SLTAZ_ARCH" in |
pankso@16563 | 21 i?86) DEPENDS="$DEPENDS flac" ;; |
pankso@16563 | 22 esac |
pankso@16562 | 23 |
pankso@16562 | 24 # Handle cross compilation. |
pankso@16562 | 25 case "$ARCH" in |
pankso@16562 | 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; |
pankso@16562 | 27 arm*) ARCH_ARGS="--disable-input-flac" ;; |
pankso@16562 | 28 esac |
pankso@16562 | 29 |
pankso@16562 | 30 # Rules to configure and make the package. |
pankso@16562 | 31 compile_rules() |
pankso@16562 | 32 { |
pankso@16564 | 33 # libmad for MP3 |
pankso@16562 | 34 ./configure \ |
pankso@16562 | 35 --disable-input-modplug \ |
pankso@16564 | 36 --disable-input-audiofile \ |
pankso@16564 | 37 --disable-input-opus \ |
pankso@16564 | 38 --disable-output-ao \ |
pankso@16564 | 39 --disable-output-jack \ |
pankso@16562 | 40 $CONFIGURE_ARGS ${ARCH_ARGS} && |
pankso@16562 | 41 make && make install && |
pankso@16562 | 42 sed -i s'/Name=.*/Name=Potamus Audio Player/' \ |
pankso@16562 | 43 ${DESTDIR}/usr/share/applications/*.desktop |
pankso@16562 | 44 } |
pankso@16562 | 45 |
pankso@16562 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16562 | 47 genpkg_rules() |
pankso@16562 | 48 { |
pankso@16562 | 49 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pankso@16562 | 50 cp -a $install/usr/bin $fs/usr |
pankso@16562 | 51 cp -a $install/usr/share/${PACKAGE} $fs/usr/share |
pankso@16562 | 52 cp -a $install/usr/share/icons/hicolor/48x48/*/${PACKAGE}.png \ |
pankso@16562 | 53 $fs/usr/share/pixmaps |
pankso@16562 | 54 |
pankso@16562 | 55 } |
pankso@16562 | 56 |