wok annotate audacious/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" |
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" |
slaxemulator@12322 | 13 WGET_URL="http://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 |
mimas@2030 | 21 # Rules to configure and make the package. |
mimas@2030 | 22 compile_rules() |
mimas@2030 | 23 { |
Hans-G?nter@22519 | 24 # sed -i "s/touch -t 0001010000 /touch /g" configure |
al@19275 | 25 |
Hans-G?nter@24332 | 26 # 4.1 --disable-qt because else Qt5 is required |
Hans-G?nter@22519 | 27 ./configure \ |
Hans-G?nter@22519 | 28 CC=gcc-83 \ |
Hans-G?nter@22519 | 29 CXX=g++-83 \ |
Hans-G?nter@22519 | 30 --prefix=/usr \ |
Hans-G?nter@22519 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@22519 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@24332 | 33 --disable-qt \ |
slaxemulator@5364 | 34 $CONFIGURE_ARGS && |
slaxemulator@5364 | 35 make && |
Hans-G?nter@24332 | 36 make install DESTDIR=$DESTDIR |
mimas@2030 | 37 } |
mimas@2030 | 38 |
mimas@2030 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2030 | 40 genpkg_rules() |
mimas@2030 | 41 { |
Hans-G?nter@24332 | 42 mkdir -p $fs/usr/bin |
Hans-G?nter@24332 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@22519 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@22519 | 45 |
Hans-G?nter@22519 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22519 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
Hans-G?nter@22519 | 48 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@24332 | 49 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE |
al@14789 | 50 find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \; |
mimas@2030 | 51 } |