wok-next annotate 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
rev   line source
al@19868 1 # SliTaz package receipt v2.
al@19868 2
al@19868 3 PACKAGE="deadbeef-opus"
al@20937 4 VERSION="0.8"
al@19868 5 CATEGORY="multimedia"
al@19868 6 SHORT_DESC="Ogg Opus decoder plugin for DeaDBeeF"
al@19868 7 MAINTAINER="al.bobylev@gmail.com"
al@19868 8 LICENSE="GPL2"
al@19868 9 WEB_SITE="https://bitbucket.org/Lithopsian/deadbeef-opus/overview"
al@19868 10
al@20937 11 TARBALL="opus-$VERSION.tar.bz2"
al@20937 12 WGET_URL="https://bitbucket.org/Lithopsian/deadbeef-opus/get/v$VERSION.tar.bz2"
al@19868 13
al@19868 14 BUILD_DEPENDS="opusfile-dev deadbeef-dev"
al@19868 15
al@19868 16 compile_rules() {
al@19868 17 # To support large files (> 2GB) on 32 bit systems
al@19868 18 sed -i '/FILE_OFFSET_BITS/ s|^# ||' Makefile
al@19868 19
al@19868 20 make PREFIX=/usr &&
al@20937 21 make PREFIX=$install/usr install || return 1
al@20937 22
al@20937 23 sed '1s|^|# |; s|^[PRST][AERU]|## &|; s|-\([0-9]\)|−\1|g;
al@20937 24 /^[^#]/s|\(R128[^ ]*\)|`\1`|g;
al@20937 25 /^[^#]/s|\(REPLAYGAIN[^ ,]*\)|`\1`|g;
al@20937 26 /^[^#]/s|\(METADATA[^ ,]*\)|`\1`|g;
al@20937 27 /^[^#]/s|\(OPUS[^ ,]*\)|`\1`|g;
al@20937 28 s|ISRC|`&`|; s|EAN|`&`|; s|UPN|`&`|' README > README.md
al@20937 29 cook_pick_docs README.md
al@19868 30 }
al@19868 31
al@19868 32 genpkg_rules() {
al@19868 33 copy @std
al@20937 34 DEPENDS="libogg opusfile deadbeef openssl opus"
al@19868 35 }