wok-6.x diff mpd/receipt @ rev 19213
Add uhd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 14 18:27:53 2016 +0200 (2016-06-14) |
parents | 8a8d742e992f |
children | 6e8b1bcb30e2 |
line diff
1.1 --- a/mpd/receipt Sun Aug 24 12:55:58 2014 +0000 1.2 +++ b/mpd/receipt Tue Jun 14 18:27:53 2016 +0200 1.3 @@ -14,12 +14,12 @@ 1.4 DEPENDS="libid3tag libmad libogg libvorbis libsamplerate flac alsa-lib \ 1.5 audiofile faad2 lame sqlite libcurl glib libcrypto libwrap" 1.6 BUILD_DEPENDS="alsa-lib-dev zlib-dev libid3tag-dev libsamplerate-dev \ 1.7 -libmad-dev libogg-dev libvorbis-dev flac-dev audiofile-dev faad2-dev 1.8 +libmad-dev libogg-dev libvorbis-dev flac-dev audiofile-dev faad2-dev \ 1.9 glib-dev lame-dev libwrap-dev curl-dev" 1.10 1.11 # Handle SliTaz arch 1.12 case "$SLITAZ_ARCH" in 1.13 - arm) 1.14 + arm) 1.15 DEPENDS="alsa-lib zlib glib lame libmad libsamplerate libwrap \ 1.16 libogg libvorbis" ;; 1.17 esac 1.18 @@ -34,7 +34,6 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - cd $src 1.23 sed -i 's/<stdbool.h>/&\n#include <stdio.h>/' src/decoder_api.h 1.24 ./configure \ 1.25 --disable-jack \ 1.26 @@ -60,10 +59,9 @@ 1.27 1.28 post_install() 1.29 { 1.30 - echo "Processing post-install commands..." 1.31 - 1.32 + newline 1.33 # Drop root priviledges and enable pid file 1.34 - echo -n "Enabling mpd.conf..." 1.35 + action 'Enabling mpd.conf...' 1.36 cd $root/etc 1.37 sed -i 's/#music_directory/music_directory/; \ 1.38 s/#playlist_directory/playlist_directory/; \ 1.39 @@ -72,9 +70,9 @@ 1.40 s/#user "nobody"/user "tux"/; \ 1.41 s/#bind_to_address "any"/bind_to_address "localhost"/' mpd.conf 1.42 status 1.43 - 1.44 + 1.45 # Make mpd directories and files 1.46 - echo -n "Enabling mpd files and directories..." 1.47 + action 'Enabling mpd files and directories...' 1.48 mkdir $root/etc/skel/music 1.49 mkdir -p $root/etc/skel/.mpd/playlists 1.50 touch $root/etc/skel/.mpd/mpd.log 1.51 @@ -82,4 +80,3 @@ 1.52 cp -f $root/etc/mpd.conf /etc/skel/.mpd 1.53 status 1.54 } 1.55 -