wok-next diff alsaplayer/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | c4e53a39395a |
children | b156aee559a7 |
line diff
1.1 --- a/alsaplayer/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/alsaplayer/receipt Thu Apr 19 15:57:59 2018 +0300 1.3 @@ -13,14 +13,12 @@ 1.4 1.5 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev" 1.6 BUILD_DEPENDS_arm="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" 1.7 -SPLIT="alsaplayer-scopes alsaplayer-dev" 1.8 +SPLIT="alsaplayer-scopes alsaplayer alsaplayer-dev" 1.9 1.10 -# Rules to configure and make the package. 1.11 -compile_rules() 1.12 -{ 1.13 +compile_rules() { 1.14 i="$src/interface/gtk2/pixmaps" 1.15 - cp -f $i/note.xpm $i/logo.xpm 1.16 - sed -i 's/note/logo/' $i/logo.xpm 1.17 + cp -f $i/note.xpm $i/logo.xpm 1.18 + sed -i 's/note/logo/' $i/logo.xpm 1.19 1.20 ./configure \ 1.21 --enable-gtk2 \ 1.22 @@ -28,29 +26,26 @@ 1.23 --disable-jack \ 1.24 --disable-esd \ 1.25 $CONFIGURE_ARGS && 1.26 + fix libtool && 1.27 make && 1.28 # Chmod install-sh to avoid install error. 1.29 chmod 755 install-sh && 1.30 make DESTDIR=$DESTDIR install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 case $PACKAGE in 1.38 - alsaplayer) 1.39 - copy @std 1.40 - # Remove scopes 1.41 - rm -rf $fs/usr/lib/alsaplayer/scopes2 1.42 - DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" 1.43 - TAGS="music audio player mp3 ogg flac" 1.44 - SUGGESTED="alsaplayer-scopes libid3tag flac" 1.45 - ;; 1.46 alsaplayer-scopes) 1.47 copy scopes2/*.so 1.48 CAT="multimedia|visualisations" 1.49 DEPENDS="alsaplayer" 1.50 ;; 1.51 + alsaplayer) 1.52 + copy @std @rm 1.53 + DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" 1.54 + TAGS="music audio player mp3 ogg flac" 1.55 + SUGGESTED="alsaplayer-scopes libid3tag flac" 1.56 + ;; 1.57 *-dev) copy @dev;; 1.58 esac 1.59 }