Github messages for voidlinux
 help / color / mirror / Atom feed
From: wael444 <wael444@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: grapejuice-5.1.1
Date: Fri, 10 Jun 2022 15:47:12 +0200	[thread overview]
Message-ID: <20220610134712.YRheQsG2NheLK4IwGhCn8Df8Qnda5hJB809VRtQ6yew@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37487@inbox.vuxu.org>

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

There is an updated pull request by wael444 against master on the void-packages repository

https://github.com/wael444/void-packages grapejuice
https://github.com/void-linux/void-packages/pull/37487

New package: grapejuice-5.1.1
#### Testing the changes
- I tested the changes in this PR: **YES**

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

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

As per @Chocimier 's comment:
+ Grapejuice merely a wrapper of a game, Roblox. (if this argument still applies why is PolyMC a package?)
+ Wine now supports Roblox. no need to compile it no more.

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

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

From 4341eeca3060aafcc136503f83db6b851116e1d2 Mon Sep 17 00:00:00 2001
From: wael <40663@proton.me>
Date: Tue, 7 Jun 2022 14:36:56 +0300
Subject: [PATCH] New package: grapejuice-5.1.1

---
 srcpkgs/grapejuice/template | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/grapejuice/template

diff --git a/srcpkgs/grapejuice/template b/srcpkgs/grapejuice/template
new file mode 100644
index 000000000000..d8b77c5e76af
--- /dev/null
+++ b/srcpkgs/grapejuice/template
@@ -0,0 +1,40 @@
+# Template file for 'grapejuice'
+pkgname=grapejuice
+version=5.1.1
+revision=1
+wrksrc=${pkgname}-v${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel gettext"
+depends="python3-setuptools python3-psutil python3-pip python3-gobject python3-packaging
+ python3-wheel python3-click python3-requests python3-Unidecode
+ gtk-update-icon-cache xdg-utils shared-mime-info gtk+3"
+short_desc="Wine wrapper for Roblox"
+maintainer="wael <40663@protonmail.com>"
+license="GPL-3.0-only"
+homepage="https://brinkervii.gitlab.io/grapejuice/"
+distfiles="https://gitlab.com/brinkervii/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=70e4a0d279e134718124761f5f1d00b89d5275d67c69ed811beea21fc6bd212b
+
+pre_patch() {
+	vsed -i src/grapejuice_common/assets/desktop/roblox-app.desktop \
+		-e 's|$PLAYER_ICON|grapejuice-roblox-player|g' -e 's|$GRAPEJUICE_EXECUTABLE|/usr/bin/grapejuice|g'
+	vsed -i src/grapejuice_common/assets/desktop/roblox-player.desktop \
+		-e 's|$PLAYER_ICON|grapejuice-roblox-player|g' -e 's|$GRAPEJUICE_EXECUTABLE|/usr/bin/grapejuice|g'
+	vsed -i src/grapejuice_common/assets/desktop/roblox-studio.desktop \
+		-e 's|$STUDIO_ICON|grapejuice-roblox-studio|g' -e 's|$GRAPEJUICE_EXECUTABLE|/usr/bin/grapejuice|g'
+}
+
+post_install() {
+	vmkdir usr/share/applications
+	vmkdir usr/share/icons/hicolor
+	vmkdir usr/share/mime/packages/
+
+	vcopy src/grapejuice_common/assets/desktop/* usr/share/applications
+	vcopy src/grapejuice_common/assets/icons/hicolor/* usr/share/icons/hicolor
+	vcopy src/grapejuice_common/assets/mime_xml/x-grapejuice-roblox.xml usr/share/mime/packages
+
+	for lang in src/grapejuice_common/assets/po/*.po; do out=${lang##*/}; out=${out%.po}
+		vmkdir usr/share/locale/${out}/LC_MESSAGES
+		msgfmt $lang -o "${DESTDIR}"/usr/share/locale/${out}/LC_MESSAGES/${pkgname}.mo
+	done
+}

  reply	other threads:[~2022-06-10 13:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 13:41 [PR PATCH] " wael444
2022-06-10 13:47 ` wael444 [this message]
2022-06-10 13:49 ` [PR PATCH] [Updated] " wael444
2022-06-10 13:59 ` wael444
2022-06-10 14:03 ` wael444
2022-06-10 14:34 ` Chocimier
2022-06-10 22:00 ` 0x5c
2022-06-14 16:04 ` [PR PATCH] [Updated] " wael444
2022-06-18 12:49 ` wael444
2022-06-25  3:06 ` wael444
2022-07-12  8:50 ` wael444
2022-10-01  9:29 ` [PR PATCH] [Closed]: " wael444

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=20220610134712.YRheQsG2NheLK4IwGhCn8Df8Qnda5hJB809VRtQ6yew@z \
    --to=wael444@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).