mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
35 lines
867 B
YAML
35 lines
867 B
YAML
|
distributable:
|
||
|
url: https://gitlab.freedesktop.org/mesa/glu/-/archive/glu-{{version}}/glu-glu-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
url: https://gitlab.freedesktop.org/mesa/glu/-/tags
|
||
|
match: /glu-\d+\.\d+\.\d+/
|
||
|
strip:
|
||
|
- /^glu-/
|
||
|
dependencies:
|
||
|
mesa3d.org: '*'
|
||
|
build:
|
||
|
dependencies:
|
||
|
gnu.org/make: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
mesonbuild.com: '*'
|
||
|
ninja-build.org: '*'
|
||
|
script:
|
||
|
- meson setup $MESON_ARGS build
|
||
|
- meson compile -C build --verbose
|
||
|
- meson install -C build
|
||
|
env:
|
||
|
MESON_ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --libdir="{{prefix}}/lib"
|
||
|
- --buildtype=release
|
||
|
- --wrap-mode=nofallback
|
||
|
- -Dgl_provider=gl
|
||
|
test:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script:
|
||
|
- pkg-config --modversion glu | grep {{version}}
|
||
|
- c++ test.cpp -lGLU -o test
|
||
|
- ./test
|