public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-util/curseforge/
Date: Tue, 25 Feb 2025 15:25:10 +0000 (UTC)	[thread overview]
Message-ID: <1740443284.98d8cd73af0a87c5737e4324fd593e9d9b3b11c9.davidroman@gentoo> (raw)

commit:     98d8cd73af0a87c5737e4324fd593e9d9b3b11c9
Author:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
AuthorDate: Tue Feb 25 00:28:00 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Feb 25 00:28:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98d8cd73

games-util/curseforge: version bump 1.269.3000 + bugfixes

* The app does not auto-update itself.
  As ztrawhcse mentioned on #gentoo-guru,
  the ebuild only needs regular bump,
  since its source is not changing versions.
  We needed to adjust the SRC_URI to rename
  the source via arrow rename, and bump
  whenever upstream uploads new version.
  Checksum manifest will be generated whenever
  we bump a version, so it will not conflict
  with old Manifest.
* Corrected licenses
* Corrected dependencies
* Corrected sed syntax
* Corrected hardcoded values
* Added arrow rename SRC_URI

Signed-off-by: Stefan Cristian B. <stefan.cristian+git <AT> rogentos.ro>

 games-util/curseforge/Manifest                     |  2 +-
 games-util/curseforge/curseforge-1.269.3000.ebuild | 86 ++++++++++++++++++++++
 2 files changed, 87 insertions(+), 1 deletion(-)

diff --git a/games-util/curseforge/Manifest b/games-util/curseforge/Manifest
index d7022dad2..05763b458 100644
--- a/games-util/curseforge/Manifest
+++ b/games-util/curseforge/Manifest
@@ -1 +1 @@
-DIST curseforge-latest-linux.deb 89233064 BLAKE2B 73b8a6909069daca391b05ee95aa125238b99d5672320c6d2039aee77ed1da84e1815967cb4978aea73635d8b8811c37a69a08cfdf11035f21f8afb8072699c0 SHA512 3d905be47c5d9a54d5a934f60166c6974a2ec562877f77e2e4f4885473a594b386ca8e7b6cb85f2d48d86debfa3e12bafbed0d1fa6e0e594d2581ec940991f3a
+DIST curseforge-1.269.3000.deb 89749678 BLAKE2B 0a2f73b67dca73cccbe400c3ef48e5ee67e2313b06bbc7eb569283b01821da0ad94f68bd5ba485bd652bdd8987ddc4c5e8fbc36a5b0b6a4e862ff3d1c9065518 SHA512 7c88d26a774eef3fe5c3eeaa38a253c1fe39780bdbbdd967c7502cdb276c9005ee50a254535b4b95faa5e83d74d4af35ca1c414c221459f5ad22e4bae0b8ac31

diff --git a/games-util/curseforge/curseforge-1.269.3000.ebuild b/games-util/curseforge/curseforge-1.269.3000.ebuild
new file mode 100644
index 000000000..af9ede995
--- /dev/null
+++ b/games-util/curseforge/curseforge-1.269.3000.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+
+inherit chromium-2 desktop unpacker linux-info xdg
+
+DESCRIPTION="The CurseForge Electron App"
+HOMEPAGE="https://www.curseforge.com/"
+SRC_URI="
+	amd64? ( https://${PN}.overwolf.com/downloads/${PN}-latest-linux.deb -> ${P}.deb )"
+S="${WORKDIR}/"
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 LGPL-2+ LGPL-2.1 MPL-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist mirror strip test"
+
+RDEPEND="
+	app-accessibility/at-spi2-core:2
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-libs/zlib
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libX11
+	x11-libs/pango
+	x11-misc/xdg-utils
+"
+DESTDIR="/opt/${PN}"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_install() {
+	sed -i "s|Exec=.*|Exec=/usr/bin/${PN} %U|"  \
+		"usr/share/applications/${PN}.desktop" \
+		|| die "Failed correcting .desktop file"
+
+	doicon -s 256 "usr/share/icons/hicolor/256x256/apps/${PN}.png"
+	domenu "usr/share/applications/${PN}.desktop"
+
+	exeinto "${DESTDIR}"
+	cd opt/CurseForge/ || die "Failed changing directory to unpacked source"
+	doexe ${PN} chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+
+	insinto "${DESTDIR}"
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
+	insopts -m0755
+	doins -r locales resources
+
+	fowners root "${DESTDIR}/chrome-sandbox"
+	fperms 4711 "${DESTDIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	dosym "${DESTDIR}/${PN}" "/usr/bin/${PN}"
+}


             reply	other threads:[~2025-02-25 15:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 15:25 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-25 15:25 [gentoo-commits] repo/proj/guru:master commit in: games-util/curseforge/ David Roman
2025-02-25 15:25 David Roman
2025-02-25 15:25 David Roman
2025-01-30 23:41 David Roman
2025-01-30 15:26 David Roman
2025-01-29  9:37 David Roman
2025-01-29  9:37 David Roman

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=1740443284.98d8cd73af0a87c5737e4324fd593e9d9b3b11c9.davidroman@gentoo \
    --to=davidroman96@gmail.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