* [gentoo-commits] repo/proj/guru:dev commit in: games-action/ATLauncher/files/, games-action/ATLauncher/
2020-03-25 13:16 [gentoo-commits] repo/proj/guru:master commit in: games-action/ATLauncher/, games-action/ATLauncher/files/ Andrew Ammerlaan
@ 2020-03-25 13:13 ` Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2020-03-25 13:13 UTC (permalink / raw
To: gentoo-commits
commit: 30c9856ed2910abff171904a7451139e8e73a302
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 25 12:57:26 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 25 13:07:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30c9856e
games-action/ATLauncher: Minecraft launcher integrates multiple ModPacks
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild | 49 +++++++++++++++++++++++
games-action/ATLauncher/Manifest | 2 +
games-action/ATLauncher/files/ATLauncher | 10 +++++
games-action/ATLauncher/metadata.xml | 8 ++++
4 files changed, 69 insertions(+)
diff --git a/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
new file mode 100644
index 0000000..63800d4
--- /dev/null
+++ b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg
+
+DESCRIPTION="Minecraft launcher which integrates multiple different ModPacks"
+HOMEPAGE="https://atlauncher.com
+ https://github.com/ATLauncher/ATLauncher"
+SRC_URI="https://github.com/ATLauncher/ATLauncher/releases/download/${PV}/${P}.jar
+ https://raw.githubusercontent.com/ATLauncher/ATLauncher/master/src/main/resources/assets/image/Icon.ico -> ${PN}.ico"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="media-gfx/imagemagick"
+
+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() {
+ dodir /opt/${PN}
+ insinto /opt/${PN}/
+ newins "${DISTDIR}/${P}.jar" ${PN}.jar
+
+ insinto /opt/bin/
+ doins "${FILESDIR}/${PN}"
+ fperms +x /opt/bin/${PN}
+
+ newicon -s 256x256 ${PN}-0.png ${PN}.png
+ newicon -s 128x128 ${PN}-1.png ${PN}.png
+ newicon -s 64x64 ${PN}-2.png ${PN}.png
+ newicon -s 48x48 ${PN}-3.png ${PN}.png
+ newicon -s 32x32 ${PN}-4.png ${PN}.png
+ newicon -s 16x16 ${PN}-5.png ${PN}.png
+ make_desktop_entry ${PN} "ATLauncher" ${PN} Game
+}
diff --git a/games-action/ATLauncher/Manifest b/games-action/ATLauncher/Manifest
new file mode 100644
index 0000000..a1a922f
--- /dev/null
+++ b/games-action/ATLauncher/Manifest
@@ -0,0 +1,2 @@
+DIST ATLauncher-3.3.4.2.jar 10456315 BLAKE2B 07563619418544412cf8684c549138bc01001ec45d0edb02db79c2cd2d00fd5ceb60c5ce13fe68025ddc9a63862d9cdb4fafe78275fbe123363ca809d6368c85 SHA512 ea54cef8ab9f28acea319d6d1a2cd192709504b96aa2296baf705f878bedc3f201acc797badbb696444a8f53c502ffffbd000c3690dfb6a065b765e926e904ba
+DIST ATLauncher.ico 370070 BLAKE2B 992e5df968054884c21f136b8f16f2b14e8d321b2196ebc07f7a59621223ca79b896f63b21dba864f61f238ca1864039a410d8089127714163092f65d0ca7f27 SHA512 353f6dd68475778cc8e97a773e800fe532df2f6d28d5babc751cfb5ed7ef24ef6246f76d26e3e25706e458741d604bb8fa8e79cb8904900284f0f7b0f9488bfb
diff --git a/games-action/ATLauncher/files/ATLauncher b/games-action/ATLauncher/files/ATLauncher
new file mode 100755
index 0000000..4b6ed4c
--- /dev/null
+++ b/games-action/ATLauncher/files/ATLauncher
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# we need to execute this in a user writeable directory
+
+if [ ! -f ${HOME}/ATLauncher/ATLauncher.jar ]; then
+ mkdir -p ${HOME}/.local/share/ATLauncher
+ cp /opt/ATLauncher/ATLauncher.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
+fi
+
+java -jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
diff --git a/games-action/ATLauncher/metadata.xml b/games-action/ATLauncher/metadata.xml
new file mode 100644
index 0000000..1210e7e
--- /dev/null
+++ b/games-action/ATLauncher/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@riseup.net</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/ATLauncher/, games-action/ATLauncher/files/
@ 2020-03-25 13:16 Andrew Ammerlaan
2020-03-25 13:13 ` [gentoo-commits] repo/proj/guru:dev commit in: games-action/ATLauncher/files/, games-action/ATLauncher/ Andrew Ammerlaan
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Ammerlaan @ 2020-03-25 13:16 UTC (permalink / raw
To: gentoo-commits
commit: 30c9856ed2910abff171904a7451139e8e73a302
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 25 12:57:26 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 25 13:07:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30c9856e
games-action/ATLauncher: Minecraft launcher integrates multiple ModPacks
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild | 49 +++++++++++++++++++++++
games-action/ATLauncher/Manifest | 2 +
games-action/ATLauncher/files/ATLauncher | 10 +++++
games-action/ATLauncher/metadata.xml | 8 ++++
4 files changed, 69 insertions(+)
diff --git a/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
new file mode 100644
index 0000000..63800d4
--- /dev/null
+++ b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg
+
+DESCRIPTION="Minecraft launcher which integrates multiple different ModPacks"
+HOMEPAGE="https://atlauncher.com
+ https://github.com/ATLauncher/ATLauncher"
+SRC_URI="https://github.com/ATLauncher/ATLauncher/releases/download/${PV}/${P}.jar
+ https://raw.githubusercontent.com/ATLauncher/ATLauncher/master/src/main/resources/assets/image/Icon.ico -> ${PN}.ico"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+
+BDEPEND="media-gfx/imagemagick"
+
+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() {
+ dodir /opt/${PN}
+ insinto /opt/${PN}/
+ newins "${DISTDIR}/${P}.jar" ${PN}.jar
+
+ insinto /opt/bin/
+ doins "${FILESDIR}/${PN}"
+ fperms +x /opt/bin/${PN}
+
+ newicon -s 256x256 ${PN}-0.png ${PN}.png
+ newicon -s 128x128 ${PN}-1.png ${PN}.png
+ newicon -s 64x64 ${PN}-2.png ${PN}.png
+ newicon -s 48x48 ${PN}-3.png ${PN}.png
+ newicon -s 32x32 ${PN}-4.png ${PN}.png
+ newicon -s 16x16 ${PN}-5.png ${PN}.png
+ make_desktop_entry ${PN} "ATLauncher" ${PN} Game
+}
diff --git a/games-action/ATLauncher/Manifest b/games-action/ATLauncher/Manifest
new file mode 100644
index 0000000..a1a922f
--- /dev/null
+++ b/games-action/ATLauncher/Manifest
@@ -0,0 +1,2 @@
+DIST ATLauncher-3.3.4.2.jar 10456315 BLAKE2B 07563619418544412cf8684c549138bc01001ec45d0edb02db79c2cd2d00fd5ceb60c5ce13fe68025ddc9a63862d9cdb4fafe78275fbe123363ca809d6368c85 SHA512 ea54cef8ab9f28acea319d6d1a2cd192709504b96aa2296baf705f878bedc3f201acc797badbb696444a8f53c502ffffbd000c3690dfb6a065b765e926e904ba
+DIST ATLauncher.ico 370070 BLAKE2B 992e5df968054884c21f136b8f16f2b14e8d321b2196ebc07f7a59621223ca79b896f63b21dba864f61f238ca1864039a410d8089127714163092f65d0ca7f27 SHA512 353f6dd68475778cc8e97a773e800fe532df2f6d28d5babc751cfb5ed7ef24ef6246f76d26e3e25706e458741d604bb8fa8e79cb8904900284f0f7b0f9488bfb
diff --git a/games-action/ATLauncher/files/ATLauncher b/games-action/ATLauncher/files/ATLauncher
new file mode 100755
index 0000000..4b6ed4c
--- /dev/null
+++ b/games-action/ATLauncher/files/ATLauncher
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# we need to execute this in a user writeable directory
+
+if [ ! -f ${HOME}/ATLauncher/ATLauncher.jar ]; then
+ mkdir -p ${HOME}/.local/share/ATLauncher
+ cp /opt/ATLauncher/ATLauncher.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
+fi
+
+java -jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
diff --git a/games-action/ATLauncher/metadata.xml b/games-action/ATLauncher/metadata.xml
new file mode 100644
index 0000000..1210e7e
--- /dev/null
+++ b/games-action/ATLauncher/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@riseup.net</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/ATLauncher/, games-action/ATLauncher/files/
@ 2021-04-16 12:58 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-04-16 12:58 UTC (permalink / raw
To: gentoo-commits
commit: a03ea349f896fb5c2344f3dc2bfb18f8bf82e8b4
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr 16 12:55:09 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 16 12:55:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a03ea349
games-action/ATLauncher: install jar without version
Closes: https://bugs.gentoo.org/783150
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
games-action/ATLauncher/ATLauncher-3.4.3.1.ebuild | 2 +-
games-action/ATLauncher/files/ATLauncher | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-action/ATLauncher/ATLauncher-3.4.3.1.ebuild b/games-action/ATLauncher/ATLauncher-3.4.3.1.ebuild
index 2256d5abe..b3fc84d8c 100644
--- a/games-action/ATLauncher/ATLauncher-3.4.3.1.ebuild
+++ b/games-action/ATLauncher/ATLauncher-3.4.3.1.ebuild
@@ -31,7 +31,7 @@ src_compile() {
}
src_install() {
- java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}.jar
+ java-pkg_newjar "${DISTDIR}/${P}.jar" ${PN}.jar
dobin "${FILESDIR}/${PN}"
diff --git a/games-action/ATLauncher/files/ATLauncher b/games-action/ATLauncher/files/ATLauncher
index 234d8ed47..40d8a0128 100644
--- a/games-action/ATLauncher/files/ATLauncher
+++ b/games-action/ATLauncher/files/ATLauncher
@@ -3,5 +3,5 @@
# we need to execute this in a user writeable directory
mkdir -p ${HOME}/.local/share/ATLauncher
-cp /usr/share/ATLauncher/lib/ATLauncher-*.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
+cp /usr/share/ATLauncher/lib/ATLauncher.jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
java -jar ${HOME}/.local/share/ATLauncher/ATLauncher.jar
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-16 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-25 13:16 [gentoo-commits] repo/proj/guru:master commit in: games-action/ATLauncher/, games-action/ATLauncher/files/ Andrew Ammerlaan
2020-03-25 13:13 ` [gentoo-commits] repo/proj/guru:dev commit in: games-action/ATLauncher/files/, games-action/ATLauncher/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-04-16 12:58 [gentoo-commits] repo/proj/guru:master commit in: games-action/ATLauncher/, games-action/ATLauncher/files/ Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox