Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: srb2-2.2.4
@ 2020-05-15  7:59 Oreo639
  2020-05-15  8:00 ` [PR PATCH] [Updated] " Oreo639
                   ` (42 more replies)
  0 siblings, 43 replies; 44+ messages in thread
From: Oreo639 @ 2020-05-15  7:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From d207e3ca7b274f2d991361b109dd425a81c036ff Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 15 May 2020 00:44:11 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 31 +++++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..2d84bae7cab
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,31 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+short_desc="A 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..daba05bfac5
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,33 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="A 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+do_build() {
+
+	make -C src LINUX=1 ${ISNOTX86} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
@ 2020-05-15  8:00 ` Oreo639
  2020-05-15  8:42 ` Oreo639
                   ` (41 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-05-15  8:00 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From 05f130c3c7532d8b157f4c7428807b833c0609c4 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 15 May 2020 00:44:11 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 31 +++++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..2d84bae7cab
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,31 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+short_desc="A 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..d410cb4ce9f
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,32 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="A 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
  2020-05-15  8:00 ` [PR PATCH] [Updated] " Oreo639
@ 2020-05-15  8:42 ` Oreo639
  2020-05-15  8:49 ` Oreo639
                   ` (40 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-05-15  8:42 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From 2d052d6353c4abafb7078a88a0f607a7bfc0050c Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 15 May 2020 00:44:11 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 31 ++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 36 +++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8c1d3f16b33
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,31 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+short_desc="Sonic fangame based on a modified version of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..49f870239de
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,36 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="Sonic fangame based on a modified version of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+= " nasm" ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+	OBJCPYCMD="OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} ${OBJCPYCMD} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
  2020-05-15  8:00 ` [PR PATCH] [Updated] " Oreo639
  2020-05-15  8:42 ` Oreo639
@ 2020-05-15  8:49 ` Oreo639
  2020-05-15  8:59 ` Oreo639
                   ` (39 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-05-15  8:49 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From ad24a9a3054a77473f6b0190bacf71e1ae7a4c5d Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 15 May 2020 00:44:11 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 31 ++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 36 +++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8c1d3f16b33
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,31 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+short_desc="Sonic fangame based on a modified version of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..8e443d86e53
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,36 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="Sonic fangame based on a modified version of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+	OBJCPYCMD="OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} ${OBJCPYCMD} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (2 preceding siblings ...)
  2020-05-15  8:49 ` Oreo639
@ 2020-05-15  8:59 ` Oreo639
  2020-07-19  1:52 ` Oreo639
                   ` (38 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-05-15  8:59 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From 0d98a553bfc0cace0412c36a8102d0102dc1748e Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 15 May 2020 00:44:11 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 31 ++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 36 +++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8c1d3f16b33
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,31 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+short_desc="Sonic fangame based on a modified version of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..bf6cdb83624
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,36 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="Sonic fangame based on a modified version of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+	OBJCPYCMD="OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} ${OBJCPYCMD} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1 NOUPX=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (3 preceding siblings ...)
  2020-05-15  8:59 ` Oreo639
@ 2020-07-19  1:52 ` Oreo639
  2020-07-19  2:54 ` Oreo639
                   ` (37 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-07-19  1:52 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From 5b0dc824ad65e8f342719313032031043845ac4a Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 18 Jul 2020 18:43:38 -0700
Subject: [PATCH] New package: srb2-2.2.4

---
 srcpkgs/srb2-data/template      | 32 +++++++++++++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 +++++++++
 srcpkgs/srb2/template           | 36 +++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..bf6ea2ec11c
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,32 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.4
+revision=1
+_instver=2.2.1
+archs=noarch
+short_desc="3D Sonic fan game based off of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${_instver}/SRB2-v_${_instver//./}-Installer.exe
+ https://files.srb2.org/srb2.org/SRB2-v${version//./}-Patch.zip"
+checksum="5af82508be353dd41b05b793fa7aaef418eab246df7050f72c569f1809b3160f
+ 8f384643a226041ebd7fed5e4d1e610ffba9da36dc34f51a50d9461d768f6750"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p ${wrksrc}
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile}
+	done
+}
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..2d7b1e6270f
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,36 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.4
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data>=0"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=4b5b60dfe08623268c1f12ba1ff4e0802c5bbebcfed47b54816bc19ee02cc0e3
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+	OBJCPYCMD="OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} ${OBJCPYCMD} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1 NOUPX=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.4
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (4 preceding siblings ...)
  2020-07-19  1:52 ` Oreo639
@ 2020-07-19  2:54 ` Oreo639
  2020-07-27 22:41 ` [PR PATCH] [Updated] New package: srb2-2.2.6 Oreo639
                   ` (36 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-07-19  2:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.4


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

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

From 2850f78d958f0c183f34a8f1791f6c24593f0895 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 18 Jul 2020 18:43:38 -0700
Subject: [PATCH] New package: srb2-2.2.6

---
 srcpkgs/srb2-data/template      | 21 +++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++++
 srcpkgs/srb2/template           | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8d06da9b1b7
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,21 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.6
+revision=1
+archs=noarch
+create_wrksrc=true
+short_desc="3D Sonic fan game based off of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Data.zip
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Patch.zip"
+checksum="7e1d57dc7bb7d3b4d02750d7c851204ef9ad521b5390f3609bd6920d137ae0b4
+ ca71aa9045f02336dc0ae2ababed49eb93dcb06405ccd4c19fc684f002ab9017"
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..3ed0ac67062
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,37 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.6
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data-${version}_${revision}"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=951cf412bdc70e6b25427b92fafc8dea2f7723c290a7b3a51f870d47f9e4aab0
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) TARGET_ARCH="X86_64=1" ISNOTX86="NONX86=1" ;;
+	*) ISNOTX86="NONX86=1" ;;
+esac
+
+if [ "$CROSS_BUILD" ]; then
+	OBJCPYCMD="OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_build() {
+	make -C src LINUX=1 ${ISNOTX86} ${TARGET_ARCH} ${OBJCPYCMD} EXENAME=${pkgname} DBGNAME="${pkgname}-debug" NOOBJDUMP=1 NOUPX=1
+}
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (5 preceding siblings ...)
  2020-07-19  2:54 ` Oreo639
@ 2020-07-27 22:41 ` Oreo639
  2020-07-27 23:04 ` Oreo639
                   ` (35 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-07-27 22:41 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From 6c8c72af250f79ae1a77d6bada58d671b72061af Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 18 Jul 2020 18:43:38 -0700
Subject: [PATCH] New package: srb2-2.2.6

---
 srcpkgs/srb2-data/template      | 21 +++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++++
 srcpkgs/srb2/template           | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8d06da9b1b7
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,21 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.6
+revision=1
+archs=noarch
+create_wrksrc=true
+short_desc="3D Sonic fan game based off of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Data.zip
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Patch.zip"
+checksum="7e1d57dc7bb7d3b4d02750d7c851204ef9ad521b5390f3609bd6920d137ae0b4
+ ca71aa9045f02336dc0ae2ababed49eb93dcb06405ccd4c19fc684f002ab9017"
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..c279216532c
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,37 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.6
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data-${version}_${revision}"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=951cf412bdc70e6b25427b92fafc8dea2f7723c290a7b3a51f870d47f9e4aab0
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" PREFIX=${XBPS_CROSS_TRIPLET}"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (6 preceding siblings ...)
  2020-07-27 22:41 ` [PR PATCH] [Updated] New package: srb2-2.2.6 Oreo639
@ 2020-07-27 23:04 ` Oreo639
  2020-07-27 23:05 ` Oreo639
                   ` (34 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-07-27 23:04 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From e56e2e0f74df0d104730794b3064c52dcfbabc24 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 18 Jul 2020 18:43:38 -0700
Subject: [PATCH] New package: srb2-2.2.6

---
 srcpkgs/srb2-data/template      | 21 +++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++++
 srcpkgs/srb2/template           | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8d06da9b1b7
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,21 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.6
+revision=1
+archs=noarch
+create_wrksrc=true
+short_desc="3D Sonic fan game based off of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Data.zip
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Patch.zip"
+checksum="7e1d57dc7bb7d3b4d02750d7c851204ef9ad521b5390f3609bd6920d137ae0b4
+ ca71aa9045f02336dc0ae2ababed49eb93dcb06405ccd4c19fc684f002ab9017"
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..8cf86b6d46e
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,37 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.6
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data-${version}_${revision}"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=951cf412bdc70e6b25427b92fafc8dea2f7723c290a7b3a51f870d47f9e4aab0
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=objcopy-${XBPS_CROSS_TRIPLET}"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (7 preceding siblings ...)
  2020-07-27 23:04 ` Oreo639
@ 2020-07-27 23:05 ` Oreo639
  2021-02-16  6:23 ` [PR REVIEW] " ericonr
                   ` (33 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2020-07-27 23:05 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From 5ba80531894053c6680b1e192f340b6f1e76a156 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 18 Jul 2020 18:43:38 -0700
Subject: [PATCH] New package: srb2-2.2.6

---
 srcpkgs/srb2-data/template      | 21 +++++++++++++++++++
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++++
 srcpkgs/srb2/template           | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/srb2-data/template
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data/template b/srcpkgs/srb2-data/template
new file mode 100644
index 00000000000..8d06da9b1b7
--- /dev/null
+++ b/srcpkgs/srb2-data/template
@@ -0,0 +1,21 @@
+# Template file for 'srb2-data'
+pkgname=srb2-data
+version=2.2.6
+revision=1
+archs=noarch
+create_wrksrc=true
+short_desc="3D Sonic fan game based off of Doom Legacy - game data"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Data.zip
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-${version}-Patch.zip"
+checksum="7e1d57dc7bb7d3b4d02750d7c851204ef9ad521b5390f3609bd6920d137ae0b4
+ ca71aa9045f02336dc0ae2ababed49eb93dcb06405ccd4c19fc684f002ab9017"
+
+do_install() {
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3; do
+		vcopy ${f} /usr/share/games/SRB2
+	done
+}
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..3ef2e223718
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,37 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.6
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libgme-devel libopenmpt-devel"
+depends="srb2-data-${version}_${revision}"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz"
+checksum=951cf412bdc70e6b25427b92fafc8dea2f7723c290a7b3a51f870d47f9e4aab0
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+}
+
+post_install() {
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (8 preceding siblings ...)
  2020-07-27 23:05 ` Oreo639
@ 2021-02-16  6:23 ` ericonr
  2021-02-16  6:24 ` ericonr
                   ` (32 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16  6:23 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r576574030

Comment:
I don't like vendoring in desktop files... Since this is an open source project, could you try to PR them this as an addition?

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (10 preceding siblings ...)
  2021-02-16  6:24 ` ericonr
@ 2021-02-16  6:24 ` ericonr
  2021-02-16 19:51 ` [PR PATCH] [Updated] " Oreo639
                   ` (30 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16  6:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r576573947

Comment:
We no longer have noarch

Could we maybe bundle this as part of the main package? I don't see the need for a separate package.

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (9 preceding siblings ...)
  2021-02-16  6:23 ` [PR REVIEW] " ericonr
@ 2021-02-16  6:24 ` ericonr
  2021-02-16  6:24 ` ericonr
                   ` (31 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16  6:24 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r576573905

Comment:
2.2.8 is out

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (11 preceding siblings ...)
  2021-02-16  6:24 ` ericonr
@ 2021-02-16 19:51 ` Oreo639
  2021-02-16 19:53 ` [PR REVIEW] " Oreo639
                   ` (29 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 19:51 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From 8723b2b9626470dd7f0cca7201d3848192380c42 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Tue, 16 Feb 2021 11:35:04 -0800
Subject: [PATCH] New package: srb2-2.2.8

---
 srcpkgs/srb2-data               |  1 +
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++
 srcpkgs/srb2/template           | 49 +++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 120000 srcpkgs/srb2-data
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2-data b/srcpkgs/srb2-data
new file mode 120000
index 00000000000..32caef276d6
--- /dev/null
+++ b/srcpkgs/srb2-data
@@ -0,0 +1 @@
+srb2
\ No newline at end of file
diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..e742ae70117
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,49 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.8
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+create_wrksrc=true
+build_wrksrc=${wrksrc}
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
+depends="srb2-data-${version}_${revision}"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version}-Full.zip"
+checksum="bbb2777a05a16019d8b4a3fcef9829e6e7cfd795710b3ffcce009120f0e2c43c
+ 7a3805b1127bd42db6432a9fe3e25927269e334497d48bdc9c2751edc114d718"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+}
+
+srb2-data_package() {
+	short_desc+=" - data files"
+	pkg_install() {
+		cd ".."
+		vmkdir /usr/share/games/SRB2
+		for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3 models models.dat; do
+			vcopy ${f} /usr/share/games/SRB2
+		done
+	}
+}

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (12 preceding siblings ...)
  2021-02-16 19:51 ` [PR PATCH] [Updated] " Oreo639
@ 2021-02-16 19:53 ` Oreo639
  2021-02-16 19:53 ` Oreo639
                   ` (28 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 19:53 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577095420

Comment:
Done

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (13 preceding siblings ...)
  2021-02-16 19:53 ` [PR REVIEW] " Oreo639
@ 2021-02-16 19:53 ` Oreo639
  2021-02-16 19:54 ` Oreo639
                   ` (27 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 19:53 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577095502

Comment:
Done

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (14 preceding siblings ...)
  2021-02-16 19:53 ` Oreo639
@ 2021-02-16 19:54 ` Oreo639
  2021-02-16 19:54 ` ericonr
                   ` (26 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577095502

Comment:
Done (unless I misunderstood you)

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (15 preceding siblings ...)
  2021-02-16 19:54 ` Oreo639
@ 2021-02-16 19:54 ` ericonr
  2021-02-16 19:58 ` Oreo639
                   ` (25 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577096204

Comment:
Yeah it doesn't even need to be a subpackage, IMO.

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (16 preceding siblings ...)
  2021-02-16 19:54 ` ericonr
@ 2021-02-16 19:58 ` Oreo639
  2021-02-16 20:00 ` Oreo639
                   ` (24 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 19:58 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577098372

Comment:
How do I get a specific distfile to extract to a specific directory?

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (17 preceding siblings ...)
  2021-02-16 19:58 ` Oreo639
@ 2021-02-16 20:00 ` Oreo639
  2021-02-16 20:00 ` Oreo639
                   ` (23 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 20:00 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577098372

Comment:
Is it possible to extract a distfile to a specific directory?

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (18 preceding siblings ...)
  2021-02-16 20:00 ` Oreo639
@ 2021-02-16 20:00 ` Oreo639
  2021-02-16 20:20 ` ericonr
                   ` (22 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 20:00 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577098372

Comment:
Is it possible to extract a specific distfile to a specific directory?

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (19 preceding siblings ...)
  2021-02-16 20:00 ` Oreo639
@ 2021-02-16 20:20 ` ericonr
  2021-02-16 20:21 ` [PR PATCH] [Updated] " Oreo639
                   ` (21 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16 20:20 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577111509

Comment:
Not really. What you can do is `mv` it manually in `post_extract`.

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (20 preceding siblings ...)
  2021-02-16 20:20 ` ericonr
@ 2021-02-16 20:21 ` Oreo639
  2021-02-16 20:21 ` [PR REVIEW] " Oreo639
                   ` (20 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 20:21 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From b7de54c3b3ea4927ff7cc1b7c5e526d9c8571579 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Tue, 16 Feb 2021 11:35:04 -0800
Subject: [PATCH] New package: srb2-2.2.8

---
 srcpkgs/srb2/files/srb2.desktop |  9 ++++++++
 srcpkgs/srb2/template           | 41 +++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/srb2/files/srb2.desktop
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2/files/srb2.desktop b/srcpkgs/srb2/files/srb2.desktop
new file mode 100644
index 00000000000..d681e7fd136
--- /dev/null
+++ b/srcpkgs/srb2/files/srb2.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Sonic Robo Blast 2
+Encoding=UTF-8
+Exec=srb2
+Icon=srb2
+Terminal=false
+Type=Application
+StartupNotify=false
+Categories=Application;Game;
diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..2c526195011
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,41 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.8
+revision=1
+wrksrc="SRB2-SRB2_release_${version}"
+create_wrksrc=true
+build_wrksrc=${wrksrc}
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version}-Full.zip"
+checksum="bbb2777a05a16019d8b4a3fcef9829e6e7cfd795710b3ffcce009120f0e2c43c
+ 7a3805b1127bd42db6432a9fe3e25927269e334497d48bdc9c2751edc114d718"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+	vinstall srb2.png 644 /usr/share/pixmaps
+	vinstall ${FILESDIR}/srb2.desktop 644 /usr/share/applications/
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3 models models.dat; do
+		vcopy ../${f} /usr/share/games/SRB2
+	done
+}

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (21 preceding siblings ...)
  2021-02-16 20:21 ` [PR PATCH] [Updated] " Oreo639
@ 2021-02-16 20:21 ` Oreo639
  2021-02-16 20:22 ` Oreo639
                   ` (19 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 20:21 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577112365

Comment:
anyway done.

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (22 preceding siblings ...)
  2021-02-16 20:21 ` [PR REVIEW] " Oreo639
@ 2021-02-16 20:22 ` Oreo639
  2021-02-16 20:31 ` ericonr
                   ` (18 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 20:22 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577112365

Comment:
anyway done. (thanks for letting me know)

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (24 preceding siblings ...)
  2021-02-16 20:31 ` ericonr
@ 2021-02-16 20:31 ` ericonr
  2021-02-16 21:14 ` Oreo639
                   ` (16 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16 20:31 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577117834

Comment:
What about this file? They have a template in https://github.com/STJr/SRB2/blob/master/debian-template/srb2.desktop , you should be able to talk them into adding a pre-generated one with reasonable defaults. Or even generate it at build time.

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (23 preceding siblings ...)
  2021-02-16 20:22 ` Oreo639
@ 2021-02-16 20:31 ` ericonr
  2021-02-16 20:31 ` ericonr
                   ` (17 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-16 20:31 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577117085

Comment:
This can be a bit funky, please spell it out fully `$pkgname-$version`

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (25 preceding siblings ...)
  2021-02-16 20:31 ` ericonr
@ 2021-02-16 21:14 ` Oreo639
  2021-02-16 22:06 ` [PR PATCH] [Updated] " Oreo639
                   ` (15 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 21:14 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577142427

Comment:
Sure.

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (26 preceding siblings ...)
  2021-02-16 21:14 ` Oreo639
@ 2021-02-16 22:06 ` Oreo639
  2021-02-16 22:07 ` [PR REVIEW] " Oreo639
                   ` (14 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 22:06 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From 52090b7f83264471d4f31bf158f54ab5cf237391 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Tue, 16 Feb 2021 11:35:04 -0800
Subject: [PATCH] New package: srb2-2.2.8

---
 srcpkgs/srb2/template | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 00000000000..187bcc5e5c2
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,45 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.8
+revision=1
+create_wrksrc=true
+build_wrksrc="SRB2-SRB2_release_${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config gettext"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version}-Full.zip"
+checksum="bbb2777a05a16019d8b4a3fcef9829e6e7cfd795710b3ffcce009120f0e2c43c
+ 7a3805b1127bd42db6432a9fe3e25927269e334497d48bdc9c2751edc114d718"
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+
+	PROGRAM_NAME="${pkgname}" PROGRAM_DESCRIPTION="${short_desc}" \
+		PACKAGE_INSTALL_PATH="/usr/bin" PROGRAM_FILENAME="${pkgname}" \
+		envsubst < debian-template/srb2.desktop > srb2.desktop
+
+	vinstall srb2.png 644 /usr/share/pixmaps/
+	vinstall srb2.desktop 644 /usr/share/applications/
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3 models models.dat; do
+		vcopy ../${f} /usr/share/games/SRB2
+	done
+}

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (27 preceding siblings ...)
  2021-02-16 22:06 ` [PR PATCH] [Updated] " Oreo639
@ 2021-02-16 22:07 ` Oreo639
  2021-02-21  5:06 ` ericonr
                   ` (13 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-16 22:07 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r577172443

Comment:
Fixed.

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

* Re: [PR REVIEW] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (28 preceding siblings ...)
  2021-02-16 22:07 ` [PR REVIEW] " Oreo639
@ 2021-02-21  5:06 ` ericonr
  2021-02-21  5:13 ` the-maldridge
                   ` (12 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-21  5:06 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#discussion_r579751686

Comment:
Huh, I did not know about this solution. Cool :)

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (29 preceding siblings ...)
  2021-02-21  5:06 ` ericonr
@ 2021-02-21  5:13 ` the-maldridge
  2021-02-21  5:31 ` Oreo639
                   ` (11 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: the-maldridge @ 2021-02-21  5:13 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782799083

Comment:
I'm concerned that this is not distributable.  I suspect that Sega would not approve of their assets being used in a 3rd party works.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (30 preceding siblings ...)
  2021-02-21  5:13 ` the-maldridge
@ 2021-02-21  5:31 ` Oreo639
  2021-02-21  5:32 ` Oreo639
                   ` (10 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  5:31 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782803023

Comment:
Void Linux already distributes opensonic (which does come with assets).
srb2 does allow one to just put the assets in `~/.srb2`, so we don't technically have to distribute the assets, although there was a flatpack made after this pull request was opened so it isn't a big deal if this isn't merged.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (31 preceding siblings ...)
  2021-02-21  5:31 ` Oreo639
@ 2021-02-21  5:32 ` Oreo639
  2021-02-21  5:33 ` the-maldridge
                   ` (9 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  5:32 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782803023

Comment:
Void Linux already distributes opensonic (which does come with assets).
srb2 does allow one to just put the assets in `~/.srb2`, so we don't technically have to distribute the assets.
Also, there was a flatpack made after this pull request was opened so it isn't a big deal if this isn't merged.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (32 preceding siblings ...)
  2021-02-21  5:32 ` Oreo639
@ 2021-02-21  5:33 ` the-maldridge
  2021-02-21  5:57 ` ericonr
                   ` (8 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: the-maldridge @ 2021-02-21  5:33 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782803193

Comment:
We were actually just discussing that on IRC.  It seems like opensonic snuck in as it almost certainly isn't distributable either.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (33 preceding siblings ...)
  2021-02-21  5:33 ` the-maldridge
@ 2021-02-21  5:57 ` ericonr
  2021-02-21  6:01 ` Oreo639
                   ` (7 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-02-21  5:57 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782805534

Comment:
@Oreo639 if this is accepted, but as a restricted package (not a guarantee, just something I put forward), do you think you'd be up to updating it for new releases, or do you think you'll stick with the flatpak?

If you still want to maintain it, we can keep this open for further pondering, otherwise I believe we should close the PR. Distributing assets is rather messy, and I'm not sure the packaage is very useful without them, with just the executables. What do you think? For the record, we do ship a lot of doom clones and some other games which require external assets.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (34 preceding siblings ...)
  2021-02-21  5:57 ` ericonr
@ 2021-02-21  6:01 ` Oreo639
  2021-02-21  8:18 ` Oreo639
                   ` (6 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  6:01 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782805969

Comment:
I would plan to continue updating this package.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (35 preceding siblings ...)
  2021-02-21  6:01 ` Oreo639
@ 2021-02-21  8:18 ` Oreo639
  2021-02-21  8:19 ` Oreo639
                   ` (5 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  8:18 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782805969

Comment:
I would plan to continue updating this package.

The assets for srb2 can be downloaded from a zip file on their github releases page.
The game does check the md5sum of the assets to make sure they are valid for that version of the game.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (36 preceding siblings ...)
  2021-02-21  8:18 ` Oreo639
@ 2021-02-21  8:19 ` Oreo639
  2021-02-21  8:19 ` Oreo639
                   ` (4 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  8:19 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782805969

Comment:
I would plan to continue updating this package.

The assets for srb2 can be downloaded from a zip file on their github releases page.
The game does check the md5sum of the assets to make sure they are valid for that version of the game.

Personally I'm not sure. I'm fine with whatever.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (37 preceding siblings ...)
  2021-02-21  8:19 ` Oreo639
@ 2021-02-21  8:19 ` Oreo639
  2021-04-11  4:11 ` ericonr
                   ` (3 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-02-21  8:19 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-782805969

Comment:
I would plan to continue updating this package.

The assets for srb2 can be downloaded from a zip file on their github releases page.
The game does check the md5sum of the assets to make sure they are valid for that version of the game.

Personally, I'm not sure. I'm fine with whatever.

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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (38 preceding siblings ...)
  2021-02-21  8:19 ` Oreo639
@ 2021-04-11  4:11 ` ericonr
  2021-04-11  4:51 ` Oreo639
                   ` (2 subsequent siblings)
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-04-11  4:11 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-817244102

Comment:
Please make it restricted


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

* Re: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (39 preceding siblings ...)
  2021-04-11  4:11 ` ericonr
@ 2021-04-11  4:51 ` Oreo639
  2021-04-11 20:21 ` [PR PATCH] [Updated] " Oreo639
  2021-04-18  3:58 ` [PR PATCH] [Merged]: " ericonr
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-04-11  4:51 UTC (permalink / raw)
  To: ml

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

New comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/21980#issuecomment-817247416

Comment:
Alright, I'll do it tomorrow.

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

* Re: [PR PATCH] [Updated] New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (40 preceding siblings ...)
  2021-04-11  4:51 ` Oreo639
@ 2021-04-11 20:21 ` Oreo639
  2021-04-18  3:58 ` [PR PATCH] [Merged]: " ericonr
  42 siblings, 0 replies; 44+ messages in thread
From: Oreo639 @ 2021-04-11 20:21 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages srb2
https://github.com/void-linux/void-packages/pull/21980

New package: srb2-2.2.6


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

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

From a391052578f266071699756f3ddf7dbd3cfbe593 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sun, 11 Apr 2021 13:18:27 -0700
Subject: [PATCH] New package: srb2-2.2.8

---
 srcpkgs/srb2/template | 46 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 srcpkgs/srb2/template

diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template
new file mode 100644
index 000000000000..5b136b6d4b97
--- /dev/null
+++ b/srcpkgs/srb2/template
@@ -0,0 +1,46 @@
+# Template file for 'srb2'
+pkgname=srb2
+version=2.2.8
+revision=1
+create_wrksrc=true
+build_wrksrc="SRB2-SRB2_release_${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args=" -C src LINUX=1 USE_OPENMP=1 EXENAME=${pkgname}
+ DBGNAME=${pkgname}-debug NOOBJDUMP=1 NOUPX=1"
+hostmakedepends="pkg-config gettext"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel libcurl-devel libgme-devel libopenmpt-devel"
+short_desc="3D Sonic fan game based off of Doom Legacy"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://srb2.org/"
+distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
+ https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version}-Full.zip"
+checksum="bbb2777a05a16019d8b4a3fcef9829e6e7cfd795710b3ffcce009120f0e2c43c
+ 7a3805b1127bd42db6432a9fe3e25927269e334497d48bdc9c2751edc114d718"
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) makedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	vbin bin/Linux/Release/${pkgname}
+
+	PROGRAM_NAME="${pkgname}" PROGRAM_DESCRIPTION="${short_desc}" \
+		PACKAGE_INSTALL_PATH="/usr/bin" PROGRAM_FILENAME="${pkgname}" \
+		envsubst < debian-template/srb2.desktop > srb2.desktop
+
+	vinstall srb2.png 644 /usr/share/pixmaps/
+	vinstall srb2.desktop 644 /usr/share/applications/
+	vmkdir /usr/share/games/SRB2
+	for f in {music,player}.dta {srb2,zones,patch,patch_music}.pk3 models models.dat; do
+		vcopy ../${f} /usr/share/games/SRB2
+	done
+}

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

* Re: [PR PATCH] [Merged]: New package: srb2-2.2.6
  2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
                   ` (41 preceding siblings ...)
  2021-04-11 20:21 ` [PR PATCH] [Updated] " Oreo639
@ 2021-04-18  3:58 ` ericonr
  42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2021-04-18  3:58 UTC (permalink / raw)
  To: ml

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

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

New package: srb2-2.2.6
https://github.com/void-linux/void-packages/pull/21980

Description:


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

end of thread, other threads:[~2021-04-18  3:58 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15  7:59 [PR PATCH] New package: srb2-2.2.4 Oreo639
2020-05-15  8:00 ` [PR PATCH] [Updated] " Oreo639
2020-05-15  8:42 ` Oreo639
2020-05-15  8:49 ` Oreo639
2020-05-15  8:59 ` Oreo639
2020-07-19  1:52 ` Oreo639
2020-07-19  2:54 ` Oreo639
2020-07-27 22:41 ` [PR PATCH] [Updated] New package: srb2-2.2.6 Oreo639
2020-07-27 23:04 ` Oreo639
2020-07-27 23:05 ` Oreo639
2021-02-16  6:23 ` [PR REVIEW] " ericonr
2021-02-16  6:24 ` ericonr
2021-02-16  6:24 ` ericonr
2021-02-16 19:51 ` [PR PATCH] [Updated] " Oreo639
2021-02-16 19:53 ` [PR REVIEW] " Oreo639
2021-02-16 19:53 ` Oreo639
2021-02-16 19:54 ` Oreo639
2021-02-16 19:54 ` ericonr
2021-02-16 19:58 ` Oreo639
2021-02-16 20:00 ` Oreo639
2021-02-16 20:00 ` Oreo639
2021-02-16 20:20 ` ericonr
2021-02-16 20:21 ` [PR PATCH] [Updated] " Oreo639
2021-02-16 20:21 ` [PR REVIEW] " Oreo639
2021-02-16 20:22 ` Oreo639
2021-02-16 20:31 ` ericonr
2021-02-16 20:31 ` ericonr
2021-02-16 21:14 ` Oreo639
2021-02-16 22:06 ` [PR PATCH] [Updated] " Oreo639
2021-02-16 22:07 ` [PR REVIEW] " Oreo639
2021-02-21  5:06 ` ericonr
2021-02-21  5:13 ` the-maldridge
2021-02-21  5:31 ` Oreo639
2021-02-21  5:32 ` Oreo639
2021-02-21  5:33 ` the-maldridge
2021-02-21  5:57 ` ericonr
2021-02-21  6:01 ` Oreo639
2021-02-21  8:18 ` Oreo639
2021-02-21  8:19 ` Oreo639
2021-02-21  8:19 ` Oreo639
2021-04-11  4:11 ` ericonr
2021-04-11  4:51 ` Oreo639
2021-04-11 20:21 ` [PR PATCH] [Updated] " Oreo639
2021-04-18  3:58 ` [PR PATCH] [Merged]: " ericonr

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).