wok rev 23230

updated ncmpc (0.21 -> 0.37)
author Hans-G?nter Theisgen
date Tue Mar 24 08:38:49 2020 +0100 (2020-03-24)
parents 8baebfa7f33f
children a7abacf75d6d
files ncmpc/receipt
line diff
     1.1 --- a/ncmpc/receipt	Tue Mar 24 07:39:06 2020 +0100
     1.2 +++ b/ncmpc/receipt	Tue Mar 24 08:38:49 2020 +0100
     1.3 @@ -1,32 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ncmpc"
     1.7 -VERSION="0.21"
     1.8 +VERSION="0.37"
     1.9  CATEGORY="multimedia"
    1.10 +TAGS="music player"
    1.11  SHORT_DESC="A ncurses MPD client."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="https://www.musicpd.org/clients/ncmpc/"
    1.16 -WGET_URL="https://www.musicpd.org/download/ncmpc/0/$TARBALL"
    1.17 -TAGS="music player"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20 +WGET_URL="https://www.musicpd.org/download/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.21 +
    1.22 +DEPENDS="gcc83-lib-base glib libboost libmpdclient mpd ncurses"
    1.23 +BUILD_DEPENDS="gcc83 glib-dev libboost-dev libmpdclient-dev meson 
    1.24 +	ncurses-dev ninja"
    1.25 +
    1.26  HOST_ARCH="i486 arm"
    1.27  
    1.28 -DEPENDS="mpd glib ncurses libmpdclient"
    1.29 -BUILD_DEPENDS="glib-dev ncurses-dev libmpdclient-dev"
    1.30 -
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	./configure \
    1.35 -		$CONFIGURE_ARGS &&
    1.36 -	make && make install
    1.37 +	export	CC=gcc-83
    1.38 +	export	CXX=g++-83
    1.39 +
    1.40 +	meson . _build --prefix=/usr &&
    1.41 +	ninja	-C _build &&
    1.42 +	ninja	-C _build install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p $fs/usr/share/ncmpc
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 +	cp -a $install/usr/bin	$fs/usr
    1.51  }
    1.52