wok view potamus/receipt @ rev 21527

updated ncurses-dev again (5.9 -> 6.1)
author Hans-G?nter Theisgen
date Sat May 04 11:35:52 2019 +0100 (2019-05-04)
parents 036843d192f2
children 48fa0606b323
line source
1 # SliTaz package receipt.
3 PACKAGE="potamus"
4 VERSION="15"
5 CATEGORY="multimedia"
6 SHORT_DESC="Unbloated and easy to use GTK+ Audio player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://offog.org/code/potamus/"
11 WGET_URL="http://offog.org/files/$TARBALL"
12 TAGS="music audio player mp3 ogg flac"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ libglade alsa-lib libmad libogg libvorbis libsamplerate"
16 BUILD_DEPENDS="gtk+-dev libglade-dev alsa-lib-dev libmad-dev \
17 libogg-dev libvorbis-dev libsamplerate-dev"
19 # Handle arch install
20 case "$SLTAZ_ARCH" in
21 i?86) DEPENDS="$DEPENDS flac" ;;
22 esac
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev"
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" ;;
28 arm*) ARCH_ARGS="--disable-input-flac" ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 # libmad for MP3
35 ./configure \
36 --disable-input-modplug \
37 --disable-input-audiofile \
38 --disable-input-opus \
39 --disable-output-ao \
40 --disable-output-jack \
41 $CONFIGURE_ARGS ${ARCH_ARGS} &&
42 make && make install &&
43 sed -i s'/Name=.*/Name=Potamus Audio Player/' \
44 ${DESTDIR}/usr/share/applications/*.desktop
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
53 cp -a $install/usr/share/icons/hicolor/48x48/*/${PACKAGE}.png \
54 $fs/usr/share/pixmaps
56 }