wok-current annotate alsaplayer/receipt @ rev 25019

updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed May 18 07:22:38 2022 +0100 (2022-05-18)
parents 68cf96abc146
children 7dd01dedad38
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsaplayer"
slaxemulator@7189 4 VERSION="0.99.81"
pankso@177 5 CATEGORY="multimedia"
pankso@16248 6 SHORT_DESC="Alsa GTK+ PCM audio player."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19275 9 WEB_SITE="http://alsaplayer.sourceforge.net/"
pankso@32 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19275 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13515 12 TAGS="music audio player mp3 ogg flac"
pankso@16248 13 HOST_ARCH="i486 arm"
pascal@13515 14
pankso@16248 15 SUGGESTED="alsaplayer-scopes libid3tag flac"
al@19265 16 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
pankso@16248 17 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
pankso@16248 18
pankso@16248 19 # Handle cross compilation.
pankso@16248 20 case "$ARCH" in
pankso@16248 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
pankso@16248 22 esac
pankso@32 23
pascal@24066 24 current_version()
pascal@24066 25 {
pascal@24071 26 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24071 27 sed '/Released/!d;s|.*: ||;s|<.*||'
pascal@24066 28 }
pascal@24066 29
pankso@32 30 # Rules to configure and make the package.
pankso@32 31 compile_rules()
pankso@32 32 {
psychomaniak@18152 33 i="$src/interface/gtk2/pixmaps"
psychomaniak@18152 34 cp -f $i/note.xpm $i/logo.xpm
psychomaniak@18152 35 sed -i 's/note/logo/' $i/logo.xpm
psychomaniak@18152 36
pankso@32 37 ./configure \
pankso@4159 38 --enable-gtk2 \
pascal@13515 39 --enable-flac \
pankso@5119 40 --disable-jack \
pankso@5119 41 --disable-esd \
pascal@1524 42 $CONFIGURE_ARGS &&
pascal@1524 43 make &&
pankso@32 44 # Chmod install-sh to avoid install error.
pascal@1524 45 chmod 755 install-sh &&
pascal@13515 46 make DESTDIR=$DESTDIR install
pankso@32 47 }
pankso@32 48
pankso@32 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 50 genpkg_rules()
pankso@32 51 {
pankso@574 52 mkdir -p $fs/usr/lib
pankso@3816 53
pascal@13515 54 cp -a $install/usr/bin $fs/usr
pascal@13515 55 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13515 56 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
pankso@3816 57
pankso@579 58 # Remove devel files and scopes.
pankso@32 59 rm $fs/usr/lib/alsaplayer/*/*.*a
pankso@579 60 rm -rf $fs/usr/lib/alsaplayer/scopes2
pankso@32 61 }