Commit Graph

52 Commits

Author SHA1 Message Date
Sasha Szpakowski 6e80d85110 Merge branch 'main' into 12.0-development 2023-08-19 21:35:55 -03:00
Miku AuahDark 536e7e9f69 configure.ac: Specify CXXFLAGS instead of CPPFLAGS.
Autotools uses CPPFLAGS for C preprocessor and CXXFLAGS for C++ compile flags.
2023-08-03 17:54:46 +08:00
Sasha Szpakowski 78e7c44424 update version 2023-04-15 09:37:22 -03:00
Sasha Szpakowski 82e516f2fb Untested attempt at linux support for harfbuzz dependency 2023-01-03 21:12:16 -04:00
Sasha Szpakowski 456f897e43 Merge branch 'main' into 12.0-development 2022-12-29 12:12:28 -04:00
Miku AuahDark bfcb6c6643 Compile with -fvisibility=hidden by default.
This gives around 1MB size reduction.
2022-12-28 13:51:21 +08:00
niki 735c8b0290 vulkan: provide vulkan headers ourselves 2022-09-20 02:10:51 +02:00
niki 850749fac0 linux build: use c++14 2022-09-18 20:39:55 +02:00
Alex Szpakowski bb9c342972 Remove unused GME sound decoder backend. 2022-04-18 20:41:55 -03:00
Alex Szpakowski 9682c7a5ad Fix lua https library when building with autotools 2022-04-11 20:50:22 -03:00
Bart van Strien 334b674f12 Update version number in configure.ac 2022-01-02 15:07:12 +01:00
Garrett Brown 228e0b9df1 Fix casing here? 2020-09-16 21:47:58 -04:00
Alex Szpakowski b8f20ed8db Merge pull request #5 from MikuAuahDark/replace-mpg123
Replace Mpg123 with dr_mp3
2020-02-16 18:34:07 -04:00
Miku AuahDark 52a707d96c Remove mpg123 reference from build system.
TODO: macOS/iOS xcodeproj
2020-02-16 15:25:31 +08:00
Alex Szpakowski 157d7637ed Update version to 12.0
--HG--
branch : minor
2019-12-23 17:17:51 -04:00
Alex Szpakowski 97883ae627 Update version to 11.3 2018-12-27 21:48:42 -04:00
Alex Szpakowski da23448efe Update version to 11.2 2018-10-28 13:52:09 -03:00
Bart van Strien 32da35115c Always link against pthread when using autotools (resolves #1410)
Theoretically I could enable it on a case-by-case basis, but as of now glslang,
physfs and the thread module all require pthread, so I might as well just
always link it in.
2018-05-20 11:27:29 +02:00
Alex Szpakowski 4546a38751 Update changelog and version 2018-04-08 11:31:10 -03:00
Bart van Strien da9716b96d Update version number and changelog 2018-03-31 12:27:02 +02:00
Alex Szpakowski 1d8a3326b3 Include the physfs 3.0.1 source in love. 2017-12-15 19:41:17 -04:00
Bart van Strien 2cde3a8227 Update autotools build for the luautf8 → lua53 rename
Additionally add the library as a dependency for the love.data module

--HG--
branch : minor
2017-09-25 10:08:57 +02:00
Bart van Strien 4ccbe6dfec Update autotools build system
Make genmodules create a simpler Makefile.am:
Instead of generating separate rules for modules and implementations, just create rules for modules and lua libraries
Disable selection of non-lua libraries, they will now be built when needed.
Also disable selection of implementations, because that was useless anyway.

Note: inter-module dependencies aren't dealt with (yet).

--HG--
branch : minor
2017-03-12 10:47:19 +01:00
Bart van Strien ff336041a9 Clean up autotools build scripts
- Removed unused platform/unix/gen-makefile
- Added current version as suffix to the built library (now liblove-0.11.0.so, for example)
  - Added target version to configure.ac
- Include .lua files as sources, so they get included in 'make dist'

--HG--
branch : minor
2017-01-15 22:07:51 +01:00
Alex Szpakowski 60d90ca4a8 Merge default into minor
--HG--
branch : minor
2016-10-30 01:07:39 -03:00
Bart van Strien 7a6e626c74 Make stb_image only use SSE2 on x86_64, or when an override has been set (fixes #1173)
Turns out, this is a gcc bug: detecting sse2 support cannot be done in shared
libraries. For now we'll assume 32-bit x86 builds are intended to also run on
devices without SSE2 (how old!). In the future we might decide we only support
machines that support SSE2, if we secretly don't already.
2016-10-25 15:21:31 +02:00
Bart van Strien e515cf076e Make configure not search for dependencies of disabled implementations (resolves #1099)
Also rewrite dependency searching so we have a single file with all test macros.

--HG--
branch : minor
2016-03-08 12:55:49 +01:00
Bart van Strien 22f2175bec Add initial video playback support for Ogg Theora videos (resolves issue #66.)
The basic APIs are:

video = love.graphics.newVideo("myvideo.ogv")

love.graphics.draw(video, ...) -- Video objects are Drawables.

video:play(), video:pause()

video:getDuration(), video:tell(), video:rewind(), video:seek(seconds)

video:getSource()

video:getWidth(), video:getHeight(), video:setFilter(min, mag)

More advanced APIs include video:setSource(source), video:getStream(), and videostream:setSync.

To use a custom pixel shader when drawing a Video, call the new TexelVideo(texcoords) function instead of Texel(texture, texcoords) in order to get the pixel colors of a video frame.
2015-12-08 22:41:19 -04:00
Bart van Strien 306049bcfe Move and manually include c++11 m4 file to work around old aclocal versions 2015-08-19 16:12:14 +02:00
Bart van Strien acca06907e Extend c++11 tests in configure script
Now also checks if gcc is at least version 4.7 or clang is at least version 3.1
2015-08-17 19:01:43 +02:00
Bart van Strien 3cb777e2b7 Add basic lua 5.3 support 2015-06-16 10:25:41 +02:00
Alex Szpakowski 5dbf589d47 Removed libjpeg-turbo as a dependency (closes issue #1031.) Removed jpeg support for ImageData:encode. stb_image now handles jpeg image loading. 2015-05-03 17:52:20 -03:00
Bart van Strien 95d9dfa801 Explicitly search for pkg-config in configure script 2015-03-21 21:49:17 +01:00
djcj 9d2a2832ab Disable static libraries by default in linux build 2015-03-18 11:28:01 +00:00
Bart van Strien bd271ce5cb Remove OpenGL as compile-time dependency on linux, SDL loads it at runtime (and also GLES, if applicable) 2015-03-15 21:37:04 +01:00
Alex Szpakowski be8b7dd504 glLoadIdentity isn't part of GLES2+ or core GL3+.
--HG--
branch : minor
2015-01-21 21:42:24 -04:00
Alex Szpakowski eca8c17a69 Removed the DevIL backend from love.image. Replaced it with PNG and JPEG encoders/decoders via LodePNG, zlib, and libjpeg-turbo.
PNG and JPEG are now the only two supported image formats, aside from compressed DDS (DXT, etc.)

--HG--
branch : minor
2014-04-22 17:11:59 -03:00
Bart van Strien a1158599ab Use '=' instead of '==' for test command in configure scripts (fixes #866) 2014-04-01 16:54:51 +02:00
Bart van Strien d81eae8889 Scripts now automatically recompile on change on linux, auto.lua normalizes input names a bit more 2013-12-14 13:57:52 +01:00
Bart van Strien 6eb0544bbc Use new error message macro in configure, use luajit by default, switch to pkg-config for as much as possible 2013-12-13 20:32:55 +01:00
Bart van Strien 5b66cd2290 Make configure output some files in the debian folder as well, substituting the (optional) suffix where needed, also add pkg-config dependency 2013-12-08 20:06:12 +01:00
Bart van Strien 3d82eecc08 Apply the love-experiment moduleselect branch
You can now:
	- Enable and disable love's modules, implementations and libraries using configure switches
	- Use pkg-config for a couple of love's requirements
	- Build on OSX
	- Use newer versions of FreeType2
	- Get a slightly better error message using automagic
2013-12-08 19:32:32 +01:00
Jordy Dickinson 86f3ee4775 Fixed build errors with custom SDL location (resolves issue 774)
Uses SDL2's sdl2.m4 macros, which are installed along with SDL2. This ensures
that the correct flags are given to the compiler and linker.
2013-10-31 20:24:43 +01:00
Bart van Strien 375cbd4003 Make autoconf detect and enable c++11 support in compilers 2013-09-29 12:47:34 +02:00
Bart van Strien d598549980 Make the configure script look for SDL2 2013-08-28 13:34:35 +02:00
Bart van Strien f5603b0291 Make love compile against lua5.2 2013-07-10 16:02:52 +02:00
Martin Felis 14ca401158 Add enet and lua-enet 2013-07-10 15:42:50 +02:00
Bart van Strien c99fb2fb99 Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs 2013-05-26 22:34:04 +02:00
Bart van Strien 6bc4f7a34e Revision 1500 s/''/'/ on configure.ac, how fitting 2013-05-26 21:04:51 +02:00
Bart van Strien d8dfd62035 Rework configure.ac, clean up platform/unix 2013-05-26 17:45:14 +02:00