pantry/projects/gstreamer.freedesktop.org/orc/package.yml
Andrew 301ff6142a
gstreamer.freedesktop.org/orc (#2305)
* gstreamer.freedesktop.org/orc

* pkg-config
2023-06-27 19:24:23 -04:00

36 lines
785 B
YAML

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}}