From c81cd867868764164849460d0013ab9a953f9426 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 23 Jun 2023 21:19:31 +0300 Subject: [PATCH] x.org/libpthread-stubs (#2280) * new file: projects/x.org/libpthread-stubs/package.yml * modified: projects/x.org/libpthread-stubs/package.yml --- projects/x.org/libpthread-stubs/package.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/x.org/libpthread-stubs/package.yml diff --git a/projects/x.org/libpthread-stubs/package.yml b/projects/x.org/libpthread-stubs/package.yml new file mode 100644 index 00000000..fac12a87 --- /dev/null +++ b/projects/x.org/libpthread-stubs/package.yml @@ -0,0 +1,28 @@ +distributable: + url: https://www.x.org/releases/individual/xcb/libpthread-stubs-{{version.marketing}}.tar.gz + strip-components: 1 + +versions: + url: https://www.x.org/releases/individual/xcb/ + match: /libpthread-stubs-\d+\.\d+\.tar\.gz/ + strip: + - /^libpthread-stubs-/ + - /\.tar\.gz$/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + freedesktop.org/pkg-config: '*' + script: + - ./configure $ARGS + - make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix="{{prefix}}" + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: + pkg-config --modversion pthread-stubs | grep {{version.marketing}} \ No newline at end of file