pantry/projects/wpewebkit.org/wpebackend-fdo/package.yml
Andrew 0a87077413
wpewebkit.org/wpebackend-fdo (#3964)
* new file:   projects/wpewebkit.org/wpebackend-fdo/package.yml

* modified:   projects/wpewebkit.org/wpebackend-fdo/package.yml
	new file:   projects/wpewebkit.org/wpebackend-fdo/wpe-fdo-test.c
2023-11-05 14:38:24 -05:00

45 lines
1.1 KiB
YAML

distributable:
url: https://github.com/Igalia/WPEBackend-fdo/releases/download/{{version}}/wpebackend-fdo-{{version}}.tar.xz
strip-components: 1
versions:
github: Igalia/WPEBackend-fdo
platforms:
- linux
dependencies:
gnome.org/glib: '*'
github.com/anholt/libepoxy: '*'
wpewebkit.org/libwpe: '*'
mesa3d.org: '*'
wayland.freedesktop.org: '*'
build:
dependencies:
gnu.org/gcc: '*'
mesonbuild.com: '*'
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
script:
- meson setup build $MESON_ARGS
- meson compile -C build --verbose
- meson install -C build
- run: |
mv wpe-fdo-1.0/* .
rmdir wpe-fdo-1.0
ln -s . wpe-fdo-1.0
working-directory: ${{prefix}}/include
env:
LDFLAGS: "-fPIC"
MESON_ARGS:
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
- --buildtype=release
- --wrap-mode=nofallback
test:
dependencies:
gnu.org/gcc: '*'
gnu.org/make: '*'
script:
- make wpe-fdo-test
- ./wpe-fdo-test | grep {{version}}
env:
LDLIBS: -lWPEBackend-fdo-1.0