wok-current annotate opusfile/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| parents | c4b5fb10fb0e |
| children |
| rev | line source |
|---|---|
| pascal@20519 | 1 # SliTaz package receipt. |
| pascal@20519 | 2 |
| pascal@20519 | 3 PACKAGE="opusfile" |
| Hans-Günter@25078 | 4 VERSION="0.12" |
| pascal@20519 | 5 CATEGORY="multimedia" |
| Hans-Günter@25078 | 6 SHORT_DESC="Opus streams in the Ogg container I/O." |
| pascal@20519 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
| Hans-Günter@25078 | 8 LICENSE="BSD" |
| Hans-Günter@25078 | 9 WEB_SITE="https://opus-codec.org/" |
| Hans-Günter@25078 | 10 |
| pascal@20519 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
| Hans-Günter@25078 | 12 WGET_URL="https://github.com/xiph/$PACKAGE/archive/v$VERSION.tar.gz" |
| pascal@20519 | 13 |
| Hans-Günter@25078 | 14 DEPENDS="libogg libssl opus" |
| Hans-Günter@25078 | 15 BUILD_DEPENDS="automake libogg libogg-dev libtool openssl-dev opus-dev pkg-config" |
| pascal@20519 | 16 |
| shann@25728 | 17 HOST_ARCH="i486 x86_64" |
| shann@25728 | 18 |
| pascal@24326 | 19 # What is the latest version available today? |
| pascal@24066 | 20 current_version() |
| pascal@24066 | 21 { |
| pascal@24614 | 22 wget -O - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ |
| pascal@24614 | 23 sed '/opusfile/!d;/tar/!d;s|.*opusfile-||;s|.tar.*||' | sort -Vr | sed q |
| pascal@24066 | 24 } |
| pascal@24066 | 25 |
| pascal@20519 | 26 # Rules to configure and make the package. |
| pascal@20519 | 27 compile_rules() |
| pascal@20519 | 28 { |
| Hans-Günter@25078 | 29 ./autogen.sh && |
| Hans-Günter@25078 | 30 ./configure \ |
| Hans-Günter@25078 | 31 --prefix=/usr \ |
| Hans-Günter@25078 | 32 $CONFIGURE_ARGS && |
| Hans-Günter@25078 | 33 make && |
| Hans-Günter@25078 | 34 make install DESTDIR=$DESTDIR |
| pascal@20519 | 35 } |
| pascal@20519 | 36 |
| pascal@20519 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@20519 | 38 genpkg_rules() |
| pascal@20519 | 39 { |
| Hans-Günter@25078 | 40 cook_copy_files *.so* |
| pascal@20519 | 41 } |