games-action/ATLauncher - 3.4.40.1 (guru)

Search

Install

Install this version:

emerge -a =games-action/ATLauncher-3.4.40.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-action/ATLauncher-3.4.40.1

Or alternatively:

emerge --autounmask-write -a =games-action/ATLauncher-3.4.40.1

Package Information

Description:
Minecraft launcher which integrates multiple different ModPacks
Homepage:
https://atlauncher.com https://github.com/ATLauncher/ATLauncher
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.4.40.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop java-pkg-2 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/v${PV}/${P}.jar
	https://raw.githubusercontent.com/ATLauncher/ATLauncher/master/src/main/resources/assets/image/icon.ico -> ${PN}.ico"

S="${WORKDIR}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="media-gfx/imagemagick[png]"
RDEPEND="virtual/jre:1.8"

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

	dobin "${FILESDIR}/${PN}"

	newicon -s 256x256 ${PN}-0.png atlauncher.png
	newicon -s 128x128 ${PN}-1.png atlauncher.png
	newicon -s 64x64 ${PN}-2.png atlauncher.png
	newicon -s 48x48 ${PN}-3.png atlauncher.png
	newicon -s 32x32 ${PN}-4.png atlauncher.png
	newicon -s 16x16 ${PN}-5.png atlauncher.png
	make_desktop_entry ${PN} "ATLauncher" atlauncher Game
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

virtual/jre:1.8

BDEPEND

media-gfx/imagemagick[png]

Manifest for 3.4.40.1

Type File Size Source URLs
DIST ATLauncher-3.4.40.1.jar 28373635 bytes https://github.com/ATLauncher/ATLauncher/releases/download/v3.4.40.1/ATLauncher-3.4.40.1.jar
DIST ATLauncher.ico 370070 bytes https://raw.githubusercontent.com/ATLauncher/ATLauncher/master/src/main/resources/assets/image/icon.ico