public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Cara Salter" <cara@devcara.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-action/technic-launcher/
Date: Fri, 23 Feb 2024 18:51:29 +0000 (UTC)	[thread overview]
Message-ID: <1708714270.8114cf2862e345ba6edfacaf1ff445c2ae6bc19f.cara@gentoo> (raw)

commit:     8114cf2862e345ba6edfacaf1ff445c2ae6bc19f
Author:     Cara Salter <cara <AT> devcara <DOT> com>
AuthorDate: Fri Feb 23 18:51:10 2024 +0000
Commit:     Cara Salter <cara <AT> devcara <DOT> com>
CommitDate: Fri Feb 23 18:51:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8114cf28

games-action/technic-launcher: add 4.822

Bug: https://bugs.gentoo.org/848825
Signed-off-by: Cara Salter <cara <AT> devcara.com>

 games-action/technic-launcher/Manifest             |  1 +
 .../technic-launcher/technic-launcher-4.822.ebuild | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/games-action/technic-launcher/Manifest b/games-action/technic-launcher/Manifest
index d069980ad6..316a0ca1cf 100644
--- a/games-action/technic-launcher/Manifest
+++ b/games-action/technic-launcher/Manifest
@@ -1,3 +1,4 @@
 DIST technic-launcher-4.625.jar 5394348 BLAKE2B 46306f86a4b80aa70276ccc8fbd3f88c036bdd5e67a3b9a6b0444a9ec22d86113082d279ad9d78313e5753e9458ba7c52a7e507eb4b625c2b6d2662c5e5fdb10 SHA512 29cca87c55c3415fa3dde40030b09db75dc00387e87f2432a44d7acde1e1544ebf7f55a12d46d084c2f207be7882ee13bd6f50af3da0046b02d64077c35a24c4
 DIST technic-launcher-4.768.jar 6949323 BLAKE2B b5e2006b82f0efee9c872c513436c8ab68ad87473a001b1baf25393be5a1c26ffee1d0783dd87218c1e38978d6934c610019cc80e68401bc978a1834b19b8741 SHA512 d96cda057e746dced1bcc7635ace43a9eb65ed71a28e7af3f0b184162cb365aa101e4bb90880da679b52a9f5b828d27cf81b3cb729ccda4b02837bc638876753
+DIST technic-launcher-4.822.jar 7170316 BLAKE2B ab222361a511c66d23dda052b17b00b4ba5068d229e1dcb0720976998712dc82c92831135fea700be671459f304f3bf29907defee1cd3ac8b5985eff80d37156 SHA512 9ffbd23c4ff26f3a1d0a198fd404a811a8326eb04cafa900c1627abd6c191e089ac758500dbb10c747c68daedfcfd91399bebabfaa6e73d9fa76372b8d73ab45
 DIST technic-launcher.ico 15086 BLAKE2B 4f5be0661bfbdca971cf022767618acef1e912b60c3f0574f383a8bd0281a6d66ca1b8b105412ec9579f3999514a471412fb16da66d937acfb4d3236b8f99663 SHA512 c109113a0e1be10bc013bfb79b742396a768fa683860a83d734e158b709e66b9e21067e1791ae5f7a854ccd21b1bf9adf6eeb27bc33d9da03f902dfe5d8be710

diff --git a/games-action/technic-launcher/technic-launcher-4.822.ebuild b/games-action/technic-launcher/technic-launcher-4.822.ebuild
new file mode 100644
index 0000000000..cacf1614ef
--- /dev/null
+++ b/games-action/technic-launcher/technic-launcher-4.822.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-pkg-2 xdg
+
+DESCRIPTION="Minecraft launcher for community-made modpacks on the Technic Platform"
+HOMEPAGE="https://www.technicpack.net/"
+SRC_URI="
+	https://launcher.technicpack.net/launcher${PV:0:1}/${PV:2}/TechnicLauncher.jar -> ${P}.jar
+	https://www.technicpack.net/favicon.ico -> ${PN}.ico
+"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="technic"
+SLOT="0"
+
+RESTRICT="bindist mirror"
+
+BDEPEND="media-gfx/imagemagick[png]"
+
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	# do not unpack jar file
+	cp "${DISTDIR}/${PN}.ico" "${S}" || die
+}
+
+src_compile() {
+	convert ${PN}.ico ${PN}.png || die
+}
+
+src_install() {
+	java-pkg_newjar "${DISTDIR}/${P}.jar" ${PN}.jar
+	java-pkg_dolauncher ${PN} --jar ${PN}.jar --java_args "\${JAVA_OPTS}"
+
+	newicon -s 16x16 ${PN}-0.png technic.png
+	newicon -s 32x32 ${PN}-1.png technic.png
+	newicon -s 48x48 ${PN}-2.png technic.png
+	make_desktop_entry ${PN} "Technic Launcher" technic Game
+}


             reply	other threads:[~2024-02-23 18:51 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23 18:51 Cara Salter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-13 11:28 [gentoo-commits] repo/proj/guru:master commit in: games-action/technic-launcher/ Andrew Ammerlaan
2023-02-13 11:24 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-25 20:21 Alessandro Barbieri
2021-05-24 10:01 Andrew Ammerlaan
2021-04-15 12:50 Andrew Ammerlaan
2021-03-21 20:29 Andrew Ammerlaan
2021-02-13 20:00 Andrew Ammerlaan
2021-02-11 19:34 Andrew Ammerlaan
2021-01-16 10:09 Andrew Ammerlaan
2020-12-23 10:25 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-23 10:16 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-16 13:12 Andrew Ammerlaan
2020-11-20 16:03 Andrew Ammerlaan
2020-11-08 13:56 Andrew Ammerlaan
2020-08-29 14:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-08-29 14:14 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-08-14 18:20 Andrew Ammerlaan
2020-07-28 14:32 Andrew Ammerlaan
2020-07-16  9:44 Andrew Ammerlaan
2020-07-03 18:48 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-07-03 18:48 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-29 18:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-29 18:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-26  8:23 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-26  8:23 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-24 15:05 Andrew Ammerlaan
2020-06-21 19:11 Andrew Ammerlaan
2020-05-31 17:00 Andrew Ammerlaan
2020-05-28 11:06 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-28 11:05 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-22  8:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-21 17:53 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-05  9:56 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-05  9:55 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-25 16:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-25 16:02 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan

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=1708714270.8114cf2862e345ba6edfacaf1ff445c2ae6bc19f.cara@gentoo \
    --to=cara@devcara.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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