wok-next annotate alsaplayer/receipt @ rev 19743
Remake/fix: alsa-lib, alsaplayer; update base (LFS) packages: bash, binutils, bison, bzip2, diffutils, file, findutils, gawk, gcc, gettext, glibc, gmp, m4, mpc-library, mpfr, ncurses, patch, xz; update: tazpkg, cookutils, svgcleaner.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 06 17:37:54 2017 +0300 (2017-06-06) |
parents | 2677e3dc38b0 |
children | 107066b600c7 |
rev | line source |
---|---|
slaxemulator@19742 | 1 # SliTaz package receipt v2. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="alsaplayer" |
slaxemulator@7189 | 4 VERSION="0.99.81" |
pankso@177 | 5 CATEGORY="multimedia" |
al@19743 | 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/" |
al@19743 | 10 HOST_ARCH="i486 arm" |
al@19743 | 11 |
pankso@32 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19275 | 13 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13515 | 14 |
al@19743 | 15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev" |
al@19743 | 16 BUILD_DEPENDS_arm="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" |
al@19743 | 17 SPLIT="alsaplayer-scopes alsaplayer-dev" |
pankso@32 | 18 |
pankso@32 | 19 # Rules to configure and make the package. |
pankso@32 | 20 compile_rules() |
pankso@32 | 21 { |
psychomaniak@18152 | 22 i="$src/interface/gtk2/pixmaps" |
psychomaniak@18152 | 23 cp -f $i/note.xpm $i/logo.xpm |
psychomaniak@18152 | 24 sed -i 's/note/logo/' $i/logo.xpm |
psychomaniak@18152 | 25 |
pankso@32 | 26 ./configure \ |
pankso@4159 | 27 --enable-gtk2 \ |
pascal@13515 | 28 --enable-flac \ |
pankso@5119 | 29 --disable-jack \ |
pankso@5119 | 30 --disable-esd \ |
pascal@1524 | 31 $CONFIGURE_ARGS && |
pascal@1524 | 32 make && |
pankso@32 | 33 # Chmod install-sh to avoid install error. |
pascal@1524 | 34 chmod 755 install-sh && |
pascal@13515 | 35 make DESTDIR=$DESTDIR install |
pankso@32 | 36 } |
pankso@32 | 37 |
pankso@32 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 39 genpkg_rules() |
pankso@32 | 40 { |
slaxemulator@19742 | 41 case $PACKAGE in |
slaxemulator@19742 | 42 alsaplayer) |
slaxemulator@19742 | 43 copy @std |
al@19743 | 44 # Remove scopes |
slaxemulator@19742 | 45 rm -rf $fs/usr/lib/alsaplayer/scopes2 |
slaxemulator@19742 | 46 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" |
al@19743 | 47 TAGS="music audio player mp3 ogg flac" |
al@19743 | 48 SUGGESTED="alsaplayer-scopes libid3tag flac" |
slaxemulator@19742 | 49 ;; |
slaxemulator@19742 | 50 alsaplayer-scopes) |
al@19743 | 51 copy scopes2/ |
al@19743 | 52 CAT="multimedia|visualisations" |
al@19743 | 53 DEPENDS="alsaplayer" |
slaxemulator@19742 | 54 ;; |
al@19743 | 55 *-dev) copy @dev;; |
slaxemulator@19742 | 56 esac |
pankso@32 | 57 } |