# HG changeset patch # User John W. Eaton # Date 1507802118 14400 # Node ID 4c645e97927969d208c8dd08f506aa65a6acb23f # Parent f3d64fe692e65cfb1f6e1a27c7a16e745520ac2f s2tc: New package. diff -r f3d64fe692e6 -r 4c645e979279 dist-files.mk --- a/dist-files.mk Thu Oct 12 05:54:48 2017 -0400 +++ b/dist-files.mk Thu Oct 12 05:55:18 2017 -0400 @@ -598,6 +598,7 @@ readline-2-event-hook.patch \ readline.mk \ renderproto.mk \ + s2tc.mk \ sdl-test.c \ sdl.mk \ sdl_image-test.c \ diff -r f3d64fe692e6 -r 4c645e979279 index.html --- a/index.html Thu Oct 12 05:54:48 2017 -0400 +++ b/index.html Thu Oct 12 05:55:18 2017 -0400 @@ -2290,6 +2290,10 @@ renderproto> + s2tc + s2tc + + sdl SDL diff -r f3d64fe692e6 -r 4c645e979279 src/mesa.mk --- a/src/mesa.mk Thu Oct 12 05:54:48 2017 -0400 +++ b/src/mesa.mk Thu Oct 12 05:55:18 2017 -0400 @@ -7,7 +7,7 @@ $(PKG)_SUBDIR := mesa-$($(PKG)_VERSION) $(PKG)_FILE := mesa-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.freedesktop.org/pub/mesa/$($(PKG)_FILE) -$(PKG)_DEPS := build-mako zlib +$(PKG)_DEPS := build-mako s2tc zlib ifeq ($(MXE_WINDOWS_BUILD),yes) ifeq ($(USE_SYSTEM_OPENGL),no) $(PKG)_CONFIGURE_OPENGL_OPTIONS := libgl-gdi diff -r f3d64fe692e6 -r 4c645e979279 src/s2tc.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/s2tc.mk Thu Oct 12 05:55:18 2017 -0400 @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := s2tc +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0 +$(PKG)_CHECKSUM := 08295ae27abe2718f7be01f490e7a08353060291 +$(PKG)_SUBDIR := s2tc-$($(PKG)_VERSION) +$(PKG)_FILE := s2tc-$($(PKG)_VERSION).zip +$(PKG)_URL := https://github.com/divVerent/s2tc/archive/v$($(PKG)_VERSION).zip +$(PKG)_DEPS := + +ifeq ($(MXE_WINDOWS_BUILD),yes) + define $(PKG)_BUILD + endef +else + define $(PKG)_BUILD + cd '$(1)' && ./autogen.sh + mkdir '$(1)/.build' + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + --prefix='$(HOST_PREFIX)' \ + && $(CONFIGURE_POST_HOOK) + + $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' + endef +endif