diff options
author | craigcarnell <craig_carnell@hotmail.com> | 2023-02-27 17:35:34 +0000 |
---|---|---|
committer | craigcarnell <craig_carnell@hotmail.com> | 2023-03-08 14:32:00 +0000 |
commit | 989582badc859f8d2a5252ee6b4c7e5eda96793b (patch) | |
tree | 89f74ae5f46cadd03fe5cbc39c4aa872ea79af8a /tools/depends/target | |
parent | 63f02bf0847976f3ee487fad4ead5be7bd4383ac (diff) |
Update libxbcommon to 1.5.0
Diffstat (limited to 'tools/depends/target')
-rw-r--r-- | tools/depends/target/libxkbcommon/Makefile | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/tools/depends/target/libxkbcommon/Makefile b/tools/depends/target/libxkbcommon/Makefile index b692e15b26..79a14c0f34 100644 --- a/tools/depends/target/libxkbcommon/Makefile +++ b/tools/depends/target/libxkbcommon/Makefile @@ -3,16 +3,35 @@ DEPS =../../Makefile.include Makefile ../../download-files.include # lib name, version LIBNAME=libxkbcommon -VERSION=0.8.0 +VERSION=1.5.0 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.xz -SHA512=ad64baa03685b72e1047f9fdfc95661acf5bace59280a95d3defaca73c91fb77c31ecde00b430726e3521ff90cf8dd93ecbc816c18be0971cb616e00b81cf163 +SHA512=bbba6665f052c04c7450413cc5e2badd6bfd41326b0e4c60e3ec01d730cae695fd34ce2662b8a91ece7a76b974a0ea330f7462dd5d2db148b0d0da26264ced9c include ../../download-files.include # configuration settings -CONFIGURE=./configure --prefix=$(PREFIX) --disable-shared --enable-static --disable-x11 --disable-docs +MESON_BUILD_TYPE=release -LIBDYLIB=$(PLATFORM)/.libs/libxkbcommon.la +ifeq ($(DEBUG_BUILD), yes) + MESON_BUILD_TYPE=debug +endif + +# configuration settings +CONFIGURE = $(NATIVEPREFIX)/bin/python3 $(NATIVEPREFIX)/bin/meson \ + --buildtype=$(MESON_BUILD_TYPE) \ + --prefix=$(PREFIX) \ + -Ddefault_library=static \ + -Denable-docs=false \ + -Denable-x11=false \ + -Denable-wayland=false \ + -Denable-xkbregistry=false \ + -Dxkb-config-root=/usr/share/X11/xkb + +ifeq ($(CROSS_COMPILING), yes) +CONFIGURE += --cross-file $(PREFIX)/share/cross-file.meson +endif + +LIBDYLIB=$(PLATFORM)/build/libxkbcommon.a all: .installed-$(PLATFORM) @@ -20,13 +39,13 @@ all: .installed-$(PLATFORM) $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) - cd $(PLATFORM); $(CONFIGURE) + cd $(PLATFORM); $(CONFIGURE) . build $(LIBDYLIB): $(PLATFORM) - $(MAKE) -C $(PLATFORM) + cd $(PLATFORM)/build; $(NATIVEPREFIX)/bin/ninja -v .installed-$(PLATFORM): $(LIBDYLIB) - $(MAKE) -C $(PLATFORM) install + cd $(PLATFORM)/build; $(NATIVEPREFIX)/bin/ninja -v install touch $@ clean: |