wok-current annotate audacious-plugins/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents a78610b2eb47
children 4e9e2372bd7f
rev   line source
mimas@2030 1 # SliTaz package receipt.
mimas@2030 2
mimas@2030 3 PACKAGE="audacious-plugins"
Hans-G?nter@22519 4 VERSION="3.10.1"
mimas@2030 5 CATEGORY="multimedia"
Hans-G?nter@22519 6 SHORT_DESC="Plugins for audacious music player."
pankso@2044 7 MAINTAINER="mimas@slitaz.org"
pascal@15379 8 LICENSE="MIT"
Hans-G?nter@22519 9 WEB_SITE="https://audacious-media-player.org/"
Hans-G?nter@22519 10
pascal@15863 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@12323 12 WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
mimas@2030 13
Hans-G?nter@22519 14 SUGGESTED="lame neon libmms"
Hans-G?nter@22519 15 DEPENDS="alsa-lib curl dbus-glib faad2 flac gcc83-lib-base gtk+
Hans-G?nter@22519 16 libcdio libcomerr3 libmad libogg libsndfile libvorbis
Hans-G?nter@22519 17 libxml2 mpg123 neon taglib wavpack"
Hans-G?nter@22519 18 BUILD_DEPENDS="alsa-lib-dev audacious audacious-dev curl-dev
Hans-G?nter@22519 19 dbus-glib-dev faad2-dev flac-dev gcc83 gtk+-dev lame-dev
Hans-G?nter@22519 20 libmad-dev libmcs-dev libmowgli-dev libogg-dev
Hans-G?nter@22519 21 libsamplerate-dev libvorbis-dev libxml2-dev mesa-dev
Hans-G?nter@22519 22 mpg123-dev neon-dev wavpack-dev"
erjo@9911 23
mimas@2030 24 # Rules to configure and make the package.
mimas@2030 25 compile_rules()
mimas@2030 26 {
Hans-G?nter@22519 27 # sed -i "s/touch -t 0001010000 /touch /g" configure
erjo@9911 28 #XML_CFLAGS=-I/usr/include/libxml2
Hans-G?nter@22519 29
Hans-G?nter@22519 30 ./configure \
Hans-G?nter@22519 31 CC=gcc-83 \
Hans-G?nter@22519 32 CXX=g++-83 \
Hans-G?nter@22519 33 --prefix=/usr \
Hans-G?nter@22519 34 --infodir=/usr/share/info \
Hans-G?nter@22519 35 --mandir=/usr/share/man \
Hans-G?nter@22519 36 --disable-bluetooth \
Hans-G?nter@22519 37 --disable-esd \
Hans-G?nter@22519 38 --disable-evdevplug \
Hans-G?nter@22519 39 --disable-ffaudio \
Hans-G?nter@22519 40 --disable-icecast \
Hans-G?nter@22519 41 --disable-jack \
Hans-G?nter@22519 42 --disable-lirc \
Hans-G?nter@22519 43 --disable-mtp_up \
Hans-G?nter@22519 44 --disable-paranormal \
Hans-G?nter@22519 45 --disable-projectm \
Hans-G?nter@22519 46 --disable-projectm-1.0 \
Hans-G?nter@22519 47 --disable-pulse \
Hans-G?nter@22519 48 --disable-rocklight \
Hans-G?nter@22519 49 --disable-sse2 \
Hans-G?nter@22519 50 --disable-timidity \
Hans-G?nter@22519 51 --enable-chardet \
Hans-G?nter@22519 52 --with-ffmpeg=none \
pascal@2491 53 $CONFIGURE_ARGS &&
pascal@2491 54 make &&
erjo@9911 55 make DESTDIR=$DESTDIR install
mimas@2030 56 }
mimas@2030 57
mimas@2030 58 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2030 59 genpkg_rules()
mimas@2030 60 {
mimas@2030 61 mkdir -p $fs/usr/share/locale
Hans-G?nter@22519 62
Hans-G?nter@22519 63 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22519 64
Hans-G?nter@22519 65 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@22519 66 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22519 67
Hans-G?nter@22519 68 # Copy message files in wanted languages, if available
Hans-G?nter@22519 69 for locale in $LOCALE_PACK
Hans-G?nter@22519 70 do
Hans-G?nter@22519 71 [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@22519 72 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@22519 73 done
mimas@2030 74 }