From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] freedroidRPG: update to 1.0.
Date: Sat, 07 Oct 2023 19:31:05 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46508@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages freedroid
https://github.com/void-linux/void-packages/pull/46508
freedroidRPG: update to 1.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/46508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-freedroid-46508.patch --]
[-- Type: text/x-diff, Size: 2514 bytes --]
From 0258e0c6541c298cd148a138f627f714ece6ca12 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 7 Oct 2023 13:27:01 -0400
Subject: [PATCH] freedroidRPG: update to 1.0.
---
srcpkgs/freedroidRPG/template | 45 ++++++++++-------------------------
1 file changed, 12 insertions(+), 33 deletions(-)
diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index bd2979b388c80..e267e8ce07e55 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -1,42 +1,21 @@
# Template file for 'freedroidRPG'
pkgname=freedroidRPG
-version=0.16.1
-revision=2
+version=1.0
+revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config python"
-makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel
- libjpeg-turbo-devel libvorbis-devel lua53-devel libpng-devel"
+hostmakedepends="pkg-config gettext-devel automake which python3"
+makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel
+ libjpeg-turbo-devel libogg-devel libvorbis-devel lua53-devel libpng-devel
+ glew-devel"
short_desc="Role playing game featuring Tux and evil robots"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
-homepage="http://www.freedroid.org/"
-distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgname}-${version}.tar.gz"
-checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
-python_version=2
+homepage="https://www.freedroid.org/"
+distfiles="https://codeberg.org/freedroid/freedroid-src/archive/${version}.tar.gz"
+checksum=cbf4bc589014287a955cffaa2467b1ed0cedd6502c83ed92c79545c3fef163e7
+python_version=3
replaces="freedroidRPG-data>=0"
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- configure_args+=" --disable-backtrace"
-fi
-
-CFLAGS="-fcommon"
-
-post_install() {
- local script=freedroid
-
- # Remove the .UTF-8 suffix from the user's LANG setting,
- # or otherwise the internal font is wrong when rendering
- # non-ASCII characters. My assumption is the game expects
- # ISO-8859-1 (aka Latin1).
- echo "#!/bin/sh" > ${script}
- echo "# Strip .UTF-8 extension from the user's LANG" >> ${script}
- echo "LANG=$(echo \"$LANG\" | sed -e's;\.[Uu][Tt][Ff]-8;;')" >> ${script}
- echo "exec ${pkgname} $*" >> ${script}
-
- # install the wrapper script
- vbin ${script}
-
- # Start the wrapper script from the desktop file
- sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname,,}.desktop \
- -e "/^Exec/s;=${pkgname};=${script};"
+pre_configure() {
+ ./autogen.sh
}
next reply other threads:[~2023-10-07 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 17:31 classabbyamp [this message]
2023-10-09 23:35 ` [PR PATCH] [Updated] " classabbyamp
2023-10-09 23:47 ` [PR PATCH] [Merged]: " classabbyamp
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-46508@inbox.vuxu.org \
--to=classabbyamp@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).