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

Update some deps using gcc83-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 08:24:48 2022 +0000 (2022-07-17)
parents 21f65cda07b9
children
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"
pascal@24973 12 WGET_URL="https://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
pascal@24334 23 # What is the latest version available today?
pascal@24334 24 current_version()
pascal@24334 25 {
pascal@24334 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24334 27 sed "/beta/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24334 28 }
pascal@24334 29
mimas@2030 30 # Rules to configure and make the package.
mimas@2030 31 compile_rules()
mimas@2030 32 {
Hans-G?nter@22519 33 # sed -i "s/touch -t 0001010000 /touch /g" configure
erjo@9911 34 #XML_CFLAGS=-I/usr/include/libxml2
Hans-G?nter@22519 35
Hans-G?nter@24332 36 # 4.1 --disable-qt because else Qt5 is required
Hans-G?nter@24332 37
Hans-G?nter@22519 38 ./configure \
Hans-G?nter@22519 39 CC=gcc-83 \
Hans-G?nter@22519 40 CXX=g++-83 \
Hans-G?nter@22519 41 --prefix=/usr \
Hans-G?nter@22519 42 --infodir=/usr/share/info \
Hans-G?nter@22519 43 --mandir=/usr/share/man \
Hans-G?nter@22519 44 --disable-bluetooth \
Hans-G?nter@22519 45 --disable-esd \
Hans-G?nter@22519 46 --disable-evdevplug \
Hans-G?nter@22519 47 --disable-ffaudio \
Hans-G?nter@24332 48 --with-ffmpeg=none \
Hans-G?nter@22519 49 --disable-icecast \
Hans-G?nter@22519 50 --disable-jack \
Hans-G?nter@22519 51 --disable-lirc \
Hans-G?nter@22519 52 --disable-mtp_up \
Hans-G?nter@22519 53 --disable-paranormal \
Hans-G?nter@22519 54 --disable-projectm \
Hans-G?nter@22519 55 --disable-projectm-1.0 \
Hans-G?nter@22519 56 --disable-pulse \
Hans-G?nter@24332 57 --disable-qt \
Hans-G?nter@22519 58 --disable-rocklight \
Hans-G?nter@22519 59 --disable-sse2 \
Hans-G?nter@22519 60 --disable-timidity \
Hans-G?nter@22519 61 --enable-chardet \
pascal@2491 62 $CONFIGURE_ARGS &&
pascal@2491 63 make &&
Hans-G?nter@24332 64 make install DESTDIR=$DESTDIR
mimas@2030 65 }
mimas@2030 66
mimas@2030 67 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2030 68 genpkg_rules()
mimas@2030 69 {
Hans-G?nter@24332 70 cook_copy_folders lib
Hans-G?nter@22519 71
Hans-G?nter@24332 72 # 4.1 moved to package audacious-lang
Hans-G?nter@22519 73 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@24332 74 # . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22519 75
Hans-G?nter@22519 76 # Copy message files in wanted languages, if available
Hans-G?nter@24332 77 # for locale in $LOCALE_PACK
Hans-G?nter@24332 78 # do
Hans-G?nter@24332 79 # [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@24332 80 # mkdir -p $fs/usr/share/locale
Hans-G?nter@24332 81 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@24332 82 # done
mimas@2030 83 }