wok diff mpd/receipt @ rev 23311
updated perl-datetime-format-strptime (1.56 -> 1.77)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 14:47:03 2020 +0100 (2020-03-30) |
parents | 6e8b1bcb30e2 |
children | a3c45ab9082e |
line diff
1.1 --- a/mpd/receipt Thu Jan 24 11:33:03 2019 +0100 1.2 +++ b/mpd/receipt Mon Mar 30 14:47:03 2020 +0100 1.3 @@ -1,60 +1,68 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mpd" 1.7 -VERSION="0.17.2" 1.8 +VERSION="0.21.8" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Music Player Daemon (MPD)." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="https://www.musicpd.org/" 1.15 -WGET_URL="$SF_MIRROR/musicpd/$TARBALL" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 +WGET_URL="${WEB_SITE}download/$PACKAGE/${VERSION%.*}/$TARBALL" 1.19 + 1.20 +DEPENDS="alsa-lib audiofile faad2 flac glib lame libboost \ 1.21 + libcrypto libcurl libid3tag libmad libogg libsamplerate \ 1.22 + libvorbis libwrap sqlite" 1.23 +BUILD_DEPENDS="alsa-lib-dev audiofile-dev curl-dev faad2-dev flac-dev \ 1.24 + gcc83 glib-dev lame-dev libboost-dev libid3tag-dev \ 1.25 + libmad-dev libogg-dev libsamplerate-dev libvorbis-dev \ 1.26 + libwrap-dev meson zlib-dev" 1.27 + 1.28 HOST_ARCH="i486 arm" 1.29 1.30 -DEPENDS="libid3tag libmad libogg libvorbis libsamplerate flac alsa-lib \ 1.31 -audiofile faad2 lame sqlite libcurl glib libcrypto libwrap" 1.32 -BUILD_DEPENDS="alsa-lib-dev zlib-dev libid3tag-dev libsamplerate-dev \ 1.33 -libmad-dev libogg-dev libvorbis-dev flac-dev audiofile-dev faad2-dev \ 1.34 -glib-dev lame-dev libwrap-dev curl-dev" 1.35 - 1.36 # Handle SliTaz arch 1.37 case "$SLITAZ_ARCH" in 1.38 arm) 1.39 DEPENDS="alsa-lib zlib glib lame libmad libsamplerate libwrap \ 1.40 -libogg libvorbis" ;; 1.41 + libogg libvorbis" ;; 1.42 esac 1.43 1.44 # Handle cross comilation 1.45 case "$ARCH" in 1.46 arm) 1.47 BUILD_DEPENDS="alsa-lib-dev zlib-dev glib-dev libgio-dev lame-dev \ 1.48 -libmad-dev libsamplerate-dev libwrap-dev libogg-dev libvorbis-dev" ;; 1.49 + libmad-dev libsamplerate-dev libwrap-dev libogg-dev libvorbis-dev" ;; 1.50 esac 1.51 1.52 # Rules to configure and make the package. 1.53 compile_rules() 1.54 { 1.55 - sed -i 's/<stdbool.h>/&\n#include <stdio.h>/' src/decoder_api.h 1.56 - ./configure \ 1.57 - --disable-jack \ 1.58 - --disable-ao \ 1.59 - --disable-modplug \ 1.60 - --disable-mms \ 1.61 - --disable-ffmpeg \ 1.62 - --disable-wavpack \ 1.63 - --disable-systemd-daemon \ 1.64 - --with-zeroconf=no \ 1.65 - $CONFIGURE_ARGS && 1.66 - make && make install 1.67 +# sed -i 's/<stdbool.h>/&\n#include <stdio.h>/' src/decoder_api.h 1.68 + export CC=gcc-83 1.69 + export CXX=g++-83 1.70 + meson . output \ 1.71 + -Djack=disabled \ 1.72 + -Dao=disabled \ 1.73 + -Dmodplug=disabled \ 1.74 + -Dmms=disabled \ 1.75 + -Dffmpeg=disabled \ 1.76 + -Dwavpack=disabled \ 1.77 + -Dsystemd=disabled \ 1.78 + -Dzeroconf=disabled && 1.79 + ninja -C output && 1.80 + ninja -C output install 1.81 } 1.82 1.83 # Rules to gen a SliTaz package suitable for Tazpkg. 1.84 genpkg_rules() 1.85 { 1.86 - mkdir -p $fs/usr/sbin $fs/etc 1.87 - cp -a $install/usr/bin/mpd $fs/usr/sbin 1.88 - cp $install/usr/share/doc/mpd/mpdconf.example $fs/etc/mpd.conf 1.89 - cp -a $stuff/* $fs 1.90 + mkdir -p $fs/usr/sbin 1.91 + mkdir -p $fs/etc 1.92 + cp -a $install/usr/bin/mpd $fs/usr/sbin 1.93 + cp $install/usr/share/doc/mpd/mpdconf.example \ 1.94 + $fs/etc/mpd.conf 1.95 + cp -a $stuff/* $fs 1.96 } 1.97 1.98 post_install()