+x.org/xtrans

This commit is contained in:
Max Howell 2023-03-15 14:15:47 -04:00
parent 38b45f373b
commit db62b7c7c9

View file

@ -0,0 +1,40 @@
distributable:
url: https://www.x.org/archive/individual/lib/xtrans-1.4.0.tar.bz2
strip-components: 1
versions:
- 1.4.0
dependencies:
x.org/protocol: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
x.org/util-macros: '*'
freedesktop.org/pkg-config: ~0.29
script: |
./configure \
--prefix="{{prefix}}" \
--sysconfdir="$SHELF"/etc \
--localstatedir="$SHELF"/var \
--disable-debug \
--enable-docs=no
make --jobs {{ hw.concurrency }} install
env:
SHELF: ${{tea.prefix}}/x.org
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
mv $FIXTURE test.c
cc test.c
./a.out
fixture: |
#include "X11/Xtrans/Xtrans.h"
int main(int argc, char* argv[]) {
Xtransaddr addr;
return 0;
}