mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/freedesktop.org/xcb-util-wm/package.yml
new file: projects/freedesktop.org/xcb-util-wm/test.c
This commit is contained in:
parent
b57c81ea0d
commit
54fa657520
2 changed files with 43 additions and 0 deletions
36
projects/freedesktop.org/xcb-util-wm/package.yml
Normal file
36
projects/freedesktop.org/xcb-util-wm/package.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
distributable:
|
||||||
|
url: https://xcb.freedesktop.org/dist/xcb-util-wm-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
url: https://xcb.freedesktop.org/dist/
|
||||||
|
match: /xcb-util-wm-\d+\.\d+\.\d+\.tar\.gz/
|
||||||
|
strip:
|
||||||
|
- /^xcb-util-wm-/
|
||||||
|
- /\.tar\.gz/
|
||||||
|
dependencies:
|
||||||
|
x.org/xcb: '*'
|
||||||
|
gnu.org/m4: '*'
|
||||||
|
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-ewmh | grep {{version}}
|
||||||
|
- pkg-config --modversion xcb-icccm | grep {{version}}
|
7
projects/freedesktop.org/xcb-util-wm/test.c
Normal file
7
projects/freedesktop.org/xcb-util-wm/test.c
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <xcb/xcb.h>
|
||||||
|
#include <xcb/xcb_ewmh.h>
|
||||||
|
#include <xcb/xcb_icccm.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue