wok-next annotate alsaplayer/receipt @ rev 21673

updated gdk-pixbuf (2.38.0 -> 2.40.0)
author Hans-G?nter Theisgen
date Mon Jun 29 10:03:27 2020 +0100 (2020-06-29)
parents d5aab818505e
children
rev   line source
slaxemulator@19742 1 # SliTaz package receipt v2.
pankso@32 2
pankso@32 3 PACKAGE="alsaplayer"
al@20958 4 VERSION="0.99.82.postgit20180627"
al@20958 5 COMMIT="ece53f6"
pankso@177 6 CATEGORY="multimedia"
al@19743 7 SHORT_DESC="ALSA GTK+ PCM audio player"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
al@20958 10 WEB_SITE="http://alsaplayer.sourceforge.net/" # http://www.alsaplayer.org/
al@19743 11
pankso@32 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20958 13 WGET_URL="https://github.com/alsaplayer/alsaplayer/archive/$COMMIT.tar.gz"
pascal@13515 14
al@20958 15 BUILD_DEPENDS="intltool automake libtool libmad-dev libid3tag-dev flac-dev \
al@21017 16 libmikmod-dev libogg-dev libvorbis-dev mesa-dev glib-dev gtk2-dev pango-dev \
al@20958 17 libsndfile-dev alsa-lib-dev "
al@20958 18 SPLIT="alsaplayer-scopes-gl alsaplayer-scopes alsaplayer-mod alsaplayer \
al@20958 19 alsaplayer-dev"
pankso@32 20
al@20569 21 compile_rules() {
al@20958 22 # substitute large pixmap (165 KB) with small one
psychomaniak@18152 23 i="$src/interface/gtk2/pixmaps"
al@20958 24 mv $i/logo.xpm $i/logo.orig.xpm
al@20569 25 cp -f $i/note.xpm $i/logo.xpm
al@20569 26 sed -i 's/note/logo/' $i/logo.xpm
psychomaniak@18152 27
al@20958 28 ./autogen.sh &&
al@20958 29
pankso@32 30 ./configure \
al@20958 31 --enable-systray \
pankso@5119 32 --disable-jack \
pankso@5119 33 --disable-esd \
al@20958 34 --disable-sparc \
al@20958 35 --disable-oss \
al@20958 36 --disable-sgi \
al@20958 37 $SET_ARGS \
pascal@1524 38 $CONFIGURE_ARGS &&
al@20569 39 fix libtool &&
pascal@1524 40 make &&
al@20958 41 make install || return 1
al@20958 42
al@20958 43 install -Dm644 $stuff/alsaplayer16.png $install/usr/share/icons/hicolor/16x16/apps/alsaplayer.png
al@20958 44 install -Dm644 $stuff/alsaplayer48.png $install/usr/share/icons/hicolor/48x48/apps/alsaplayer.png
pankso@32 45 }
pankso@32 46
al@20569 47 genpkg_rules() {
slaxemulator@19742 48 case $PACKAGE in
al@20958 49 alsaplayer-scopes-gl)
al@20958 50 copy liboglspectrum.so
al@20958 51 CAT="multimedia|GL visualisation"
al@20958 52 DEPENDS="mesa alsaplayer"
al@20958 53 ;;
slaxemulator@19742 54 alsaplayer-scopes)
al@20958 55 copy scopes2/*.so @rm
al@19743 56 CAT="multimedia|visualisations"
al@21017 57 DEPENDS="glib gtk2 alsaplayer"
slaxemulator@19742 58 ;;
al@20958 59 alsaplayer-mod)
al@20958 60 copy libmod.so
al@20958 61 CAT="multimedia|play tracker music"
al@20958 62 DEPENDS="libmikmod alsaplayer"
al@20958 63 ;;
al@20569 64 alsaplayer)
al@20569 65 copy @std @rm
al@21017 66 DEPENDS="alsa-lib flac gdk-pixbuf glib gtk2 libmad libsndfile \
al@20958 67 libvorbis pango"
al@21044 68 TAGS="music audio player MP3 Ogg FLAC"
al@20799 69 SUGGESTED="alsaplayer-scopes libid3tag"
al@20569 70 ;;
al@20958 71 *-dev)
al@20958 72 copy @dev
al@20958 73 ;;
slaxemulator@19742 74 esac
pankso@32 75 }