Commit graph

166 commits

Author SHA1 Message Date
Simon Howard
5b1fe8e22a Use emscripten's "official" SDL2 port.
Instead of building ourselves.
2024-01-25 21:21:18 -05:00
Simon Howard
174ece5b36 Don't try to install the emscripten SDK.
We already assume the user has a working compiler, so making the setup
of emscripten itself the user's responsibility makes sense. Plus there
are multiple ways it can be set up; Debian has a package for example.

This changes the emscripten pkgdef to just install wrapper scripts and
ditch the code to set up the SDK.
2024-01-25 20:41:13 -05:00
Simon Howard
a314c83753 Change emscripten target name to wasm32-unknown-emscripten.
This seems to be what emscripten identifies itself as internally,
so this name may be marginally better.
2024-01-25 20:06:05 -05:00
Fabian Greffrath
3040608d56
Merge pull request #24 from mikeday0/sdl-mixer-2.6.3
Update SDL_mixer to version 2.6.3
2023-06-10 08:24:50 +02:00
Michael Day
b950062e9a Update SDL_mixer configure options 2023-06-09 22:30:30 -04:00
Michael Day
db50578fe1 Bump SDL_mixer version to 2.6.3 2023-06-09 22:24:38 -04:00
Simon Howard
b5b210a4d4 SDL Sopwith doesn't use SDL_net. 2023-05-16 22:38:35 -04:00
Simon Howard
3ddd1fdc09 Revert to previous autoconf version.
This doesn't seem to work properly on macOS for some reason (?)

Partial revert of 3d7bdd2098
2023-05-14 16:17:13 -04:00
Simon Howard
db69bc5b75 Delete directx-devel package and SDL2 dependency on it.
This version of the DirectX headers from the SDL website is woefully
out of date and in fact is even missing a bunch of types that are
necessary to build SDL. They seem to be unnecessary anyway since
mingw-64 includes newer versions of them anyway.

Fixes #21.
2023-05-14 15:48:31 -04:00
Simon Howard
35e485170d Bump versions for flac and libpng. 2023-05-14 14:16:43 -04:00
Simon Howard
d7b6795c2d Bump SDL versions. 2023-05-14 13:21:55 -04:00
Simon Howard
91739115d8 Merge branch 'master' of github.com:chocolate-doom/chocpkg 2023-05-14 13:04:44 -04:00
Simon Howard
3d7bdd2098 Bump version numbers for some packages. 2023-05-14 13:03:09 -04:00
Simon Howard
0761e3ad85 Add stable_git variants.
These do the same thing as the stable variant but instead fetch via Git.
2023-05-14 12:26:40 -04:00
Simon Howard
93a98c863f Update dev branch for SDL2 projects.
SDL has now moved on to development of SDL3 and for now we want to
keep building SDL2.
2023-05-14 12:15:00 -04:00
Fabian Greffrath
ba073d416d
Merge pull request #23 from mikeday0/SDL2_mixer-2.6.2
Update SDL_mixer to v2.6.2
2022-11-30 06:19:47 +01:00
Michael Day
7c5411a573 Allow curl to follow redirects
Enables downloads from GitHub.
2022-11-29 21:49:07 -05:00
Michael Day
bf010b4596 Update SDL_mixer to v2.6.2 2022-11-28 21:48:54 -05:00
Simon Howard
5ee57f8067 Updates for emscripten package 2022-05-17 00:14:22 -04:00
Simon Howard
4f25e8759a Use /usr/bin/env for bash.
Some systems like BSDs install it in /usr/local.
2022-05-10 00:25:39 -04:00
Simon Howard
d8e3beaaa6 Change SDL packages to git, ditch Mercurial module. 2022-05-10 00:12:49 -04:00
Simon Howard
42fcac5659 Allow switching between branches and support tags. 2022-05-10 00:10:22 -04:00
Simon Howard
2b701b84c1 Add package definition for SDL Sopwith.
Okay, not really Chocolate Doom related, but this is for my own
convenience.
2022-04-29 00:24:02 -04:00
Simon Howard
fb39b5b48c
Merge pull request #20 from chocolate-doom/mpg123-1.26
Update libmpg123 to v1.26.3
2020-07-22 12:55:10 -04:00
Fabian Greffrath
9279913fd9 Update libmpg123 to v1.26.3 2020-07-22 12:15:24 +02:00
Simon Howard
6aac1d9032 Don't build libFLAC++
We don't need it and it's causing problems for macOS build.
2020-06-25 00:01:26 -04:00
Simon Howard
f4f03c4223 Bump stable version to 3.0.1 2020-06-24 23:26:48 -04:00
Fabian Greffrath
5cb9a3c50d Update libmpg123 to v1.26.1 2020-06-19 13:40:22 +02:00
Simon Howard
8fea99baa2 Use gmake over make if it is installed.
BSD systems install GNU make as `gmake` along with their own less-
capable version of make as `make`. If `gmake` is found to be installed,
prefer it because the BSD makes don't often work as expected.
2020-05-16 17:18:09 -04:00
Simon Howard
cf5290d208 Add support for BSD sha256 command.
OpenBSD has this instead of shasum/sha256sum; apparently FreeBSD too.
2020-05-16 17:09:32 -04:00
Simon Howard
8fb2d1ea58 Use tar -f - to read from stdin.
Not all implementations of tar assume reads from stdin if no filename
is given. Fixes extracts on OpenBSD.
2020-05-16 17:05:50 -04:00
Simon Howard
8782712aaf Add support for decompressing .bz2 files.
This should resolve the blocking issue with libmpg321 which is distributed
in .tar.bz2 format.
2020-04-10 20:02:09 -04:00
Simon Howard
e13fe8f8c5
Merge pull request #18 from chocolate-doom/mpg123-1.25.13
Mpg123 1.25.13
2020-04-03 12:34:19 -04:00
Simon Howard
a2f244b457
Merge pull request #17 from chocolate-doom/SDL2-2.0.12
Bump SDL to v2.0.12.
2020-04-03 12:33:59 -04:00
Fabian Greffrath
2a077082e8 Let SDL2_Mixer prefer libmpg123 over libmad. 2020-04-03 12:34:43 +02:00
Fabian Greffrath
59d6d86266 Add libmpg123 package for better MP3 support. 2020-04-03 12:32:10 +02:00
Fabian Greffrath
5827634065 Bump SDL to v2.0.12. 2020-04-03 12:06:57 +02:00
fx02
d9b2e453c6 Competition Doom package v3. 2019-08-09 21:08:47 +02:00
Simon Howard
f2e11960cd
Merge pull request #16 from chocolate-doom/sdl2_2-0-10
Bump SDL to v2.0.10.
2019-07-29 09:50:14 -04:00
Fabian Greffrath
e5477f6756 Bump SDL to v2.0.10. 2019-07-29 09:54:46 +02:00
Simon Howard
5059bee493 Bump SDL to v2.0.9.
Context is in chocolate-doom/chocolate-doom#1147
2019-03-08 21:57:37 -05:00
Simon Howard
6cc0fc095c Change URLs to point at chocpkg-mirrors repo.
Instead of the /depends/ directory on chocolate-doom.org which nobody
except me can edit. Also define a variable to define the base URL for
the mirrors repo so that we can update it easily when GitHub change
their URLs.
2019-03-03 00:14:41 -05:00
Simon Howard
151544f82f Bump SDL2 versions to more recent.
libmad integration crashes on macOS with older versions of SDL2_mixer,
but v2.0.4 has fixes for this.
2019-03-02 12:42:40 -05:00
Simon Howard
3f9324e6aa Update URL for libogg. 2019-03-02 11:32:24 -05:00
Simon Howard
5413c35704 Update libmad pkgdef to use Git repo.
Fabian set up a repository with all the patches to get libmad running on
modern systems, so use that.
2019-02-28 21:09:47 -05:00
Simon Howard
4b8cce8a91 Fix library installed check.
Output cannot be truncated. Also suppress error output from gcc.
2019-01-20 16:29:09 -05:00
Simon Howard
adcff97ec8 Merge branch 'master' of github.com:chocolate-doom/chocpkg 2019-01-20 16:12:46 -05:00
Simon Howard
fd46edf258 Add libmad package for MP3 support.
At request of Fabian.
2019-01-20 16:11:56 -05:00
Simon Howard
1cca6143f5 Add new module to check if a library is installed.
This is very suboptimal compared to using pkg-config, but there are
still some libraries which don't install pkg-config files.
2019-01-20 16:04:32 -05:00
Simon Howard
10c2d1ee65 Don't cd to source emsdk script. 2018-10-01 21:48:53 -04:00