Skip to content

Commit

Permalink
Update to wayland-protocol 1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
csdougliss committed Apr 17, 2023
1 parent cd1a2a5 commit dc874a8
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions tools/depends/target/wayland-protocols/Makefile
Expand Up @@ -3,10 +3,10 @@ DEPS =Makefile ../../download-files.include

# lib name, version
LIBNAME=wayland-protocols
VERSION=1.20
VERSION=1.24
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
SHA512=56c99b1534ca12e094c0ba1a7d38e7551d38dd7dea80d1a35ae4cd60e8b28ddbd8f00374394da871bbfc91aa3a42f77ebed7d62a8fe6165684a385f2028a1bf4
ARCHIVE=$(SOURCE).tar.xz
SHA512=4b1122517db56f48a5fafd4bd0cb7f94faef6fdd2d80e6cec17e5a6bafbaf2f5a71b958ed12e6d13965494885c209b2fb6dd8331487b39c6f251e71f1e770a15
include ../../download-files.include

ifeq ($(PLATFORM),)
Expand All @@ -22,12 +22,20 @@ else
DEPS += ../../Makefile.include
endif

MESON_BUILD_TYPE=release

ifeq ($(DEBUG_BUILD), yes)
MESON_BUILD_TYPE=debug
endif

# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX)
CONFIGURE = $(PYTHON) $(MESON) $(NATIVEPREFIX)/bin/meson \
--prefix=$(PREFIX) \
--buildtype=$(MESON_BUILD_TYPE) \
-Dtests=false

all: .installed-$(PLATFORM)


$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
ifeq ($(PREFIX),)
@echo
Expand All @@ -36,11 +44,11 @@ ifeq ($(PREFIX),)
endif
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(AUTORECONF) -vif
cd $(PLATFORM); $(CONFIGURE)
cd $(PLATFORM); rm -rf build; mkdir -p build
cd $(PLATFORM); $(CONFIGURE) . build

.installed-$(PLATFORM): $(PLATFORM)
$(MAKE) -C $(PLATFORM) install
cd $(PLATFORM)/build; $(NATIVEPREFIX)/bin/ninja -v install
ln -sf $(PREFIX)/share/pkgconfig/wayland-protocols.pc $(PREFIX)/lib/pkgconfig/wayland-protocols.pc
touch $@

Expand Down

0 comments on commit dc874a8

Please sign in to comment.