wok annotate aqualung/receipt @ rev 25222
updated python-pyajam ( -> 0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:19:37 2022 +0100 (2022-07-13) |
parents | 964bcabe7e8c |
children | 343c093ad221 |
rev | line source |
---|---|
pankso@3956 | 1 # SliTaz package receipt. |
pankso@3956 | 2 |
pankso@3956 | 3 PACKAGE="aqualung" |
Hans-G?nter@24321 | 4 VERSION="1.1" |
pankso@3956 | 5 CATEGORY="multimedia" |
Hans-G?nter@24321 | 6 TAGS="music audio player mp3 ogg" |
pankso@3956 | 7 SHORT_DESC="Aqualung audio player." |
pankso@3956 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@24321 | 10 WEB_SITE="https://aqualung.jeremyevans.net/" |
Hans-G?nter@20720 | 11 |
pankso@3956 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24321 | 13 WGET_URL="https://github.com/jeremyevans/$PACKAGE/archive/refs/tags/$VERSION.tar.gz" |
pankso@3956 | 14 |
Hans-G?nter@24321 | 15 SUGGESTED="aqualung-lang" |
Hans-G?nter@24321 | 16 DEPENDS="alsa-lib bzlib flac gtk+ lame libcdio libmad libmodplug libogg |
Hans-G?nter@24321 | 17 libsamplerate libsndfile libvorbis" |
Hans-G?nter@24322 | 18 BUILD_DEPENDS="alsa-lib-dev automake bzip2-dev flac-dev gtk+-dev lame-dev libmad-dev |
Hans-G?nter@24321 | 19 libogg-dev libsamplerate-dev libsndfile-dev libvorbis-dev libxml2-dev" |
pankso@9823 | 20 |
pascal@24326 | 21 # What is the latest version available today? |
pascal@24326 | 22 current_version() |
pascal@24326 | 23 { |
pascal@24326 | 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24326 | 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24326 | 26 } |
pascal@24326 | 27 |
pankso@3956 | 28 # Rules to configure and make the package. |
pankso@3956 | 29 compile_rules() |
pankso@3956 | 30 { |
Hans-G?nter@24321 | 31 # Trying to create ~/.config when ~/.config already exists |
Hans-G?nter@24321 | 32 # aborts program. |
Hans-G?nter@24321 | 33 # In SliTaz ~/.config should already exist. |
Hans-G?nter@24321 | 34 patch --strip=0 --input=$stuff/patches/core.c-1.1 |
Hans-G?nter@24321 | 35 |
Hans-G?nter@24322 | 36 ./autogen.sh && |
Hans-G?nter@24321 | 37 ./configure \ |
Hans-G?nter@24321 | 38 --with-lavc=no \ |
pankso@9823 | 39 --with-jack=no && |
Hans-G?nter@20720 | 40 make && |
Hans-G?nter@20720 | 41 make install |
pankso@3956 | 42 } |
pankso@3956 | 43 |
pankso@3956 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3956 | 45 genpkg_rules() |
pankso@3956 | 46 { |
pankso@3956 | 47 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@24321 | 48 |
Hans-G?nter@24321 | 49 cook_copy_folders bin |
Hans-G?nter@24321 | 50 cook_copy_folders aqualung |
Hans-G?nter@24321 | 51 |
Hans-G?nter@24321 | 52 # Remove documentation |
Hans-G?nter@24321 | 53 rm -rf $fs/usr/share/doc |
Hans-G?nter@24321 | 54 |
pankso@3956 | 55 cd $fs/usr/share/pixmaps |
Hans-G?nter@24321 | 56 ln -s ../aqualung/general.png aqualung.png |
pankso@3956 | 57 } |