Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] godot: add man page and mime file
@ 2023-09-08 17:40 Luciogi
  2023-09-08 17:44 ` [PR PATCH] [Updated] " Luciogi
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luciogi @ 2023-09-08 17:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Luciogi/void-packages godot
https://github.com/void-linux/void-packages/pull/45975

godot: add man page and mime file
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



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

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

From d136554f5a01e9a531041098fe9fb36bddceff28 Mon Sep 17 00:00:00 2001
From: Luciogi <84625092+Luciogi@users.noreply.github.com>
Date: Fri, 8 Sep 2023 22:36:28 +0500
Subject: [PATCH] godot: add man page and mime file

---
 srcpkgs/godot/template | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/godot/template b/srcpkgs/godot/template
index d75049c368521..efd3f0feb25fd 100644
--- a/srcpkgs/godot/template
+++ b/srcpkgs/godot/template
@@ -1,7 +1,7 @@
 # Template file for 'godot'
 pkgname=godot
 version=4.1.1
-revision=4
+revision=5
 archs="x86_64* i686* aarch64* armv7* ppc64*"
 build_style=scons
 # Build currently fails with embree-4.X
@@ -49,12 +49,15 @@ pre_build() {
 	export CXXFLAGS=" $CXXFLAGS "
 }
 
+pre_install(){
+	sed -i 's/name="x/name="application-x/g' misc/dist/linux/org.godotengine.Godot.xml
+}
+
 do_install() {
 	vlicense LICENSE.txt
 	vinstall ${FILESDIR}/godot.desktop 644 /usr/share/applications/
 	vinstall ${wrksrc}/icon.png 644 /usr/share/pixmaps/ godot.png
 
-
 	case "$XBPS_TARGET_MACHINE" in
 		x86_64*) vbin bin/godot.linuxbsd.editor.x86_64 godot;;
 		i686*) vbin bin/godot.linuxbsd.editor.x86_32 godot;;
@@ -62,4 +65,7 @@ do_install() {
 		armv7*) vbin bin/godot.linuxbsd.editor.arm32 godot;;
 		ppc64*) vbin bin/godot.linuxbsd.editor.ppc64 godot;;
 	esac
+
+	vinstall misc/dist/linux/org.godotengine.Godot.xml 644 /usr/share/mime/packages/
+	vman misc/dist/linux/godot.6
 }

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

end of thread, other threads:[~2023-09-19  4:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 17:40 [PR PATCH] godot: add man page and mime file Luciogi
2023-09-08 17:44 ` [PR PATCH] [Updated] " Luciogi
2023-09-08 17:58 ` Luciogi
2023-09-08 18:05 ` Luciogi
2023-09-11 14:07 ` Luciogi
2023-09-11 14:10 ` ahesford
2023-09-12  5:38 ` [PR REVIEW] " classabbyamp
2023-09-12 12:37 ` [PR PATCH] [Updated] " Luciogi
2023-09-12 13:43 ` [PR REVIEW] " Luciogi
2023-09-19  4:55 ` [PR PATCH] [Merged]: " the-maldridge

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