libxkbcommon: update to 1.0.1.

Co-Authored-By: Dash Eclipse <dash@ezup.dev>
Co-Authored-By: Andrew J. Hesford <ajh@sideband.org>

Closes #25134.
This commit is contained in:
Dash Eclipse 2020-09-29 20:58:43 +00:00 committed by Andrew J. Hesford
parent ef568dadc4
commit c81ef4f8a1
3 changed files with 22 additions and 10 deletions

1
srcpkgs/libxkbcommon-tools Symbolic link
View file

@ -0,0 +1 @@
libxkbcommon

View file

@ -4,8 +4,8 @@ Reason: removes creation of fuzzing infrastructure which isn't included in the d
--- meson.build
+++ meson.build
@@ -382,12 +382,6 @@ if get_option('enable-x11')
executable('test-x11comp', 'test/x11comp.c', dependencies: x11_test_dep)
@@ -670,12 +670,6 @@
message('valgrind not found, disabling valgrind test setup')
endif
-
@ -14,6 +14,6 @@ Reason: removes creation of fuzzing infrastructure which isn't included in the d
-executable('fuzz-compose', 'fuzz/compose/target.c', dependencies: test_dep)
-
-
# Demo programs.
executable('rmlvo-to-kccgst', 'test/rmlvo-to-kccgst.c', dependencies: test_dep)
executable('print-compiled-keymap', 'test/print-compiled-keymap.c', dependencies: test_dep)
# Benchmarks.
libxkbcommon_bench_internal = static_library(
'xkbcommon-bench-internal',

View file

@ -1,10 +1,11 @@
# Template file for 'libxkbcommon'
pkgname=libxkbcommon
version=0.10.0
version=1.0.1
revision=1
wrksrc="${pkgname}-${pkgname#lib}-${version}"
build_style=meson
configure_args="-Denable-wayland=true -Denable-docs=false -Denable-x11=true"
configure_args="-Denable-x11=true -Denable-docs=false
-Denable-wayland=true -Denable-xkbregistry=false"
hostmakedepends="pkg-config bison wayland-protocols wayland-devel"
makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols"
depends="xkeyboard-config"
@ -13,9 +14,9 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://xkbcommon.org/"
distfiles="https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-${version}.tar.gz"
checksum=9b4635cf5d9fc0fb9611ceec1780aafc0944299e9a29ab09c18ec2633923b9c3
checksum=270e2ad4ce5699f633e49042114cb68a5697fa1ed45b65c1d96a833cfac20954
pkg_install() {
post_install() {
vlicense LICENSE
}
@ -27,7 +28,8 @@ libxkbcommon-x11_package() {
}
libxkbcommon-devel_package() {
depends="libxcb-devel ${sourcepkg}-x11>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}-x11>=${version}_${revision}
${sourcepkg}>=${version}_${revision} libxcb-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
@ -35,3 +37,12 @@ libxkbcommon-devel_package() {
vmove "usr/lib/*.so"
}
}
libxkbcommon-tools_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/libexec
vmove usr/share/man
}
}