pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/love09 Add love09, LOVE version 0.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/156fcf3b9b9f
branches:  trunk
changeset: 313449:156fcf3b9b9f
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Sep 30 19:17:24 2018 +0000

description:
Add love09, LOVE version 0.9.0

LOVE is a framework for making 2D games in the Lua programming
language. LOVE is totally free, and can be used in anything from
friendly open-source hobby projects, to evil, closed-source commercial
ones.

We need multiple versions as games were written for the older versions.

diffstat:

 games/love09/DESCR                             |    4 +
 games/love09/Makefile                          |   48 ++
 games/love09/PLIST                             |    8 +
 games/love09/distinfo                          |    7 +
 games/love09/patches/patch-configure           |  576 +++++++++++++++++++++++++
 games/love09/patches/patch-src_common_config.h |   15 +
 6 files changed, 658 insertions(+), 0 deletions(-)

diffs (truncated from 682 to 300 lines):

diff -r 0545d441a8b9 -r 156fcf3b9b9f games/love09/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/DESCR        Sun Sep 30 19:17:24 2018 +0000
@@ -0,0 +1,4 @@
+LOVE is a framework for making 2D games in the Lua programming
+language. LOVE is totally free, and can be used in anything from
+friendly open-source hobby projects, to evil, closed-source commercial
+ones.
diff -r 0545d441a8b9 -r 156fcf3b9b9f games/love09/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/Makefile     Sun Sep 30 19:17:24 2018 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2018/09/30 19:17:24 maya Exp $
+
+DISTNAME=      love-0.9.0-linux-src
+PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love09/}
+CATEGORIES=    games
+MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://love2d.org/
+COMMENT=       Framework for making 2D games in Lua
+LICENSE=       zlib
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/-linux-src//}
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+USE_TOOLS+=    pkg-config
+USE_LIBTOOL=   yes
+
+LUA_VERSIONS_INCOMPATIBLE=     52
+
+# JIT needs WX mappings
+NOT_PAX_MPROTECT_SAFE+=                love0.9/bin/love
+
+GNU_CONFIGURE_PREFIX=          ${PREFIX}/love0.9
+GNU_CONFIGURE_MANDIR=          ${PREFIX}/love0.9/${PKGMANDIR}/
+BUILDLINK_PASSTHRU_DIRS+=      ${PREFIX}/love0.9/lib
+BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.9/lib
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.physfs+= physfs>=2.0
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../lang/LuaJIT2/buildlink3.mk"
+.include "../../devel/devIL/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../graphics/mng/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0545d441a8b9 -r 156fcf3b9b9f games/love09/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/PLIST        Sun Sep 30 19:17:24 2018 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:17:24 maya Exp $
+love0.9/bin/love
+love0.9/lib/liblove.la
+love0.9/man/man1/love.1
+love0.9/share/applications/love.desktop
+love0.9/share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg
+love0.9/share/mime/packages/love.xml
+love0.9/share/pixmaps/love.svg
diff -r 0545d441a8b9 -r 156fcf3b9b9f games/love09/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/distinfo     Sun Sep 30 19:17:24 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/09/30 19:17:24 maya Exp $
+
+SHA1 (love-0.9.0-linux-src.tar.gz) = d4ed3bd6a5f9c2359fbc86e43f87eda7f0b2111e
+RMD160 (love-0.9.0-linux-src.tar.gz) = 497563e79ea00b8390d43c2f0966076e4e23ce66
+Size (love-0.9.0-linux-src.tar.gz) = 1389352 bytes
+SHA1 (patch-configure) = 3514e45780d24aa28250349231f718fd3b787d48
+SHA1 (patch-src_common_config.h) = 93ce979d98590ca74e0437f5a265eec093073f80
diff -r 0545d441a8b9 -r 156fcf3b9b9f games/love09/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/patches/patch-configure      Sun Sep 30 19:17:24 2018 +0000
@@ -0,0 +1,576 @@
+$NetBSD: patch-configure,v 1.1 2018/09/30 19:17:24 maya Exp $
+
+Use portable test(1) comparison operator.
+https://bitbucket.org/rude/love/issue/866/unportable-test-1-comparison-operator-in
+
+--- configure.orig     2013-12-13 22:37:10.000000000 +0000
++++ configure
+@@ -18583,7 +18583,7 @@ else
+   LOVE_BUILD_EXE_FALSE=
+ fi
+ 
+- if test "x$enable_mpg123" == xno; then
++ if test "x$enable_mpg123" = xno; then
+   LOVE_NOMPG123_TRUE=
+   LOVE_NOMPG123_FALSE='#'
+ else
+@@ -18612,11 +18612,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio" == xtrue; then
++if test x"$enable_audio" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio == xtrue; then
++ if test x$enable_audio = xtrue; then
+   LOVE_MODULE_AUDIO_TRUE=
+   LOVE_MODULE_AUDIO_FALSE='#'
+ else
+@@ -18633,11 +18633,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio_null" == xtrue; then
++if test x"$enable_audio_null" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO_NULL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio_null == xtrue; then
++ if test x$enable_audio_null = xtrue; then
+   LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE=
+   LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE='#'
+ else
+@@ -18654,11 +18654,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio_openal" == xtrue; then
++if test x"$enable_audio_openal" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO_OPENAL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio_openal == xtrue; then
++ if test x$enable_audio_openal = xtrue; then
+   LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE=
+   LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE='#'
+ else
+@@ -18675,11 +18675,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_event" == xtrue; then
++if test x"$enable_event" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_EVENT /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_event == xtrue; then
++ if test x$enable_event = xtrue; then
+   LOVE_MODULE_EVENT_TRUE=
+   LOVE_MODULE_EVENT_FALSE='#'
+ else
+@@ -18696,11 +18696,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_event_sdl" == xtrue; then
++if test x"$enable_event_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_EVENT_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_event_sdl == xtrue; then
++ if test x$enable_event_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_EVENT_SDL_TRUE=
+   LOVE_IMPLEMENTATION_EVENT_SDL_FALSE='#'
+ else
+@@ -18717,11 +18717,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_filesystem" == xtrue; then
++if test x"$enable_filesystem" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FILESYSTEM /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_filesystem == xtrue; then
++ if test x$enable_filesystem = xtrue; then
+   LOVE_MODULE_FILESYSTEM_TRUE=
+   LOVE_MODULE_FILESYSTEM_FALSE='#'
+ else
+@@ -18738,11 +18738,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_filesystem_physfs" == xtrue; then
++if test x"$enable_filesystem_physfs" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FILESYSTEM_PHYSFS /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_filesystem_physfs == xtrue; then
++ if test x$enable_filesystem_physfs = xtrue; then
+   LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE=
+   LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE='#'
+ else
+@@ -18759,11 +18759,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_font" == xtrue; then
++if test x"$enable_font" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FONT /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_font == xtrue; then
++ if test x$enable_font = xtrue; then
+   LOVE_MODULE_FONT_TRUE=
+   LOVE_MODULE_FONT_FALSE='#'
+ else
+@@ -18780,11 +18780,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_font_freetype" == xtrue; then
++if test x"$enable_font_freetype" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FONT_FREETYPE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_font_freetype == xtrue; then
++ if test x$enable_font_freetype = xtrue; then
+   LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE=
+   LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE='#'
+ else
+@@ -18801,11 +18801,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_graphics" == xtrue; then
++if test x"$enable_graphics" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_GRAPHICS /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_graphics == xtrue; then
++ if test x$enable_graphics = xtrue; then
+   LOVE_MODULE_GRAPHICS_TRUE=
+   LOVE_MODULE_GRAPHICS_FALSE='#'
+ else
+@@ -18822,11 +18822,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_graphics_opengl" == xtrue; then
++if test x"$enable_graphics_opengl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_GRAPHICS_OPENGL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_graphics_opengl == xtrue; then
++ if test x$enable_graphics_opengl = xtrue; then
+   LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE=
+   LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE='#'
+ else
+@@ -18843,11 +18843,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_image" == xtrue; then
++if test x"$enable_image" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_IMAGE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_image == xtrue; then
++ if test x$enable_image = xtrue; then
+   LOVE_MODULE_IMAGE_TRUE=
+   LOVE_MODULE_IMAGE_FALSE='#'
+ else
+@@ -18864,11 +18864,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_image_magpie" == xtrue; then
++if test x"$enable_image_magpie" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_IMAGE_MAGPIE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_image_magpie == xtrue; then
++ if test x$enable_image_magpie = xtrue; then
+   LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE=
+   LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE='#'
+ else
+@@ -18885,11 +18885,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_joystick" == xtrue; then
++if test x"$enable_joystick" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_JOYSTICK /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_joystick == xtrue; then
++ if test x$enable_joystick = xtrue; then
+   LOVE_MODULE_JOYSTICK_TRUE=
+   LOVE_MODULE_JOYSTICK_FALSE='#'
+ else
+@@ -18906,11 +18906,11 @@ else



Home | Main Index | Thread Index | Old Index