summaryrefslogtreecommitdiff
path: root/games/love07
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-09-30 19:10:10 +0000
committermaya <maya@pkgsrc.org>2018-09-30 19:10:10 +0000
commit5314aae73a19329d5a0f86855f7ed28360eb035a (patch)
treed2b40370dd2868026763566a4a775a9e446e1542 /games/love07
parent5dba534821df1dbf7bbe14aedb1e2f09461aca87 (diff)
downloadpkgsrc-5314aae73a19329d5a0f86855f7ed28360eb035a.tar.gz
Add love07, LOVE version 0.7.2
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/love07')
-rw-r--r--games/love07/DESCR4
-rw-r--r--games/love07/Makefile41
-rw-r--r--games/love07/PLIST2
-rw-r--r--games/love07/distinfo19
-rw-r--r--games/love07/patches/patch-src_common_runtime.cpp17
-rw-r--r--games/love07/patches/patch-src_love.cpp15
-rw-r--r--games/love07/patches/patch-src_modules_audio_openal_Audio.h15
-rw-r--r--games/love07/patches/patch-src_modules_audio_openal_Pool.h15
-rw-r--r--games/love07/patches/patch-src_modules_event_sdl_Event.h15
-rw-r--r--games/love07/patches/patch-src_modules_graphics_opengl_Graphics.h18
-rw-r--r--games/love07/patches/patch-src_modules_graphics_opengl_ParticleSystem.cpp15
-rw-r--r--games/love07/patches/patch-src_modules_joystick_sdl_Joystick.h15
-rw-r--r--games/love07/patches/patch-src_modules_keyboard_sdl_Keyboard.h15
-rw-r--r--games/love07/patches/patch-src_modules_keyboard_sdl_wrap__Keyboard.h15
-rw-r--r--games/love07/patches/patch-src_modules_mouse_sdl_Mouse.cpp15
-rw-r--r--games/love07/patches/patch-src_modules_thread_sdl_Thread.h17
-rw-r--r--games/love07/patches/patch-src_modules_timer_sdl_Timer.h15
17 files changed, 268 insertions, 0 deletions
diff --git a/games/love07/DESCR b/games/love07/DESCR
new file mode 100644
index 00000000000..98f668291da
--- /dev/null
+++ b/games/love07/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/love07/Makefile b/games/love07/Makefile
new file mode 100644
index 00000000000..56d589753dd
--- /dev/null
+++ b/games/love07/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2018/09/30 19:10:10 maya Exp $
+
+DISTNAME= love-0.7.2-linux-src
+PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love07/}
+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}/love-HEAD
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+USE_TOOLS+= pkg-config
+USE_LIBTOOL= yes
+
+LUA_VERSIONS_INCOMPATIBLE= 52 53
+
+GNU_CONFIGURE_PREFIX= ${PREFIX}/love0.7
+
+.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/love07/PLIST b/games/love07/PLIST
new file mode 100644
index 00000000000..2aa5fc76a1a
--- /dev/null
+++ b/games/love07/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:10:10 maya Exp $
+love0.7/bin/love
diff --git a/games/love07/distinfo b/games/love07/distinfo
new file mode 100644
index 00000000000..158a7d1ff4b
--- /dev/null
+++ b/games/love07/distinfo
@@ -0,0 +1,19 @@
+$NetBSD: distinfo,v 1.1 2018/09/30 19:10:10 maya Exp $
+
+SHA1 (love-0.7.2-linux-src.tar.gz) = 876f527fc6908a6dd462080aa599ffa1ad47afa5
+RMD160 (love-0.7.2-linux-src.tar.gz) = e976925fd67e5c7714438c5135b516fb9c9bdc9a
+SHA512 (love-0.7.2-linux-src.tar.gz) = cbca1d7e3425d1ecbdae019212dfa2814d8ac3bad1faedd4b052cf3e89b5bf2fac6e422283628e4c125858c9db050dee2129476d1a73ec44ffe8a4704f170f61
+Size (love-0.7.2-linux-src.tar.gz) = 900209 bytes
+SHA1 (patch-src_common_runtime.cpp) = 2afed2f1a553263fd99331d1a50ac94806501113
+SHA1 (patch-src_love.cpp) = 21d180811e7e9dddfb136a1fd6f449d568ca016a
+SHA1 (patch-src_modules_audio_openal_Audio.h) = 5af2420188c5245767ab8425113386a4fe25a312
+SHA1 (patch-src_modules_audio_openal_Pool.h) = 89c0cce11a2ca9ac88e6e9388fe02f0229cfe887
+SHA1 (patch-src_modules_event_sdl_Event.h) = b3609e5490c401b45a46c0b054c9155f7b02e3d7
+SHA1 (patch-src_modules_graphics_opengl_Graphics.h) = 040566b7bb98f877f3f8134ab875b0c9115c256e
+SHA1 (patch-src_modules_graphics_opengl_ParticleSystem.cpp) = 6b640ce319d3bd26ff1238522d772bf70a1f17b2
+SHA1 (patch-src_modules_joystick_sdl_Joystick.h) = e49e7721986638f51f38891dfb5e707c67ab64cc
+SHA1 (patch-src_modules_keyboard_sdl_Keyboard.h) = 229d0fdb7de9e124962e272ea3893bef65bfa724
+SHA1 (patch-src_modules_keyboard_sdl_wrap__Keyboard.h) = eca2ceadd5040154235da97abc7ecb2e09f8e840
+SHA1 (patch-src_modules_mouse_sdl_Mouse.cpp) = 45bc1ec64f9f6d697c9a5075a08729a724c3f15e
+SHA1 (patch-src_modules_thread_sdl_Thread.h) = c8043e5eca3c7e5535014741b24269cd0f7f3ac2
+SHA1 (patch-src_modules_timer_sdl_Timer.h) = b93293ef0685fc162a7ecad7dddbccaabb7b73e3
diff --git a/games/love07/patches/patch-src_common_runtime.cpp b/games/love07/patches/patch-src_common_runtime.cpp
new file mode 100644
index 00000000000..61bdb9c42e1
--- /dev/null
+++ b/games/love07/patches/patch-src_common_runtime.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_common_runtime.cpp,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/common/runtime.cpp.orig 2011-05-04 16:00:09.000000000 +0000
++++ src/common/runtime.cpp
+@@ -30,8 +30,8 @@
+ #include <iostream>
+
+ // SDL
+-#include <SDL_mutex.h>
+-#include <SDL_thread.h>
++#include <SDL/SDL_mutex.h>
++#include <SDL/SDL_thread.h>
+
+ namespace love
+ {
diff --git a/games/love07/patches/patch-src_love.cpp b/games/love07/patches/patch-src_love.cpp
new file mode 100644
index 00000000000..56a2aac3ecb
--- /dev/null
+++ b/games/love07/patches/patch-src_love.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_love.cpp,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/love.cpp.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/love.cpp
+@@ -38,7 +38,7 @@
+ #ifdef LOVE_BUILD_EXE
+
+ // SDL
+-#include <SDL.h>
++#include <SDL/SDL.h>
+
+ // Modules
+ #include <audio/wrap_Audio.h>
diff --git a/games/love07/patches/patch-src_modules_audio_openal_Audio.h b/games/love07/patches/patch-src_modules_audio_openal_Audio.h
new file mode 100644
index 00000000000..97c57e305b8
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_audio_openal_Audio.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_audio_openal_Audio.h,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/audio/openal/Audio.h.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/audio/openal/Audio.h
+@@ -28,7 +28,7 @@
+ #include <cmath>
+
+ // SDL
+-#include <SDL.h>
++#include <SDL/SDL.h>
+
+ // LOVE
+ #include <audio/Audio.h>
diff --git a/games/love07/patches/patch-src_modules_audio_openal_Pool.h b/games/love07/patches/patch-src_modules_audio_openal_Pool.h
new file mode 100644
index 00000000000..6a160c9587a
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_audio_openal_Pool.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_audio_openal_Pool.h,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/audio/openal/Pool.h.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/audio/openal/Pool.h
+@@ -28,7 +28,7 @@
+ #include <cmath>
+
+ // SDL
+-#include <SDL.h>
++#include <SDL/SDL.h>
+
+ // LOVE
+ #include <common/config.h>
diff --git a/games/love07/patches/patch-src_modules_event_sdl_Event.h b/games/love07/patches/patch-src_modules_event_sdl_Event.h
new file mode 100644
index 00000000000..21b279b9d75
--- /dev/null
+++ b/games/love07/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:10:11 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/love07/patches/patch-src_modules_graphics_opengl_Graphics.h b/games/love07/patches/patch-src_modules_graphics_opengl_Graphics.h
new file mode 100644
index 00000000000..e25d636433d
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_graphics_opengl_Graphics.h
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_modules_graphics_opengl_Graphics.h,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/graphics/opengl/Graphics.h.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/graphics/opengl/Graphics.h
+@@ -26,9 +26,9 @@
+ #include <cmath>
+
+ // SDL
+-#include <SDL.h>
++#include <SDL/SDL.h>
+ #include "GLee.h"
+-#include <SDL_opengl.h>
++#include <SDL/SDL_opengl.h>
+
+ // LOVE
+ #include <graphics/Graphics.h>
diff --git a/games/love07/patches/patch-src_modules_graphics_opengl_ParticleSystem.cpp b/games/love07/patches/patch-src_modules_graphics_opengl_ParticleSystem.cpp
new file mode 100644
index 00000000000..ab13a14a0e8
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_graphics_opengl_ParticleSystem.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_graphics_opengl_ParticleSystem.cpp,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/graphics/opengl/ParticleSystem.cpp.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/graphics/opengl/ParticleSystem.cpp
+@@ -22,7 +22,7 @@
+
+ #include <common/math.h>
+
+-#include <SDL_opengl.h>
++#include <SDL/SDL_opengl.h>
+ #include <cmath>
+ #include <cstdlib>
+ #include <cstring>
diff --git a/games/love07/patches/patch-src_modules_joystick_sdl_Joystick.h b/games/love07/patches/patch-src_modules_joystick_sdl_Joystick.h
new file mode 100644
index 00000000000..ca6176c95c7
--- /dev/null
+++ b/games/love07/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:10:11 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/love07/patches/patch-src_modules_keyboard_sdl_Keyboard.h b/games/love07/patches/patch-src_modules_keyboard_sdl_Keyboard.h
new file mode 100644
index 00000000000..864b52e29a6
--- /dev/null
+++ b/games/love07/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:10:11 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/love07/patches/patch-src_modules_keyboard_sdl_wrap__Keyboard.h b/games/love07/patches/patch-src_modules_keyboard_sdl_wrap__Keyboard.h
new file mode 100644
index 00000000000..5bc8aacb6ba
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_keyboard_sdl_wrap__Keyboard.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_keyboard_sdl_wrap__Keyboard.h,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/keyboard/sdl/wrap_Keyboard.h.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/keyboard/sdl/wrap_Keyboard.h
+@@ -26,7 +26,7 @@
+ #include "Keyboard.h"
+
+ // SDL
+-#include <SDL.h>
++#include <SDL/SDL.h>
+
+ namespace love
+ {
diff --git a/games/love07/patches/patch-src_modules_mouse_sdl_Mouse.cpp b/games/love07/patches/patch-src_modules_mouse_sdl_Mouse.cpp
new file mode 100644
index 00000000000..b1c6c8f9ac2
--- /dev/null
+++ b/games/love07/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:10:11 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/love07/patches/patch-src_modules_thread_sdl_Thread.h b/games/love07/patches/patch-src_modules_thread_sdl_Thread.h
new file mode 100644
index 00000000000..12458f8b05c
--- /dev/null
+++ b/games/love07/patches/patch-src_modules_thread_sdl_Thread.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_modules_thread_sdl_Thread.h,v 1.1 2018/09/30 19:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/thread/sdl/Thread.h.orig 2011-05-04 16:00:10.000000000 +0000
++++ src/modules/thread/sdl/Thread.h
+@@ -22,8 +22,8 @@
+ #define LOVE_THREAD_SDL_THREAD_H
+
+ // SDL
+-#include <SDL_thread.h>
+-#include <SDL_mutex.h>
++#include <SDL/SDL_thread.h>
++#include <SDL/SDL_mutex.h>
+
+ // STL
+ #include <map>
diff --git a/games/love07/patches/patch-src_modules_timer_sdl_Timer.h b/games/love07/patches/patch-src_modules_timer_sdl_Timer.h
new file mode 100644
index 00000000000..fe918f7519a
--- /dev/null
+++ b/games/love07/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:10:11 maya Exp $
+
+Match SDL1 include paths
+
+--- src/modules/timer/sdl/Timer.h.orig 2011-05-04 16:00:10.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 <common/Module.h>