mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
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
This commit is contained in:
parent
3c81c9d065
commit
0a87077413
2 changed files with 49 additions and 0 deletions
44
projects/wpewebkit.org/wpebackend-fdo/package.yml
Normal file
44
projects/wpewebkit.org/wpebackend-fdo/package.yml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
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
|
5
projects/wpewebkit.org/wpebackend-fdo/wpe-fdo-test.c
Normal file
5
projects/wpewebkit.org/wpebackend-fdo/wpe-fdo-test.c
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#include "wpe/fdo.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
int main() {
|
||||||
|
printf("%u.%u.%u", wpe_fdo_get_major_version(), wpe_fdo_get_minor_version(), wpe_fdo_get_micro_version());
|
||||||
|
}
|
Loading…
Reference in a new issue