Github messages for voidlinux
 help / color / mirror / Atom feed
From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: HeroicGamesLauncher-2.8.0
Date: Thu, 01 Jun 2023 04:27:37 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44207@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2023-06-01  2:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-01  2:27 sirkhancision [this message]
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

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-44207@inbox.vuxu.org \
    --to=sirkhancision@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).