Mercurial > mxe-octave
annotate src/sdl_net.mk @ 5499:be0a7ce498e6
Update mesa to version 20.0.8 (bug #58689).
* src/mesa.mk: Update version and checksum. Add build-meson to dependecies.
Update build rule to use meson and ninja as the build tools.
* src/mesa-1-meson.patch: Add new patch.
* src/mesa-1-fixes.patch: Remove old patch for the scons rule that is no longer
needed.
* dist-files.mk: Update file list.
* src/build-mako.mk: Depend on and use python3.
* src/build-markupsafe.mk: Depend on and use python3.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 20:58:57 +0200 |
parents | d65cfdef4bff |
children | 3c91c69aad7e |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2262
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := sdl_net |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.2.8 |
2220
0e591a7a7d79
update packages sdl sdl_image sdl_mixer sdl_net
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
823
diff
changeset
|
7 $(PKG)_CHECKSUM := fd393059fef8d9925dc20662baa3b25e02b8405d |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := SDL_net-$($(PKG)_VERSION) |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := SDL_net-$($(PKG)_VERSION).tar.gz |
525
d82ed3bf661f
use consequently "www.libsdl.org" instead of "libsdl.org"
Volker Grabsch <vog@notjusthosting.com>
parents:
514
diff
changeset
|
10 $(PKG)_URL := http://www.libsdl.org/projects/SDL_net/release/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := sdl |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
5112
2471c5be92e3
SDL: update update rules to not look for v2.X
John Donoghue
parents:
3480
diff
changeset
|
14 $(WGET) -q -O- 'http://hg.libsdl.org/SDL_net/tags' | \ |
5116 | 15 $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ |
5112
2471c5be92e3
SDL: update update rules to not look for v2.X
John Donoghue
parents:
3480
diff
changeset
|
16 $(GREP) "^1" | \ |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
25 --with-sdl-prefix='$(HOST_PREFIX)' \ |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --disable-sdltest \ |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-gui |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
823
a7c8bcb82bdd
test program for package sdl_net
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
29 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
30 '$(MXE_CC)' \ |
823
a7c8bcb82bdd
test program for package sdl_net
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
31 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
32 '$(2).c' -o '$(HOST_BINDIR)/test-sdl_net.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
33 `'$(MXE_PKG_CONFIG)' SDL_net --cflags --libs` |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 endef |