wok-next annotate alsaplayer/receipt @ rev 18618

Up eom: disable introspection
author Yuri Pourre <yuripourre@gmail.com>
date Thu Nov 19 19:15:23 2015 -0200 (2015-11-19)
parents 128aae84d74c
children f0a0b5091b4a
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"
pankso@32 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@32 10 WEB_SITE="http://www.alsaplayer.org/"
pankso@32 11 WGET_URL="http://www.alsaplayer.org/$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"
pascal@13515 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
pankso@32 24 # Rules to configure and make the package.
pankso@32 25 compile_rules()
pankso@32 26 {
psychomaniak@18152 27 i="$src/interface/gtk2/pixmaps"
psychomaniak@18152 28 cp -f $i/note.xpm $i/logo.xpm
psychomaniak@18152 29 sed -i 's/note/logo/' $i/logo.xpm
psychomaniak@18152 30
pankso@32 31 ./configure \
pankso@4159 32 --enable-gtk2 \
pascal@13515 33 --enable-flac \
pankso@5119 34 --disable-jack \
pankso@5119 35 --disable-esd \
pascal@1524 36 $CONFIGURE_ARGS &&
pascal@1524 37 make &&
pankso@32 38 # Chmod install-sh to avoid install error.
pascal@1524 39 chmod 755 install-sh &&
pascal@13515 40 make DESTDIR=$DESTDIR install
pankso@32 41 }
pankso@32 42
pankso@32 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 44 genpkg_rules()
pankso@32 45 {
pankso@574 46 mkdir -p $fs/usr/lib
pankso@3816 47
pascal@13515 48 cp -a $install/usr/bin $fs/usr
pascal@13515 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13515 50 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
pankso@3816 51
pankso@579 52 # Remove devel files and scopes.
pankso@32 53 rm $fs/usr/lib/alsaplayer/*/*.*a
pankso@579 54 rm -rf $fs/usr/lib/alsaplayer/scopes2
pankso@32 55 }
pankso@32 56