Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: HeroicGamesLauncher-2.8.0
@ 2023-06-01  2:27 sirkhancision
  2023-06-01  2:46 ` [PR PATCH] [Updated] " sirkhancision
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: sirkhancision @ 2023-06-01  2:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sirkhancision/void-packages HeroicGamesLauncher
https://github.com/void-linux/void-packages/pull/44207

New package: HeroicGamesLauncher-2.8.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures):
  - i686


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

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

From 11819c288452db1ccebb71b8b6ee2ae0deb36f5b Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Wed, 31 May 2023 23:02:43 -0300
Subject: [PATCH] New package: HeroicGamesLauncher-2.8.0

---
 .../files/HeroicGamesLauncher.desktop         | 10 +++++++
 srcpkgs/HeroicGamesLauncher/template          | 29 +++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/HeroicGamesLauncher/files/HeroicGamesLauncher.desktop
 create mode 100644 srcpkgs/HeroicGamesLauncher/template

diff --git a/srcpkgs/HeroicGamesLauncher/files/HeroicGamesLauncher.desktop b/srcpkgs/HeroicGamesLauncher/files/HeroicGamesLauncher.desktop
new file mode 100644
index 000000000000..1c5a99ad5d3a
--- /dev/null
+++ b/srcpkgs/HeroicGamesLauncher/files/HeroicGamesLauncher.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Heroic Games Launcher
+Exec=heroic %U
+Terminal=false
+Type=Application
+Icon=heroic
+StartupWMClass=Heroic
+Comment=Open source launcher for GOG and Epic Games
+MimeType=x-scheme-handler/heroic;
+Categories=Game;
diff --git a/srcpkgs/HeroicGamesLauncher/template b/srcpkgs/HeroicGamesLauncher/template
new file mode 100644
index 000000000000..f66f34e6e754
--- /dev/null
+++ b/srcpkgs/HeroicGamesLauncher/template
@@ -0,0 +1,29 @@
+# Template file for 'HeroicGamesLauncher'
+pkgname=HeroicGamesLauncher
+version=2.8.0
+revision=1
+hostmakedepends="nodejs python3 yarn"
+checkdepends="tar xz"
+short_desc="Open source launcher for GOG and Epic Games"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
+distfiles="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/archive/v${version}.tar.gz"
+checksum=59f068d6ba7e6c9c5d3c08f06b4cee23f07452777b9edb8baa61895fa9f40320
+nopie_files="/opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
+	/opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary"
+
+do_build() {
+	yarn
+	yarn dist:linux tar.xz
+}
+
+do_install() {
+	vmkdir opt/heroic
+	vmkdir usr/bin
+	vcopy dist/linux-unpacked/* opt/heroic
+	ln -sf /opt/heroic/heroic "${DESTDIR}/usr/bin/heroic"
+
+	vinstall public/icon.png 644 usr/share/pixmaps heroic.png
+	vinstall "${FILESDIR}/HeroicGamesLauncher.desktop" 644 usr/share/applications
+}

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

end of thread, other threads:[~2023-11-08  1:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01  2:27 [PR PATCH] New package: HeroicGamesLauncher-2.8.0 sirkhancision
2023-06-01  2:46 ` [PR PATCH] [Updated] " sirkhancision
2023-06-27 20:57 ` sirkhancision
2023-06-27 21:06 ` sirkhancision
2023-06-27 21:18 ` sirkhancision
2023-06-27 21:49 ` sirkhancision
2023-06-28 15:22 ` [PR REVIEW] " Duncaen
2023-06-28 15:37 ` [PR PATCH] [Updated] " sirkhancision
2023-07-01  1:05 ` sirkhancision
2023-07-26 14:41 ` Bnyro
2023-07-26 15:27 ` Bnyro
2023-07-26 20:33 ` [PR PATCH] [Updated] " sirkhancision
2023-07-26 20:33 ` sirkhancision
2023-07-26 21:31 ` sirkhancision
2023-10-25  1:45 ` github-actions
2023-11-08  1:45 ` [PR PATCH] [Closed]: " github-actions

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