Mercurial > mxe-octave
comparison src/libwebp.mk @ 6059:101ada7ce0a8
sdl2: add additional sdl2 modules (sdl2_image, sdl2_mixer, sdl2_net, sdl2_ttf)
* src/sdl2_image.mk, src/sdl2_mixer.mk, src/sdl2_net.mk,
src/sdl2_ttf.mk: new files
* src/libwebp.mk, src/mpg123.mk, src/opusfile.mk: new files
* index.html: add ref to new targets
* dist-files.mk: add ref to new files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 18 Jan 2022 08:59:19 -0500 |
parents | |
children | 4cdde512ab25 |
comparison
equal
deleted
inserted
replaced
6058:ceb5e2b51ccc | 6059:101ada7ce0a8 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := libwebp | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.2.1 | |
7 $(PKG)_CHECKSUM := 9bbc3cb6f90dccafbd3e39325c28f24ac3f6e041 | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'https://developers.google.com/speed/webp/download' | \ | |
15 $(SED) -n 's,.*<a href="//storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-\([0-9][^"]*\)\.tar.gz">Download</a> |,\1,p' | \ | |
16 $(SORT) -V | \ | |
17 tail -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 cd '$(1)' && ./configure \ | |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
23 $(ENABLE_SHARED_OR_STATIC) \ | |
24 --prefix='$(HOST_PREFIX)' \ | |
25 --enable-everything | |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man=MANS= | |
27 endef |