diff --git a/projects/freedesktop.org/xcb-util-renderutil/package.yml b/projects/freedesktop.org/xcb-util-renderutil/package.yml new file mode 100644 index 00000000..0d0b8dc6 --- /dev/null +++ b/projects/freedesktop.org/xcb-util-renderutil/package.yml @@ -0,0 +1,34 @@ +distributable: + url: https://xcb.freedesktop.org/dist/xcb-util-renderutil-{{version}}.tar.gz + strip-components: 1 +versions: + url: https://xcb.freedesktop.org/dist/ + match: /xcb-util-renderutil-\d+\.\d+\.\d+\.tar\.gz/ + strip: + - /^xcb-util-renderutil-/ + - /\.tar\.gz/ +dependencies: + x.org/xcb: '*' +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + freedesktop.org/pkg-config: '*' + script: + - ./configure $CONFIGURE_ARGS + - make --jobs {{ hw.concurrency }} + - make --jobs {{ hw.concurrency }} install + env: + CONFIGURE_ARGS: + - --disable-debug + - --disable-dependency-tracking + - --prefix="{{prefix}}" + - --libdir="{{prefix}}/lib" +test: + dependencies: + tea.xyz/gx/cc: c99 + freedesktop.org/pkg-config: '*' + script: + - cc test.c -o test + - ./test + - pkg-config --modversion xcb-renderutil | grep {{version}} diff --git a/projects/freedesktop.org/xcb-util-renderutil/test.c b/projects/freedesktop.org/xcb-util-renderutil/test.c new file mode 100644 index 00000000..b79a11d5 --- /dev/null +++ b/projects/freedesktop.org/xcb-util-renderutil/test.c @@ -0,0 +1,7 @@ +#include +#include +#include + +int main() { + return 0; +} \ No newline at end of file