mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
new file: projects/freedesktop.org/xcb-util-keysyms/package.yml
new file: projects/freedesktop.org/xcb-util-keysyms/test.c
This commit is contained in:
parent
6ff2d37be1
commit
eedebe529c
2 changed files with 40 additions and 0 deletions
34
projects/freedesktop.org/xcb-util-keysyms/package.yml
Normal file
34
projects/freedesktop.org/xcb-util-keysyms/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
distributable:
|
||||
url: https://xcb.freedesktop.org/dist/xcb-util-keysyms-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
url: https://xcb.freedesktop.org/dist/
|
||||
match: /xcb-util-keysyms-\d+\.\d+\.\d+\.tar\.gz/
|
||||
strip:
|
||||
- /^xcb-util-keysyms-/
|
||||
- /\.tar\.gz/
|
||||
dependencies:
|
||||
x.org/xcb: '*'
|
||||
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-keysyms | grep {{version}}
|
6
projects/freedesktop.org/xcb-util-keysyms/test.c
Normal file
6
projects/freedesktop.org/xcb-util-keysyms/test.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue