| Name |
xkeyboard-config |
| Description |
|
| Version |
2.42-1 |
| Package Base |
|
| Homepage |
|
| Maintainers |
['Debian X Strike Force <debian-x@lists.debian.org>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/xorg-team/data/xkeyboard-config |
| Sources |
['https://sources.debian.org/data/main/x/xkeyboard-config/2.42-1/debian/watch', 'https://sources.debian.org/src/xkeyboard-config/2.42-1/debian/patches/series'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'meson', 'quilt'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
xkb_base := /usr/share/X11/xkb
override_dh_auto_configure:
dh_auto_configure -- \
-Dxkb-base=$(xkb_base) \
-Dxorg-rules-symlinks=true
override_dh_auto_install:
# Regular deb:
(cd build; DESTDIR=$(CURDIR)/debian/xkb-data meson install)
# Treat the udeb as an exact copy, but remove messages/pkg-config/man-pages:
mkdir $(CURDIR)/debian/xkb-data-udeb
cp -r $(CURDIR)/debian/xkb-data/* $(CURDIR)/debian/xkb-data-udeb
rm -rf $(CURDIR)/debian/xkb-data-udeb/usr/share/locale
rm -rf $(CURDIR)/debian/xkb-data-udeb/usr/share/man
rm -rf $(CURDIR)/debian/xkb-data-udeb/usr/share/pkgconfig
# Now try and save some space, by getting rid of comments (in
# non-XML files, let's be cautious), then of multiple spaces:
find $(CURDIR)/debian/xkb-data-udeb/ ! -name '*.xml' -type f -print0 \
| xargs -0 perl -i -pe 's,//.*$$,,'
find $(CURDIR)/debian/xkb-data-udeb/usr/share/X11 -type f -print0 \
| xargs -0 perl -i -pe 's/[ \t]+/ /g'
override_dh_clean:
dh_clean
rm -f po/*.gmo po/*.pot rules/evdev*.xml
rm -rf m4
%:
dh $@ --buildsystem=meson --with quilt --builddirectory=build/