Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: love07
@ 2020-03-30 18:40 JohnKallimanis
  2020-04-01 14:20 ` JohnKallimanis
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: JohnKallimanis @ 2020-03-30 18:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

There is a new pull request by JohnKallimanis against master on the void-packages repository

https://github.com/JohnKallimanis/void-packages love07
https://github.com/void-linux/void-packages/pull/20470

New package: love07
Legacy love required for games by stabyourself

A patch file from https://github.com/void-linux/void-packages/pull/20470.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-love07-20470.patch --]
[-- Type: text/x-diff, Size: 3620 bytes --]

From 3d714f0ec0ff466b50ae4d984e6b72ca4ca3148e Mon Sep 17 00:00:00 2001
From: John Kallimanis <johnkall007@gmail.com>
Date: Mon, 30 Mar 2020 21:11:01 +0300
Subject: [PATCH] New package: love07

Legacy love required for games by stabyourself
---
 srcpkgs/love07/patches/love07.patch      | 22 +++++++++++++++++
 srcpkgs/love07/patches/love07.patch.args |  1 +
 srcpkgs/love07/template                  | 30 ++++++++++++++++++++++++
 srcpkgs/love07/update                    |  1 +
 4 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/love07/patches/love07.patch
 create mode 100644 srcpkgs/love07/patches/love07.patch.args
 create mode 100644 srcpkgs/love07/template
 create mode 100644 srcpkgs/love07/update

diff --git a/srcpkgs/love07/patches/love07.patch b/srcpkgs/love07/patches/love07.patch
new file mode 100644
index 00000000000..1c99c6a16e7
--- /dev/null
+++ b/srcpkgs/love07/patches/love07.patch
@@ -0,0 +1,22 @@
+diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp
+--- love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp	2019-03-14 12:46:55.032982224 -0400
++++ love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp	2019-03-14 12:47:22.356175299 -0400
+@@ -1,3 +1,5 @@
++#define GL_GLEXT_PROTOTYPES
++
+ #include "Framebuffer.h"
+ #include <common/Matrix.h>
+ 
+diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp
+--- love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp	2019-03-14 12:46:55.032982224 -0400
++++ love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp	2019-03-14 12:47:33.346119890 -0400
+@@ -18,6 +18,8 @@
+ * 3. This notice may not be removed or altered from any source distribution.
+ **/
+ 
++#define GL_GLEXT_PROTOTYPES
++
+ #include "SpriteBatch.h"
+ 
+ // STD
+
diff --git a/srcpkgs/love07/patches/love07.patch.args b/srcpkgs/love07/patches/love07.patch.args
new file mode 100644
index 00000000000..2eba1cb3c5c
--- /dev/null
+++ b/srcpkgs/love07/patches/love07.patch.args
@@ -0,0 +1 @@
+-Np1
diff --git a/srcpkgs/love07/template b/srcpkgs/love07/template
new file mode 100644
index 00000000000..c9d5b515143
--- /dev/null
+++ b/srcpkgs/love07/template
@@ -0,0 +1,30 @@
+# Template file for 'love07'
+pkgname=love07
+version=0.7.2
+revision=1
+build_style=gnu-configure
+configure_args="--disable-static --program-suffix=07"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel devil-devel libopenal-devel lua51-devel freetype-devel
+ physfs-devel libmodplug-devel mpg123-devel libvorbis-devel libtheora-devel"
+depends="hicolor-icon-theme desktop-file-utils"
+short_desc="Framework for writing 2D games in lua"
+maintainer="John Kallimanis <johnkall007@gmail.com>"
+license="Zlib"
+homepage="https://love2d.org/"
+distfiles="https://bitbucket.org/rude/love/downloads/love-${version}-linux-src.tar.gz"
+checksum=a57adcb0cbdc390a9bd8e2fe477bc175799b9ffd3486e01f859a36bf27f7f268
+nocross="LuaJIT-devel is nocross"
+lib32disabled=yes
+
+if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
+	broken="Not yet implemented"
+fi
+
+# Needed because old love does this
+wrksrc=love-HEAD
+
+# Patches stolen from relevant AUR package
+post_patch() {
+	sed -i '70itypedef XID GLXContextID;' "src/modules/graphics/opengl/GLee.h"
+}
diff --git a/srcpkgs/love07/update b/srcpkgs/love07/update
new file mode 100644
index 00000000000..fca77c81152
--- /dev/null
+++ b/srcpkgs/love07/update
@@ -0,0 +1 @@
+pattern='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=(-linux-src)?\.tar)'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New package: love07
  2020-03-30 18:40 [PR PATCH] New package: love07 JohnKallimanis
@ 2020-04-01 14:20 ` JohnKallimanis
  2021-11-06 22:20 ` abenson
  2021-11-06 22:20 ` [PR PATCH] [Closed]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: JohnKallimanis @ 2020-04-01 14:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

New comment by JohnKallimanis on void-packages repository

https://github.com/void-linux/void-packages/pull/20470#issuecomment-607278180

Comment:
The test failure doesn 't seem to be caused by the package itself

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New package: love07
  2020-03-30 18:40 [PR PATCH] New package: love07 JohnKallimanis
  2020-04-01 14:20 ` JohnKallimanis
@ 2021-11-06 22:20 ` abenson
  2021-11-06 22:20 ` [PR PATCH] [Closed]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-11-06 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/20470#issuecomment-962517363

Comment:
Seemingly abandoned.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: New package: love07
  2020-03-30 18:40 [PR PATCH] New package: love07 JohnKallimanis
  2020-04-01 14:20 ` JohnKallimanis
  2021-11-06 22:20 ` abenson
@ 2021-11-06 22:20 ` abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-11-06 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

There's a closed pull request on the void-packages repository

New package: love07
https://github.com/void-linux/void-packages/pull/20470

Description:
Legacy love required for games by stabyourself

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-06 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 18:40 [PR PATCH] New package: love07 JohnKallimanis
2020-04-01 14:20 ` JohnKallimanis
2021-11-06 22:20 ` abenson
2021-11-06 22:20 ` [PR PATCH] [Closed]: " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).