wok-next diff deadbeef-opus/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents e6615350078d
children
line diff
     1.1 --- a/deadbeef-opus/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/deadbeef-opus/receipt	Tue Sep 01 11:04:25 2020 +0000
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="deadbeef-opus"
     1.7 -VERSION="0.6"
     1.8 +VERSION="0.8"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Ogg Opus decoder plugin for DeaDBeeF"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://bitbucket.org/Lithopsian/deadbeef-opus/overview"
    1.14  
    1.15 -TARBALL="opus-$VERSION.tar.gz"
    1.16 -WGET_URL="https://bitbucket.org/Lithopsian/deadbeef-opus/downloads/$TARBALL"
    1.17 +TARBALL="opus-$VERSION.tar.bz2"
    1.18 +WGET_URL="https://bitbucket.org/Lithopsian/deadbeef-opus/get/v$VERSION.tar.bz2"
    1.19  
    1.20  BUILD_DEPENDS="opusfile-dev deadbeef-dev"
    1.21  
    1.22 @@ -18,10 +18,18 @@
    1.23  	sed -i '/FILE_OFFSET_BITS/ s|^# ||' Makefile
    1.24  
    1.25  	make PREFIX=/usr &&
    1.26 -	make PREFIX=$install/usr install
    1.27 +	make PREFIX=$install/usr install || return 1
    1.28 +
    1.29 +	sed '1s|^|# |; s|^[PRST][AERU]|## &|; s|-\([0-9]\)|−\1|g;
    1.30 +		/^[^#]/s|\(R128[^ ]*\)|`\1`|g;
    1.31 +		/^[^#]/s|\(REPLAYGAIN[^ ,]*\)|`\1`|g;
    1.32 +		/^[^#]/s|\(METADATA[^ ,]*\)|`\1`|g;
    1.33 +		/^[^#]/s|\(OPUS[^ ,]*\)|`\1`|g;
    1.34 +		s|ISRC|`&`|; s|EAN|`&`|; s|UPN|`&`|' README > README.md
    1.35 +	cook_pick_docs README.md
    1.36  }
    1.37  
    1.38  genpkg_rules() {
    1.39  	copy @std
    1.40 -	DEPENDS="deadbeef openssl libogg opus opusfile"
    1.41 +	DEPENDS="libogg opusfile   deadbeef openssl opus"
    1.42  }