Skip to content

Commit 8b303b1

Browse files
committed
+xcb-util
ref: #7436
1 parent f70ca5f commit 8b303b1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
distributable:
2+
url: https://xcb.freedesktop.org/dist/xcb-util-{{version.raw}}.tar.gz
3+
strip-components: 1
4+
5+
versions:
6+
url: https://xcb.freedesktop.org/dist/
7+
match: /xcb-util-\d+\.\d+(\.\d+)?.tar.gz/
8+
strip:
9+
- /xcb-util-/
10+
- /.tar.gz/
11+
12+
dependencies:
13+
x.org/xcb: ^1
14+
15+
build:
16+
script:
17+
- ./configure $ARGS
18+
- make --jobs {{ hw.concurrency }} install
19+
# .la are unrelocatable, but only used if found
20+
- run: rm *.la
21+
working-directory: ${{prefix}}/lib
22+
env:
23+
SHELF: ${{pkgx.prefix}}/x.org
24+
ARGS:
25+
- --prefix="{{prefix}}"
26+
- --sysconfdir="$SHELF"/etc
27+
- --localstatedir="$SHELF"/var
28+
- --disable-silent-rules
29+
30+
test:
31+
dependencies:
32+
freedesktop.org/pkg-config: '*'
33+
script: test "$(pkg-config --modversion xcb-util)" = "{{version}}"

0 commit comments

Comments
 (0)