pantry/projects/gstreamer.freedesktop.org/orc/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

35 lines
No EOL
762 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:
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}}