pantry/projects/x.org/x11/package.yml

47 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2023-03-15 21:23:41 +03:00
distributable:
url: https://www.x.org/archive/individual/lib/libX11-{{version}}.tar.gz
strip-components: 1
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://www.x.org/archive/individual/lib/
match: /libX11-\d+\.\d+\.\d+.tar.gz/
strip:
- /libX11-/
- /.tar.gz/
2023-03-15 21:23:41 +03:00
dependencies:
x.org/xcb: ^1
x.org/protocol: '*'
build:
dependencies:
freedesktop.org/pkg-config: ~0.29
x.org/util-macros: '*'
x.org/xtrans: ^1
gnu.org/sed: '*' # or build fails on macOS
2024-03-25 17:01:56 +03:00
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
2024-04-17 02:56:09 +03:00
# .la are unrelocatable, but only used if found
- run: find . -name '*.la' -exec rm {} \;
2024-03-25 17:01:56 +03:00
working-directory: ${{prefix}}/lib
2023-03-15 21:23:41 +03:00
env:
SHELF: ${{pkgx.prefix}}/x.org
2023-03-15 21:23:41 +03:00
ARGS:
- --prefix="{{prefix}}"
- --sysconfdir="$SHELF"/etc
- --localstatedir="$SHELF"/var
- --disable-debug
- --enable-unix-transport
- --enable-tcp-transport
- --enable-ipv6
- --enable-local-transport
- --enable-loadable-i18n
- --enable-xthreads
- --enable-specs=no
2023-03-15 21:23:41 +03:00
2023-04-19 02:03:38 +03:00
test:
script: |
cc fixture.c -lX11
./a.out