repo/wayland/xkeyboard-config/build

34 lines
593 B
Plaintext
Raw Normal View History

2021-07-07 15:44:03 -06:00
#!/bin/sh -e
(
cd libX11
2021-07-07 15:44:03 -06:00
patch -p1 < ../compose-only.patch
2021-07-07 15:44:03 -06:00
./configure \
--prefix=/usr \
--disable-specs \
--disable-xkb \
--without-fop \
--without-xmlto
make -C nls
make -C nls install
)
# Swap to shell script instead of perl script
# for conversion of rules files. See files/xml2lst.
sed 's/xml2lst\.pl/xml2lst/' rules/meson.build > _
mv -f _ rules/meson.build
# Remove po/ dir.
sed "/subdir('po')/d" meson.build > _
mv -f _ meson.build
meson setup \
-Dprefix=/usr \
output
ninja -C output
ninja -C output install