annotate src/openal.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents b19fb3ed330c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1670
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.
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
4 PKG := openal
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 1.15.1
4866
5ab457504494 openal: update for using github
John Donoghue
parents: 3640
diff changeset
7 $(PKG)_CHECKSUM := 018a9cd414db6b2ba5924261a59f34e8ce7b603a
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := openal-soft-$($(PKG)_VERSION)
4866
5ab457504494 openal: update for using github
John Donoghue
parents: 3640
diff changeset
9 $(PKG)_FILE := openal-soft-$($(PKG)_VERSION).tar.gz
5ab457504494 openal: update for using github
John Donoghue
parents: 3640
diff changeset
10 $(PKG)_URL := https://github.com/kcat/openal-soft/archive/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := portaudio
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
12
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4866
5ab457504494 openal: update for using github
John Donoghue
parents: 3640
diff changeset
14 $(WGET) -q -O- 'https://github.com/kcat/openal-soft/tags' | \
5ab457504494 openal: update for using github
John Donoghue
parents: 3640
diff changeset
15 $(SED) -n 's|.*releases/tag/openal-soft-\([^"]*\).*|\1|p' | $(SORT) -V | \
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
16 tail -1
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
17 endef
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1636
diff changeset
20 cd '$(1)/build' && cmake .. \
5541
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 4866
diff changeset
21 $(CMAKE_CCACHE_FLAGS) \
5571
b19fb3ed330c use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents: 5541
diff changeset
22 $(CMAKE_BUILD_SHARED_OR_STATIC) \
1670
56c35fe3b209 improved quoting
Volker Grabsch <vog@notjusthosting.com>
parents: 1663
diff changeset
23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
2732
ebe3474e514b package openal: disable examples build
Tony Theodore <tonyt@logyst.com>
parents: 2525
diff changeset
24 -DEXAMPLES=FALSE
1235
7e9f957b3239 package openal: combine patch files, portability fixes, and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1234
diff changeset
25 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install
1458
4b3fc437b181 fix nasty whitespaces
Volker Grabsch <vog@notjusthosting.com>
parents: 1457
diff changeset
26
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
27 '$(MXE_CC)' \
1235
7e9f957b3239 package openal: combine patch files, portability fixes, and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1234
diff changeset
28 -W -Wall -Werror -ansi -pedantic \
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
29 '$(2).c' -o '$(1)/test-openal.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
30 `'$(MXE_PKG_CONFIG)' openal --cflags --libs`
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
31 endef
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
32