Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, renamed from PolyMC
Date: Wed, 19 Oct 2022 19:54:30 +0200	[thread overview]
Message-ID: <20221019175430.M297Xq8EERhhuru5yQV99_AIfEwSwnfj0SIgupLd54Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40044@inbox.vuxu.org>

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

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

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, renamed from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

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

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 50c60a38bb75c97e1db4881f1d9fde4611a84a34 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, renamed from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/update                         |  2 --
 .../files/README.voidlinux                    |  0
 srcpkgs/{PolyMC => PrismLauncher}/template    | 23 +++++++++++--------
 srcpkgs/PrismLauncher/update                  |  2 ++
 5 files changed, 17 insertions(+), 11 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 rename srcpkgs/{PolyMC => PrismLauncher}/template (54%)
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PrismLauncher/template
similarity index 54%
rename from srcpkgs/PolyMC/template
rename to srcpkgs/PrismLauncher/template
index 350b51fd49d3..b7680d9109c5 100644
--- a/srcpkgs/PolyMC/template
+++ b/srcpkgs/PrismLauncher/template
@@ -1,10 +1,9 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
 build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
+configure_args="-DLauncher_BUILD_PLATFORM=Void -DLauncher_VERSION_BUILD=${revision}"
 hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
  qt5-qmake scdoc"
 makedepends="qt5-devel"
@@ -12,9 +11,9 @@ depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
 short_desc="Custom launcher for Minecraft"
 maintainer="Philipp David <pd@3b.pm>"
 license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
 
 if [ -z "$XBPS_CHECK_PKGS" ]; then
 	configure_args+=" -DBUILD_TESTING=0"
@@ -33,3 +32,9 @@ post_patch() {
 post_install() {
 	vdoc ${FILESDIR}/README.voidlinux
 }
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

  reply	other threads:[~2022-10-19 17:54 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 17:51 [PR PATCH] " classabbyamp
2022-10-19 17:54 ` classabbyamp [this message]
2022-10-19 17:57 ` PrismLauncher: update to 5.0, rename " classabbyamp
2022-10-19 18:15 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 18:17 ` [PR REVIEW] " classabbyamp
2022-10-19 18:31 ` classabbyamp
2022-10-19 18:35 ` classabbyamp
2022-10-19 18:35 ` classabbyamp
2022-10-19 19:02 ` classabbyamp
2022-10-19 19:24 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 19:24 ` classabbyamp
2022-10-19 19:40 ` classabbyamp
2022-10-19 19:47 ` [PR REVIEW] " classabbyamp
2022-10-19 19:48 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 21:30 ` OoLunar
2022-10-19 21:30 ` OoLunar
2022-10-19 21:34 ` paper42
2022-10-20  5:04 ` [PR PATCH] [Updated] " classabbyamp
2022-10-20  5:05 ` classabbyamp
2022-10-20  5:34 ` [PR REVIEW] " oynqr
2022-10-20  5:39 ` classabbyamp
2022-10-20  5:55 ` oynqr
2022-10-20  6:03 ` [PR PATCH] [Updated] " classabbyamp
2022-10-20  8:43 ` [PR REVIEW] " paper42
2022-10-20 17:39 ` classabbyamp
2022-10-20 17:44 ` [PR PATCH] [Merged]: " classabbyamp
2022-11-10 21:11 ` Yorizuka
2022-11-10 21:17 ` Yorizuka
2022-11-10 21:19 ` Vulldozer
2022-11-10 21:22 ` classabbyamp
2022-11-10 21:23 ` classabbyamp
2022-11-10 21:27 ` Yorizuka
2022-11-10 21:32 ` Yorizuka
2022-11-10 21:33 ` classabbyamp
2022-11-11  7:56 ` paper42

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=20221019175430.M297Xq8EERhhuru5yQV99_AIfEwSwnfj0SIgupLd54Y@z \
    --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).