Switch to new download format and rebuild without libxkbfile.la

This commit is contained in:
2026-03-08 17:16:41 +02:00
parent 2b06346506
commit cabcfabac3
2 changed files with 24 additions and 14 deletions
+23 -4
View File
@@ -1,10 +1,29 @@
name: libxklavier
description: High-level API library for X Keyboard Extension
version: 5.4
revision: 2
version: "5.4"
revision: 3
url: https://www.freedesktop.org/wiki/Software/LibXklavier/
license: LGPL2
maintainers:
- [email protected]
architecture: any
depends: ["glib","glibc","iso-codes","libx11","libxi","libxkbfile","libxml2","xkeyboard-config","xorg-xkbcomp"]
make_depends: ["gobject-introspection","intltool"]
type: source
depends:
- glib
- glibc
- iso-codes
- libx11
- libxi
- libxkbfile
- libxml2
- xkeyboard-config
- xorg-xkbcomp
make_depends:
- bzip2
- gobject-introspection
- intltool
downloads:
- url: https://people.freedesktop.org/~svu/libxklavier-${BPM_PKG_VERSION}.tar.bz2
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 17a34194df5cbcd3b7bfd0f561d95d1f723aa1c87fca56bc2c209514460a9320
+1 -10
View File
@@ -2,16 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://people.freedesktop.org/~svu/libxklavier-${BPM_PKG_VERSION}.tar.bz2"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
@@ -24,5 +14,6 @@ build() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/libxklavier/COPYING.LIB
}