2023-11-12 12:29:40 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/rockdaboot/libpsl/releases/download/{{version}}/libpsl-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: rockdaboot/libpsl
|
|
|
|
dependencies:
|
2024-01-25 00:57:06 +03:00
|
|
|
unicode.org: ^71
|
2023-11-12 12:29:40 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
mesonbuild.com: '*'
|
|
|
|
ninja-build.org: '*'
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
python.org: ~3.11
|
|
|
|
linux:
|
|
|
|
gnu.org/gcc: '*'
|
|
|
|
script:
|
|
|
|
- meson setup build $MESON_ARGS
|
|
|
|
- meson compile -C build
|
|
|
|
- meson install -C build
|
|
|
|
env:
|
|
|
|
linux:
|
|
|
|
LDFLAGS: -fPIC
|
|
|
|
MESON_ARGS:
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --libdir="{{prefix}}/lib"
|
|
|
|
- --buildtype=release
|
|
|
|
- --wrap-mode=nofallback
|
|
|
|
- -Druntime=libicu
|
|
|
|
- -Dbuiltin=true
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
linux:
|
|
|
|
gnu.org/gcc: '*'
|
|
|
|
script:
|
|
|
|
- cc test.c -lpsl -o test
|
|
|
|
- ./test
|