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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1BB1F1582EF for ; Tue, 25 Feb 2025 09:47:58 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 09F01343211 for ; Tue, 25 Feb 2025 09:47:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F2B19110260; Tue, 25 Feb 2025 09:47:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E7664110260 for ; Tue, 25 Feb 2025 09:47:56 +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 82BC834305A for ; Tue, 25 Feb 2025 09:47:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF48C27B6 for ; Tue, 25 Feb 2025 09:47:54 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1740476618.e3f99d2e1501d3c1779a73fe83d387345d96be2c.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/bambustudio-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/bambustudio-bin/Manifest media-gfx/bambustudio-bin/bambustudio-bin-01.10.02.75.ebuild X-VCS-Directories: media-gfx/bambustudio-bin/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: e3f99d2e1501d3c1779a73fe83d387345d96be2c X-VCS-Branch: dev Date: Tue, 25 Feb 2025 09:47:54 +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: 6fd0e59b-a63f-4860-9ade-3dea29a54d36 X-Archives-Hash: 6a6dff82fdd79e869ece69c859f2830c commit: e3f99d2e1501d3c1779a73fe83d387345d96be2c Author: Huang Rui gmail com> AuthorDate: Tue Feb 25 09:43:38 2025 +0000 Commit: Rui Huang gmail com> CommitDate: Tue Feb 25 09:43:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3f99d2e media-gfx/bambustudio-bin: add 01.10.02.75 Signed-off-by: Huang Rui gmail.com> media-gfx/bambustudio-bin/Manifest | 1 + .../bambustudio-bin-01.10.02.75.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-gfx/bambustudio-bin/Manifest b/media-gfx/bambustudio-bin/Manifest index 0cb8a929d..2faeddd16 100644 --- a/media-gfx/bambustudio-bin/Manifest +++ b/media-gfx/bambustudio-bin/Manifest @@ -1 +1,2 @@ DIST bambustudio-bin-01.10.01.50.AppImage 112915648 BLAKE2B ed1b569037d46f8e73f02571317e213e504088fdb4a202e6d3a5a82cc49451819a43ce8bd5bdc73700057c381019bdd42ba1cf86400d4483ddb108f08dc2a70e SHA512 a6ccfebe9349b189ccb6457c7e9aa3df0a3f0a2c42839fc0cd6a7fee2245a08e8c1acdfe556e772f9d20761ed7838f23c8ef3841537daa2e469438ce74072be3 +DIST bambustudio-bin-01.10.02.75.AppImage 114255040 BLAKE2B cfadc9f77b3b75ba2f6c0d39c462dcaee44e9a116129ea3deaf5e203b6023edbb7da657b5ddc16932caf059c43cdfecd03d09beceb764a7d84b20a534d9bf8c3 SHA512 0a162c018491e5eeeec9bfd8e765ab148abb673e57f2e045ab231a13041e92566674587e772276245811567bec7eb10b699eaf22421889eedfb2321c88009b02 diff --git a/media-gfx/bambustudio-bin/bambustudio-bin-01.10.02.75.ebuild b/media-gfx/bambustudio-bin/bambustudio-bin-01.10.02.75.ebuild new file mode 100644 index 000000000..cf03b4b08 --- /dev/null +++ b/media-gfx/bambustudio-bin/bambustudio-bin-01.10.02.75.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="BambuStudio" +WX_GTK_VER="3.0-gtk3" + +inherit desktop wrapper xdg + +DESCRIPTION="Bambu Studio is a cutting-edge, feature-rich slicing software" +HOMEPAGE="https://bambulab.com" + +SRC_URI=" + https://github.com/bambulab/${MY_PN}/releases/download/v${PV}/Bambu_Studio_linux_fedora-v${PV}.AppImage \ + -> ${P}.AppImage +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND=" + media-gfx/openvdb + media-libs/glew:0= + >=media-libs/glm-0.9.9.1 + media-libs/gstreamer + media-libs/mesa[X(+),osmesa] + net-libs/libsoup:3.0= + net-libs/webkit-gtk:4.1/0 + >=sci-libs/opencascade-7.3.0:0= + virtual/glu + >=x11-libs/cairo-1.8.8:= + x11-libs/libxkbcommon + >=x11-libs/pixman-0.30 + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/patchelf +" + +QA_PREBUILT="*" +RESTRICT="strip" + +src_unpack() { + mkdir "${S}" || die + cp "${DISTDIR}/${P}.AppImage" "${S}"/ || die + pushd "${S}" || die + chmod +x "${S}/${P}.AppImage" || die + "${S}/${P}.AppImage" --appimage-extract || die + rm "${S}/${P}.AppImage" || die + popd || die +} + +src_install() { + rm -r squashfs-root/{*.{AppImage,desktop},.DirIcon,usr} || die + patchelf --replace-needed libwebkit2gtk-4.0.so.37 libwebkit2gtk-4.1.so.0 \ + "${S}"/squashfs-root/bin/bambu-studio || die + patchelf --replace-needed libjavascriptcoregtk-4.0.so.18 libjavascriptcoregtk-4.1.so.0 \ + "${S}"/squashfs-root/bin/bambu-studio || die + patchelf --remove-needed libsoup-2.4.so.1 \ + "${S}"/squashfs-root/bin/bambu-studio || die + patchelf --set-rpath '$ORIGIN' \ + "${S}"/squashfs-root/bin/bambu-studio || die + insinto /opt/"${PN}" + doins -r "${S}"/squashfs-root/* + fperms +x "/opt/${PN}/AppRun" "/opt/${PN}/bin/bambu-studio" + doicon -s 192 "${S}"/squashfs-root/BambuStudio.png + domenu "${FILESDIR}/bambu-studio.desktop" + make_wrapper bambu-studio "/opt/${PN}/AppRun" +}