Github messages for voidlinux
 help / color / mirror / Atom feed
From: Oreo639 <Oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: srb2-2.2.4
Date: Fri, 15 May 2020 09:59:56 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21980@inbox.vuxu.org> (raw)

[-- 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/
+}

             reply	other threads:[~2020-05-15  8:00 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  7:59 Oreo639 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21980@inbox.vuxu.org \
    --to=oreo639@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).