pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/love08



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Sep 30 19:12:48 UTC 2018

Added Files:
        pkgsrc/games/love08: DESCR Makefile PLIST distinfo
        pkgsrc/games/love08/patches: patch-configure patch-src_love.cpp
            patch-src_modules_event_sdl_Event.h
            patch-src_modules_filesystem_physfs_wrap__Filesystem.h
            patch-src_modules_joystick_sdl_Joystick.h
            patch-src_modules_keyboard_sdl_Keyboard.h
            patch-src_modules_mouse_sdl_Mouse.cpp
            patch-src_modules_thread_sdl_threads.h
            patch-src_modules_timer_sdl_Timer.h
            patch-src_modules_window_sdl_Window.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/love08/DESCR pkgsrc/games/love08/Makefile \
    pkgsrc/games/love08/PLIST pkgsrc/games/love08/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/love08/patches/patch-configure \
    pkgsrc/games/love08/patches/patch-src_love.cpp \
    pkgsrc/games/love08/patches/patch-src_modules_event_sdl_Event.h \
    pkgsrc/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h \
    pkgsrc/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h \
    pkgsrc/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h \
    pkgsrc/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp \
    pkgsrc/games/love08/patches/patch-src_modules_thread_sdl_threads.h \
    pkgsrc/games/love08/patches/patch-src_modules_timer_sdl_Timer.h \
    pkgsrc/games/love08/patches/patch-src_modules_window_sdl_Window.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/love08/DESCR
diff -u /dev/null pkgsrc/games/love08/DESCR:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/DESCR   Sun Sep 30 19:12:48 2018
@@ -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.
Index: pkgsrc/games/love08/Makefile
diff -u /dev/null pkgsrc/games/love08/Makefile:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/Makefile        Sun Sep 30 19:12:48 2018
@@ -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@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 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"
Index: pkgsrc/games/love08/PLIST
diff -u /dev/null pkgsrc/games/love08/PLIST:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/PLIST   Sun Sep 30 19:12:48 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:12:48 maya Exp $
+love0.8/bin/love
Index: pkgsrc/games/love08/distinfo
diff -u /dev/null pkgsrc/games/love08/distinfo:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/distinfo        Sun Sep 30 19:12:48 2018
@@ -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

Index: pkgsrc/games/love08/patches/patch-configure
diff -u /dev/null pkgsrc/games/love08/patches/patch-configure:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-configure Sun Sep 30 19:12:48 2018
@@ -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 :
Index: pkgsrc/games/love08/patches/patch-src_love.cpp
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_love.cpp:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_love.cpp      Sun Sep 30 19:12:48 2018
@@ -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"
Index: pkgsrc/games/love08/patches/patch-src_modules_event_sdl_Event.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_event_sdl_Event.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_event_sdl_Event.h     Sun Sep 30 19:12:48 2018
@@ -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
+ {
Index: pkgsrc/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_filesystem_physfs_wrap__Filesystem.h  Sun Sep 30 19:12:48 2018
@@ -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
+ {
Index: pkgsrc/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_joystick_sdl_Joystick.h       Sun Sep 30 19:12:48 2018
@@ -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
+ {
Index: pkgsrc/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_keyboard_sdl_Keyboard.h       Sun Sep 30 19:12:48 2018
@@ -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
+ {
Index: pkgsrc/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_mouse_sdl_Mouse.cpp   Sun Sep 30 19:12:48 2018
@@ -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
+ {
Index: pkgsrc/games/love08/patches/patch-src_modules_thread_sdl_threads.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_thread_sdl_threads.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_thread_sdl_threads.h  Sun Sep 30 19:12:48 2018
@@ -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
Index: pkgsrc/games/love08/patches/patch-src_modules_timer_sdl_Timer.h
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_timer_sdl_Timer.h:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_timer_sdl_Timer.h     Sun Sep 30 19:12:48 2018
@@ -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>
Index: pkgsrc/games/love08/patches/patch-src_modules_window_sdl_Window.cpp
diff -u /dev/null pkgsrc/games/love08/patches/patch-src_modules_window_sdl_Window.cpp:1.1
--- /dev/null   Sun Sep 30 19:12:48 2018
+++ pkgsrc/games/love08/patches/patch-src_modules_window_sdl_Window.cpp Sun Sep 30 19:12:48 2018
@@ -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>



Home | Main Index | Thread Index | Old Index