wok-current annotate audacious/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
parents 7f39549720b8
children a78610b2eb47
rev   line source
mimas@2030 1 # SliTaz package receipt.
mimas@2030 2
mimas@2030 3 PACKAGE="audacious"
slaxemulator@15857 4 VERSION="3.4.3"
mimas@2030 5 CATEGORY="multimedia"
mimas@2030 6 SHORT_DESC="Music player like xmms"
mimas@2030 7 MAINTAINER="mimas@slitaz.org"
pascal@15023 8 LICENSE="GPL"
al@19275 9 WEB_SITE="http://audacious-media-player.org/"
pascal@15861 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@12322 11 WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
jozee@3564 12 TAGS="music audio player mp3 ogg"
mimas@2030 13
slaxemulator@15857 14 DEPENDS="gtk+3 libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate"
al@19275 15 BUILD_DEPENDS="gtk+3-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev \
al@19275 16 dbus-glib-dev libxml2-dev libsamplerate-dev"
pascal@15023 17
mimas@2030 18 # Rules to configure and make the package.
mimas@2030 19 compile_rules()
mimas@2030 20 {
jozee@3485 21 sed -i "s/touch -t 0001010000 /touch /g" configure
al@19275 22
mimas@2030 23 ./configure \
mimas@2030 24 --prefix=/usr \
mimas@2030 25 --infodir=/usr/share/info \
mimas@2030 26 --mandir=/usr/share/man \
mimas@2030 27 --disable-sse2 \
slaxemulator@5364 28 $CONFIGURE_ARGS &&
slaxemulator@5364 29 make &&
slaxemulator@10105 30 make DESTDIR=$DESTDIR install
mimas@2030 31 }
mimas@2030 32
mimas@2030 33 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2030 34 genpkg_rules()
mimas@2030 35 {
slaxemulator@5364 36 mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
slaxemulator@11003 37 cp -a $install/usr/bin $fs/usr
slaxemulator@11003 38 cp -a $install/usr/lib/*.so* $fs/usr/lib/
slaxemulator@11003 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@9697 40 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
al@14789 41 find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \;
mimas@2030 42 }