smlinux/xorg/libxkbcommon/libxkbcommon.SMBuild
PktSurf 233f2d68a8 Upgraded xorg/freetype to 2.13.0
Discarded unused options in xorg/jasper
Upgraded xorg/libxkbcommon to 1.5.0
Added a fix for compiling xorg/xorg-server with gcc 12 and above
2023-06-07 22:28:03 +05:30

35 lines
No EOL
817 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxkbcommon
version=1.5.0
build=1sml
homepage="https://xkbcommon.org/"
download="https://xkbcommon.org/download/libxkbcommon-$version.tar.xz"
desc="Keymap handling library for toolkits and window systems"
requires="libxml2 xkeyboard-config libxcb"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. --prefix=/ \
--buildtype=release \
-Denable-docs=false
ninja
DESTDIR="$pkg" ninja install
cp ../LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
bbba6665f052c04c7450413cc5e2badd6bfd41326b0e4c60e3ec01d730cae695fd34ce2662b8a91ece7a76b974a0ea330f7462dd5d2db148b0d0da26264ced9c libxkbcommon-1.5.0.tar.xz
"