diff options
author | maya <maya@pkgsrc.org> | 2018-09-30 19:12:48 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2018-09-30 19:12:48 +0000 |
commit | 5328d71e21df0c2a541a01b913a962b797e2d4e8 (patch) | |
tree | 798b02d4ab2775e72cea5888da8dd1db72e81b95 /games | |
parent | be418e23edb989b1725da0e3618fd61020f53432 (diff) | |
download | pkgsrc-5328d71e21df0c2a541a01b913a962b797e2d4e8.tar.gz |
Add love08, LOVE version 0.8.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 (limited to 'games')
-rw-r--r-- | games/love08/DESCR | 4 | ||||
-rw-r--r-- | games/love08/Makefile | 41 | ||||
-rw-r--r-- | games/love08/PLIST | 2 | ||||
-rw-r--r-- | games/love08/distinfo | 16 | ||||
-rw-r--r-- | games/love08/patches/patch-configure | 33 | ||||
-rw-r--r-- | games/love08/patches/patch-src_love.cpp | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_event_sdl_Event.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_thread_sdl_threads.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_timer_sdl_Timer.h | 15 | ||||
-rw-r--r-- | games/love08/patches/patch-src_modules_window_sdl_Window.cpp | 15 |
14 files changed, 231 insertions, 0 deletions
diff --git a/games/love08/DESCR b/games/love08/DESCR new file mode 100644 index 00000000000..98f668291da --- /dev/null +++ b/games/love08/DESCR @@ -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 --git a/games/love08/Makefile b/games/love08/Makefile new file mode 100644 index 00000000000..5cfec2703a8 --- /dev/null +++ b/games/love08/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1 2018/09/30 19:12:48 maya Exp $ + +DISTNAME= love-0.8.0-linux-src +PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love08/} +CATEGORIES= games +MASTER_SITES= https://bitbucket.org/rude/love/downloads/ + +MAINTAINER= pkgsrc-users@NetBSD.org +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 53 + +GNU_CONFIGURE_PREFIX= ${PREFIX}/love0.8 + +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../devel/SDL/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 "../../x11/libXpm/buildlink3.mk" +.include "../../x11/libXcursor/buildlink3.mk" +.include "../../x11/libXxf86vm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/love08/PLIST b/games/love08/PLIST new file mode 100644 index 00000000000..798502a8e57 --- /dev/null +++ b/games/love08/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:12:48 maya Exp $ +love0.8/bin/love diff --git a/games/love08/distinfo b/games/love08/distinfo new file mode 100644 index 00000000000..21d43fc48ec --- /dev/null +++ b/games/love08/distinfo @@ -0,0 +1,16 @@ +$NetBSD: distinfo,v 1.1 2018/09/30 19:12:48 maya Exp $ + +SHA1 (love-0.8.0-linux-src.tar.gz) = 8c6ad95b7b0e3c6530b4778b9523f126ba9c9d90 +RMD160 (love-0.8.0-linux-src.tar.gz) = 6dcb62db2fcc41d7a5b4e705f5e7bf6ea89b6835 +SHA512 (love-0.8.0-linux-src.tar.gz) = 6a0e28d102b950d3dddf7101996fe0ad04dfd7d4ec5e58797b41ef3382b60e74f90c6e707f882cf43cc0c5cc98703857eefc6418e6a6fd34e88f8019143f55a4 +Size (love-0.8.0-linux-src.tar.gz) = 1027356 bytes +SHA1 (patch-configure) = 2bb00cce268a4b480c9a123466a8de4e7fc46e7c +SHA1 (patch-src_love.cpp) = 56ae7fef23a961d7d17f74d40dc20a9eea1a10aa +SHA1 (patch-src_modules_event_sdl_Event.h) = b3609e5490c401b45a46c0b054c9155f7b02e3d7 +SHA1 (patch-src_modules_filesystem_physfs_wrap__Filesystem.h) = fce343abceeed90fcf6920a220051ff36f2f4fbb +SHA1 (patch-src_modules_joystick_sdl_Joystick.h) = e49e7721986638f51f38891dfb5e707c67ab64cc +SHA1 (patch-src_modules_keyboard_sdl_Keyboard.h) = 229d0fdb7de9e124962e272ea3893bef65bfa724 +SHA1 (patch-src_modules_mouse_sdl_Mouse.cpp) = 45bc1ec64f9f6d697c9a5075a08729a724c3f15e +SHA1 (patch-src_modules_thread_sdl_threads.h) = d1e9446f4360984053365c0b458829b2a7e44478 +SHA1 (patch-src_modules_timer_sdl_Timer.h) = 0147079eff7e8e440962c5970f82fc3e4d745545 +SHA1 (patch-src_modules_window_sdl_Window.cpp) = 4fe4b7a52cc676cb4439285aa2b16f5c45087daf diff --git a/games/love08/patches/patch-configure b/games/love08/patches/patch-configure new file mode 100644 index 00000000000..859dc6943f8 --- /dev/null +++ b/games/love08/patches/patch-configure @@ -0,0 +1,33 @@ +$NetBSD: patch-configure,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Unportable test(1) + +--- configure.orig 2012-04-06 18:17:02.000000000 +0000 ++++ configure +@@ -15876,7 +15876,7 @@ if test "${with_llvm_lua+set}" = set; th + fi + + +-if test "$lua" == "lua"; then : ++if test "$lua" = "lua"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lua_pcall" >&5 + $as_echo_n "checking for library containing lua_pcall... " >&6; } + if ${ac_cv_search_lua_pcall+:} false; then : +@@ -15941,7 +15941,7 @@ fi + + + fi +-if test "$lua" == "luajit"; then : ++if test "$lua" = "luajit"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lua_pcall" >&5 + $as_echo_n "checking for library containing lua_pcall... " >&6; } + if ${ac_cv_search_lua_pcall+:} false; then : +@@ -16004,7 +16004,7 @@ fi + + + fi +-if test "$lua" == "llvm-lua"; then : ++if test "$lua" = "llvm-lua"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lua_pcall" >&5 + $as_echo_n "checking for library containing lua_pcall... " >&6; } + if ${ac_cv_search_lua_pcall+:} false; then : diff --git a/games/love08/patches/patch-src_love.cpp b/games/love08/patches/patch-src_love.cpp new file mode 100644 index 00000000000..91899e31e2f --- /dev/null +++ b/games/love08/patches/patch-src_love.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_love.cpp,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/love.cpp.orig 2012-04-06 18:15:01.000000000 +0000 ++++ src/love.cpp +@@ -37,7 +37,7 @@ + #ifdef LOVE_BUILD_EXE + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + // Libraries. + #include "libraries/luasocket/luasocket.h" diff --git a/games/love08/patches/patch-src_modules_event_sdl_Event.h b/games/love08/patches/patch-src_modules_event_sdl_Event.h new file mode 100644 index 00000000000..cfef49b872f --- /dev/null +++ b/games/love08/patches/patch-src_modules_event_sdl_Event.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_event_sdl_Event.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/event/sdl/Event.h.orig 2012-04-06 18:15:01.000000000 +0000 ++++ src/modules/event/sdl/Event.h +@@ -27,7 +27,7 @@ + #include <common/EnumMap.h> + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + namespace love + { diff --git a/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h b/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h new file mode 100644 index 00000000000..8d0a85237de --- /dev/null +++ b/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_filesystem_physfs_wrap__Filesystem.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/filesystem/physfs/wrap_Filesystem.h.orig 2012-04-06 18:15:01.000000000 +0000 ++++ src/modules/filesystem/physfs/wrap_Filesystem.h +@@ -27,7 +27,7 @@ + #include "wrap_FileData.h" + + // SDL +-#include <SDL_loadso.h> ++#include <SDL/SDL_loadso.h> + + namespace love + { diff --git a/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h b/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h new file mode 100644 index 00000000000..7a71f3087c5 --- /dev/null +++ b/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_joystick_sdl_Joystick.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/joystick/sdl/Joystick.h.orig 2012-04-06 18:15:02.000000000 +0000 ++++ src/modules/joystick/sdl/Joystick.h +@@ -26,7 +26,7 @@ + #include <common/EnumMap.h> + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + namespace love + { diff --git a/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h b/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h new file mode 100644 index 00000000000..70aaec2216c --- /dev/null +++ b/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_keyboard_sdl_Keyboard.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/keyboard/sdl/Keyboard.h.orig 2012-04-06 18:15:02.000000000 +0000 ++++ src/modules/keyboard/sdl/Keyboard.h +@@ -26,7 +26,7 @@ + #include <common/EnumMap.h> + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + namespace love + { diff --git a/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp b/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp new file mode 100644 index 00000000000..7119b82ffa8 --- /dev/null +++ b/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_mouse_sdl_Mouse.cpp,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/mouse/sdl/Mouse.cpp.orig 2012-04-06 18:15:02.000000000 +0000 ++++ src/modules/mouse/sdl/Mouse.cpp +@@ -21,7 +21,7 @@ + #include "Mouse.h" + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + namespace love + { diff --git a/games/love08/patches/patch-src_modules_thread_sdl_threads.h b/games/love08/patches/patch-src_modules_thread_sdl_threads.h new file mode 100644 index 00000000000..c385b64888a --- /dev/null +++ b/games/love08/patches/patch-src_modules_thread_sdl_threads.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_thread_sdl_threads.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include paths for SDL<2 + +--- src/modules/thread/sdl/threads.h.orig 2012-03-05 17:47:40.000000000 +0000 ++++ src/modules/thread/sdl/threads.h +@@ -21,7 +21,7 @@ + #ifndef LOVE_THREAD_SDL_THREADS_H + #define LOVE_THREAD_SDL_THREADS_H + +-#include "SDL.h" ++#include <SDL/SDL.h> + #include <common/config.h> + + namespace love diff --git a/games/love08/patches/patch-src_modules_timer_sdl_Timer.h b/games/love08/patches/patch-src_modules_timer_sdl_Timer.h new file mode 100644 index 00000000000..6db89a5c858 --- /dev/null +++ b/games/love08/patches/patch-src_modules_timer_sdl_Timer.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_timer_sdl_Timer.h,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/timer/sdl/Timer.h.orig 2012-04-06 18:15:02.000000000 +0000 ++++ src/modules/timer/sdl/Timer.h +@@ -22,7 +22,7 @@ + #define LOVE_TIMER_SDL_TIMER_H + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + // LOVE + #include <timer/Timer.h> diff --git a/games/love08/patches/patch-src_modules_window_sdl_Window.cpp b/games/love08/patches/patch-src_modules_window_sdl_Window.cpp new file mode 100644 index 00000000000..57cea38957c --- /dev/null +++ b/games/love08/patches/patch-src_modules_window_sdl_Window.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_modules_window_sdl_Window.cpp,v 1.1 2018/09/30 19:12:48 maya Exp $ + +Match include path for SDL<2 + +--- src/modules/window/sdl/Window.cpp.orig 2012-04-06 18:15:02.000000000 +0000 ++++ src/modules/window/sdl/Window.cpp +@@ -22,7 +22,7 @@ + #include <iostream> + + // SDL +-#include <SDL.h> ++#include <SDL/SDL.h> + + // OpenGL + #include <SDL/SDL_opengl.h> |