gstreamer.freedesktop.org/orc (#2305)

* gstreamer.freedesktop.org/orc

* pkg-config
This commit is contained in:
Andrew 2023-06-28 02:24:23 +03:00 committed by GitHub
parent 77cce9ac13
commit 301ff6142a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,36 @@
distributable:
url: https://gstreamer.freedesktop.org/src/orc/orc-{{version}}.tar.xz
strip-components: 1
versions:
url: https://gstreamer.freedesktop.org/src/orc/
match: /orc-\d+\.\d+\.\d+\.tar\.xz/
strip:
- /^orc-/
- /\.tar\.xz$/
build:
dependencies:
tea.xyz/gx/cc: c99
mesonbuild.com: '*'
ninja-build.org: '*'
working-directory: build
script:
- meson $ARGS -Dgtk_doc=disabled ..
- ninja -v
- ninja install -v
env:
ARGS:
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
- --buildtype=release
- --wrap-mode=nofallback
provides:
- bin/orcc
- bin/orc-bugreport
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion orc-{{version.marketing}} | grep {{version}}