Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions projects/x.org/xcb-util/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
distributable:
url: https://xcb.freedesktop.org/dist/xcb-util-{{version.raw}}.tar.gz
strip-components: 1

versions:
url: https://xcb.freedesktop.org/dist/
match: /xcb-util-\d+\.\d+(\.\d+)?.tar.gz/
strip:
- /xcb-util-/
- /.tar.gz/

dependencies:
x.org/xcb: ^1

build:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
# .la are unrelocatable, but only used if found
- run: rm *.la
working-directory: ${{prefix}}/lib
env:
SHELF: ${{pkgx.prefix}}/x.org
ARGS:
- --prefix="{{prefix}}"
- --sysconfdir="$SHELF"/etc
- --localstatedir="$SHELF"/var
- --disable-silent-rules

test:
dependencies:
freedesktop.org/pkg-config: '*'
script: test "$(pkg-config --modversion xcb-util)" = "{{version}}"