wok annotate audacious-plugins/receipt @ rev 24332

updated audacious packages (3.10.1 -> 4.1)
author Hans-G?nter Theisgen
date Thu Jan 27 17:51:18 2022 +0100 (2022-01-27)
parents 190336ee1571
children 21f65cda07b9
rev   line source
mimas@2030 1 # SliTaz package receipt.
mimas@2030 2
mimas@2030 3 PACKAGE="audacious-plugins"
Hans-G?nter@24332 4 VERSION="4.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@24332 14 SUGGESTED="lame libmms neon"
Hans-G?nter@24332 15 DEPENDS="alsa-lib curl dbus-glib faad2 flac gcc83-lib-base gtk+ libav
Hans-G?nter@24332 16 libcdio libcomerr3 libmad libogg libsndfile libvorbis libxml2
Hans-G?nter@24332 17 mpg123 neon taglib wavpack"
Hans-G?nter@24332 18 BUILD_DEPENDS="alsa-lib-dev audacious-dev audacious curl-dev dbus-glib-dev
Hans-G?nter@24332 19 faad2-dev flac-dev gcc83 gtk+-dev lame-dev libav-dev libmad-dev
Hans-G?nter@24332 20 libmcs-dev libmowgli-dev libogg-dev libsamplerate-dev
Hans-G?nter@24332 21 libvorbis-dev libxml2-dev mesa-dev mpg123-dev neon-dev wavpack-dev"
erjo@9911 22
mimas@2030 23 # Rules to configure and make the package.
mimas@2030 24 compile_rules()
mimas@2030 25 {
Hans-G?nter@22519 26 # sed -i "s/touch -t 0001010000 /touch /g" configure
erjo@9911 27 #XML_CFLAGS=-I/usr/include/libxml2
Hans-G?nter@22519 28
Hans-G?nter@24332 29 # 4.1 --disable-qt because else Qt5 is required
Hans-G?nter@24332 30
Hans-G?nter@22519 31 ./configure \
Hans-G?nter@22519 32 CC=gcc-83 \
Hans-G?nter@22519 33 CXX=g++-83 \
Hans-G?nter@22519 34 --prefix=/usr \
Hans-G?nter@22519 35 --infodir=/usr/share/info \
Hans-G?nter@22519 36 --mandir=/usr/share/man \
Hans-G?nter@22519 37 --disable-bluetooth \
Hans-G?nter@22519 38 --disable-esd \
Hans-G?nter@22519 39 --disable-evdevplug \
Hans-G?nter@22519 40 --disable-ffaudio \
Hans-G?nter@24332 41 --with-ffmpeg=none \
Hans-G?nter@22519 42 --disable-icecast \
Hans-G?nter@22519 43 --disable-jack \
Hans-G?nter@22519 44 --disable-lirc \
Hans-G?nter@22519 45 --disable-mtp_up \
Hans-G?nter@22519 46 --disable-paranormal \
Hans-G?nter@22519 47 --disable-projectm \
Hans-G?nter@22519 48 --disable-projectm-1.0 \
Hans-G?nter@22519 49 --disable-pulse \
Hans-G?nter@24332 50 --disable-qt \
Hans-G?nter@22519 51 --disable-rocklight \
Hans-G?nter@22519 52 --disable-sse2 \
Hans-G?nter@22519 53 --disable-timidity \
Hans-G?nter@22519 54 --enable-chardet \
pascal@2491 55 $CONFIGURE_ARGS &&
pascal@2491 56 make &&
Hans-G?nter@24332 57 make install DESTDIR=$DESTDIR
mimas@2030 58 }
mimas@2030 59
mimas@2030 60 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2030 61 genpkg_rules()
mimas@2030 62 {
Hans-G?nter@24332 63 cook_copy_folders lib
Hans-G?nter@22519 64
Hans-G?nter@24332 65 # 4.1 moved to package audacious-lang
Hans-G?nter@22519 66 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@24332 67 # . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22519 68
Hans-G?nter@22519 69 # Copy message files in wanted languages, if available
Hans-G?nter@24332 70 # for locale in $LOCALE_PACK
Hans-G?nter@24332 71 # do
Hans-G?nter@24332 72 # [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@24332 73 # mkdir -p $fs/usr/share/locale
Hans-G?nter@24332 74 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@24332 75 # done
mimas@2030 76 }