theora.org (#1842)

* new file:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml

* modified:   projects/theora.org/package.yml
This commit is contained in:
Andrew 2023-05-05 19:11:16 +03:00 committed by GitHub
parent 5037e4401d
commit b420e09ec2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,44 @@
distributable:
url: http://downloads.xiph.org/releases/theora/libtheora-{{version}}.tar.bz2
strip-components: 1
versions:
url: https://ftp.osuosl.org/pub/xiph/releases/theora/
match: /libtheora-\d+\.\d+\.\d+.tar.gz/
strip:
- /^libtheora-/
- /\.tar\.gz$/
dependencies:
xiph.org/ogg: '*'
xiph.org/vorbis: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/libtool: '*'
gnu.org/automake: '*'
gnu.org/autoconf: '>=2.71'
freedesktop.org/pkg-config: '*'
gnu.org/wget: '*'
script: |
wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
./autogen.sh
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --disable-oggtest
- --disable-vorbistest
- --disable-examples
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion theora | grep {{version}}