wok annotate audacious/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 21f65cda07b9
children
rev   line source
mimas@2030 1 # SliTaz package receipt.
mimas@2030 2
mimas@2030 3 PACKAGE="audacious"
Hans-G?nter@24332 4 VERSION="4.1"
mimas@2030 5 CATEGORY="multimedia"
Hans-G?nter@22519 6 TAGS="music audio player mp3 ogg"
Hans-G?nter@22519 7 SHORT_DESC="Music player like xmms."
mimas@2030 8 MAINTAINER="mimas@slitaz.org"
pascal@15023 9 LICENSE="GPL"
pascal@20669 10 WEB_SITE="https://audacious-media-player.org/"
Hans-G?nter@22519 11
pascal@15861 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24972 13 WGET_URL="https://distfiles.audacious-media-player.org/$TARBALL"
mimas@2030 14
Hans-G?nter@24332 15 SUGGESTED="audacious-lang audacious-plugins"
Hans-G?nter@24332 16 DEPENDS="dbus-glib gcc83-lib-base gtk+ libmcs libmowgli libsamplerate
Hans-G?nter@24332 17 libxml2 xorg-libXdamage"
Hans-G?nter@24332 18 BUILD_DEPENDS="dbus-dev dbus-glib-dev gcc83 gtk+-dev libmcs libmcs-dev
Hans-G?nter@22519 19 libmowgli libmowgli-dev libsamplerate-dev libxml2-dev"
pascal@15023 20
pascal@24334 21 # What is the latest version available today?
pascal@24334 22 current_version()
pascal@24334 23 {
pascal@24334 24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24334 25 sed "/beta/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24334 26 }
pascal@24334 27
mimas@2030 28 # Rules to configure and make the package.
mimas@2030 29 compile_rules()
mimas@2030 30 {
Hans-G?nter@22519 31 # sed -i "s/touch -t 0001010000 /touch /g" configure
al@19275 32
Hans-G?nter@24332 33 # 4.1 --disable-qt because else Qt5 is required
Hans-G?nter@22519 34 ./configure \
Hans-G?nter@22519 35 CC=gcc-83 \
Hans-G?nter@22519 36 CXX=g++-83 \
Hans-G?nter@22519 37 --prefix=/usr \
Hans-G?nter@22519 38 --infodir=/usr/share/info \
Hans-G?nter@22519 39 --mandir=/usr/share/man \
Hans-G?nter@24332 40 --disable-qt \
slaxemulator@5364 41 $CONFIGURE_ARGS &&
slaxemulator@5364 42 make &&
Hans-G?nter@24332 43 make install DESTDIR=$DESTDIR
mimas@2030 44 }
mimas@2030 45
mimas@2030 46 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2030 47 genpkg_rules()
mimas@2030 48 {
Hans-G?nter@24332 49 mkdir -p $fs/usr/bin
Hans-G?nter@24332 50 mkdir -p $fs/usr/lib
Hans-G?nter@22519 51 mkdir -p $fs/usr/share
Hans-G?nter@22519 52
Hans-G?nter@22519 53 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22519 54 cp -a $install/usr/lib/*.so* $fs/usr/lib/
Hans-G?nter@22519 55 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@24332 56 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
al@14789 57 find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \;
mimas@2030 58 }