games-util/modrinth-app-bin - 0.14.5 (guru)

Search

Install

Install this version:

emerge -a =games-util/modrinth-app-bin-0.14.5

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

autounmask =games-util/modrinth-app-bin-0.14.5

Or alternatively:

emerge --autounmask-write -a =games-util/modrinth-app-bin-0.14.5

Package Information

Description:
Open source launcher letting you play and update your favourite Minecraft mods.
Homepage:
https://modrinth.com/app
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit unpacker desktop xdg-utils

DESCRIPTION="Open source launcher letting you play and update your favourite Minecraft mods."
HOMEPAGE="https://modrinth.com/app"
SRC_URI="https://launcher-files.modrinth.com/versions/${PV}/linux/Modrinth%20App_${PV}_amd64.deb"

S="${WORKDIR}"

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

# Tauri deps
RDEPEND="
	sys-apps/dbus
	dev-libs/openssl
	net-libs/webkit-gtk:4.1
	x11-libs/gtk+:3
	net-libs/libsoup
	gnome-base/librsvg
	dev-libs/glib
	x11-libs/cairo
	x11-libs/gdk-pixbuf
"
# Minecraft deps
RDEPEND+="
	x11-libs/libX11
	media-libs/libpulse
	x11-libs/libXxf86vm
"
BDEPEND="app-arch/unzip"

QA_PREBUILT=".*"

PATCHES=(
	"${FILESDIR}/${PN}-desktop.patch"
)

src_unpack() {
	unpack_deb ${A}
}

src_prepare() {
	mv "${S}/usr/share/applications/Modrinth App.desktop"\
		"${S}/usr/share/applications/${PN}.desktop"

	default

	mv "${S}/usr/bin/ModrinthApp" "${S}/usr/bin/${PN}" || die
}

src_install() {
	ICONDIR="usr/share/icons/hicolor"
	DESTDIR="/opt/${PN}"

	doicon -s 128 "${ICONDIR}/128x128/apps/ModrinthApp.png"
	doicon -s 256 "${ICONDIR}/256x256@2/apps/ModrinthApp.png"

	domenu "${S}/usr/share/applications/${PN}.desktop"

	dodir /opt/${PN}

	exeinto "${DESTDIR}"
	doexe "${S}/usr/bin/${PN}"
}

pkg_postinst() {
	xdg_icon_cache_update
	xdg_desktop_database_update
}

pkg_postrm() {
	xdg_icon_cache_update
	xdg_desktop_database_update
}

Inherited Eclasses

Dependencies

RDEPEND

	sys-apps/dbus
	dev-libs/openssl
	net-libs/webkit-gtk:4.1
	x11-libs/gtk+:3
	net-libs/libsoup
	gnome-base/librsvg
	dev-libs/glib
	x11-libs/cairo
	x11-libs/gdk-pixbuf
 
	x11-libs/libX11
	media-libs/libpulse
	x11-libs/libXxf86vm

BDEPEND

app-arch/unzip

Manifest for 0.14.5

Type File Size Source URLs
DIST Modrinth%20App_0.14.5_amd64.deb 17760574 bytes https://launcher-files.modrinth.com/versions/0.14.5/linux/Modrinth%20App_0.14.5_amd64.deb