From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50EBD1582EF for ; Tue, 25 Feb 2025 15:25:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 39EF5342FB0 for ; Tue, 25 Feb 2025 15:25:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 456B911037D; Tue, 25 Feb 2025 15:25:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 352E211037D for ; Tue, 25 Feb 2025 15:25:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2C5A343003 for ; Tue, 25 Feb 2025 15:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 479FA27E0 for ; Tue, 25 Feb 2025 15:25:10 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1740443284.98d8cd73af0a87c5737e4324fd593e9d9b3b11c9.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: games-util/curseforge/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-util/curseforge/Manifest games-util/curseforge/curseforge-1.269.3000.ebuild X-VCS-Directories: games-util/curseforge/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 98d8cd73af0a87c5737e4324fd593e9d9b3b11c9 X-VCS-Branch: master Date: Tue, 25 Feb 2025 15:25:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a6d716a5-6a86-4300-86f3-883c816d1ac5 X-Archives-Hash: 892a87c4aea09491f1266b492418667b commit: 98d8cd73af0a87c5737e4324fd593e9d9b3b11c9 Author: Stefan Cristian B. rogentos ro> AuthorDate: Tue Feb 25 00:28:00 2025 +0000 Commit: David Roman gmail 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. 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}" +}