mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 04:05:22 +02:00
updated from latest love-android (228a26ab99bb)
This commit is contained in:
@@ -63,7 +63,7 @@ PKG_CHECK_MODULES([vorbisfile], [vorbisfile], [], [LOVE_MSG_ERROR([libvorbis and
|
||||
# Other libraries
|
||||
AC_SEARCH_LIBS([sqrt], [m], [], [LOVE_MSG_ERROR([the C math library])])
|
||||
AC_SEARCH_LIBS([PHYSFS_init], [physfs], [], [LOVE_MSG_ERROR([PhysicsFS])])
|
||||
AC_SEARCH_LIBS([glLoadIdentity], [GL], [], [LOVE_MSG_ERROR([OpenGL])])
|
||||
AC_SEARCH_LIBS([glViewport], [GLESv2], [], [LOVE_MSG_ERROR([OpenGL])])
|
||||
|
||||
# Lua, treated seperately because of --with-lua
|
||||
AS_VAR_IF([with_luaversion], [5.2], [luatest=lua_version], [luatest=lua_pcall]) # use lua_version for 5.2
|
||||
@@ -118,7 +118,7 @@ AS_VAR_IF([enable_exe], [no], [], #else
|
||||
AC_DEFINE([LOVE_BUILD_EXE], [], [Skip building launcher]))
|
||||
|
||||
AM_CONDITIONAL([LOVE_BUILD_EXE], [test "x$enable_exe" != xno])
|
||||
AM_CONDITIONAL([LOVE_NOMPG123], [test "x$enable_mpg123" == xno])
|
||||
AM_CONDITIONAL([LOVE_NOMPG123], [test "x$enable_mpg123" = xno])
|
||||
AM_CONDITIONAL([LOVE_TARGET_OSX], [test "x$enable_osx" != xno])
|
||||
|
||||
# Automatic script file rebuilding
|
||||
|
||||
@@ -33,7 +33,7 @@ Depends: ${misc:Depends},
|
||||
libgl1-mesa-glx,
|
||||
libluajit-5.1-2,
|
||||
libphysfs-1.0-0,
|
||||
libsdl2 (>= 2.0.0),
|
||||
libsdl2-2.0-0 (>= 2.0.0),
|
||||
libopenal1,
|
||||
libogg0,
|
||||
libvorbis0a,
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
usr/bin/love
|
||||
usr/share/man/man1/love.1
|
||||
usr/share/pixmaps/love.svg
|
||||
usr/share/mime/packages/love.xml
|
||||
usr/share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg
|
||||
usr/share/applications/love.desktop
|
||||
|
||||
@@ -16,7 +16,7 @@ implfind()
|
||||
|
||||
sourcefind()
|
||||
{
|
||||
find "$1" $2 -type f \( -iname "*.c" -o -iname "*.cpp" -o -iname "*.h" -o -iname "*.lch" \) | awk "{print \"./$prefix\"\$0\" \\\\\"}" | grep -v -f"$LOVEROOT/platform/unix/exclude"
|
||||
find "$1" $2 -type f \( -iname "*.c" -o -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" -o -iname "*.lch" \) | awk "{print \"./$prefix\"\$0\" \\\\\"}" | grep -v -f"$LOVEROOT/platform/unix/exclude"
|
||||
}
|
||||
|
||||
handlemodule()
|
||||
@@ -78,11 +78,13 @@ genmodules()
|
||||
for library in *; do
|
||||
NAME="LOVE_LIBRARY_$(upper "$library")"
|
||||
flags="$flags library-$library"
|
||||
|
||||
printf "if $NAME\n"
|
||||
printf "liblove${love_amsuffix}_la_SOURCES += \\\\\n"
|
||||
FILES="$(sourcefind "$library" | sed "s/^/ /")"
|
||||
printf "${FILES:0:${#FILES}-2}\nendif\n\n"
|
||||
|
||||
if [[ ${#FILES} -gt 2 ]]; then
|
||||
printf "if $NAME\n"
|
||||
printf "liblove${love_amsuffix}_la_SOURCES += \\\\\n"
|
||||
printf "${FILES:0:${#FILES}-2}\nendif\n\n"
|
||||
fi
|
||||
done
|
||||
cd ../..
|
||||
}
|
||||
@@ -96,10 +98,10 @@ genflags()
|
||||
amflag="$(upper $(echo love-$flag | sed 's/-/_/g'))"
|
||||
printf "AC_ARG_ENABLE([$flag], [ --disable-$flag Turn off $prettyflag], [], [$varflag=true])\n"
|
||||
printf "AH_TEMPLATE([$defineflag], [])\n"
|
||||
printf "if test x\"\$$varflag\" == xtrue; then\n"
|
||||
printf "if test x\"\$$varflag\" = xtrue; then\n"
|
||||
printf " AC_DEFINE([$defineflag], [])\n"
|
||||
printf "fi\n"
|
||||
printf "AM_CONDITIONAL([$amflag], [test x\$$varflag == xtrue])\n\n"
|
||||
printf "AM_CONDITIONAL([$amflag], [test x\$$varflag = xtrue])\n\n"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.\" (c) 2008-2011 Miriam Ruiz <little_miry@yahoo.es>
|
||||
.\" (c) 2013 Bart van Strien <bart.bes@gmail.com>
|
||||
.\"
|
||||
.\" This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damagesarising from the use of this software.
|
||||
.\"
|
||||
@@ -11,16 +12,25 @@
|
||||
.\" 3. This notice may not be removed or altered from any source distribution.
|
||||
.\"
|
||||
.\" Modifications:
|
||||
.\" - Update version to 0.9 and remove reference to doc dir - Bart van Strien, 2013
|
||||
.\" - Update version to 0.9 and remove reference to doc dir
|
||||
.\" - Add fused and version flags
|
||||
|
||||
.TH "LÖVE" "1" "0.9" "" ""
|
||||
.SH "NAME"
|
||||
love \- 2D game development framework
|
||||
|
||||
.SH "SYNOPSIS"
|
||||
.B love
|
||||
<\fIgame.love\fR>
|
||||
[--fused] <\fIgame.love\fR>
|
||||
.PP
|
||||
.B love
|
||||
--version
|
||||
.PP
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
LÖVE was created to be a user\-friendly engine in which simple (or complicated) games could be made without having extensive knowledge of system or graphics functions and without having to dedicate time towards developing the same engine features time and time again.
|
||||
.P
|
||||
Developed with cross\-platform implementation in mind, it utilizes the latest open source libraries to deliver a similar game experience, independent of operating system. By relying on the Lua scripting language for game\-specific programming, it allows even the novice game creator to quickly and efficiently develop an idea into a fully working game.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
You can find more information at \fIhttp://love2d.org/\fR
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Name=LÖVE
|
||||
Comment=The unquestionably awesome 2D game engine
|
||||
MimeType=application/x-love-game;
|
||||
Exec=@bindir@/love
|
||||
Exec=@bindir@/love %f
|
||||
Type=Application
|
||||
Categories=Development;Game;
|
||||
Terminal=false
|
||||
|
||||
Reference in New Issue
Block a user