Skip to content

Commit

Permalink
+xcb-util
Browse files Browse the repository at this point in the history
ref: #7436
  • Loading branch information
jhheider committed Sep 27, 2024
1 parent f70ca5f commit b3d6be4
Showing 1 changed file with 33 additions and 0 deletions.
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}}"

0 comments on commit b3d6be4

Please sign in to comment.