Commit Graph

15 Commits

Author SHA1 Message Date
Miku AuahDark 52a707d96c Remove mpg123 reference from build system.
TODO: macOS/iOS xcodeproj
2020-02-16 15:25:31 +08:00
Bart van Strien bf83629b4c Fix makefile misgeneration when CDPATH is set (fixes #1212)
--HG--
branch : minor
2017-06-30 19:08:41 +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
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 987ddcdc26 Update path to macosx.mm in autotools build 2015-08-17 17:10:20 +02:00
Bart van Strien b049dd0387 Also add *.hpp files to autotools sources lists 2015-03-15 21:36:35 +01:00
Alex Szpakowski 38b65b859a Merged default into minor
--HG--
branch : minor
2014-05-03 22:27:01 -03:00
Bart van Strien 853f741ba3 Prevent erroring in gen-modules when no source files are found (needed in some
love-experiments branches)
2014-04-25 17:53:38 +02: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