Mercurial > mxe-octave
view src/sdl2.mk @ 6257:a09bdc36cc34 release octave-rc-7.1.90
Update version numbers and build rules for Octave 7.1.90 release candidate.
* src/stable-octave.mk: Update version to 7.1.91.
* src/release-octave.mk: Update version to 7.1.90. Update checksum
and URL for release candidate.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 13 Jun 2022 14:33:47 -0400 |
parents | 8b29cda61d59 |
children | d067e6d2239e |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sdl2 $(PKG)_IGNORE := $(PKG)_VERSION := 2.0.18 $(PKG)_CHECKSUM := 419c62567d197a52a2136865c158f894939c1adf $(PKG)_SUBDIR := SDL2-$($(PKG)_VERSION) $(PKG)_FILE := SDL2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.libsdl.org/release/$($(PKG)_FILE) $(PKG)_DEPS := libiconv libsamplerate define $(PKG)_UPDATE $(WGET) -q -O- 'https://hg.libsdl.org/SDL/tags' | \ $(SED) -n 's,.*tag/release-\([0-9][^"]*\).*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && aclocal -I acinclude && autoconf && $(SHELL) ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-libsamplerate \ --enable-libsamplerate-shared=$(if $(BUILD_SHARED),yes,no) $(SED) -i 's,defined(__MINGW64_VERSION_MAJOR),defined(__MINGW64_VERSION_MAJOR) \&\& defined(_WIN64),' '$(1)/include/SDL_cpuinfo.h' $(SED) -i 's,-XCClinker,,' '$(1)/sdl2.pc' $(SED) -i 's,-XCClinker,,' '$(1)/sdl2-config' $(MAKE) -C '$(1)' -j '$(JOBS)' SHELL=$(SHELL) $(MAKE) -C '$(1)' -j 1 install SHELL=$(SHELL) if [ "$(MXE_NATIVE_BUILD)" == "no" ]; then \ $(LN_SF) -sf '$(HOST_BINDIR)/sdl2-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_REFIX)sdl2-config'; \ fi endef