mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
media-gfx/bambustudio-bin: drop 02.07.01.62
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
2 files changed
-92
No files matched your search
@@ -1,3 +1,2 @@
|
||||
DIST bambustudio-bin-02.07.01.62.AppImage 227047928 BLAKE2B b9675554cf129cf2380633de54a063571251cdb33033504a7397f323096a45123182d0d1fde0c7818a4b6f37984daa87a69cfffe95b43d9dc8d7c1e18e43e836 SHA512 995ecd9a2a2d9a45eb8ae2c2c89eb3b42b167d7bd5ad5c932ad2e79391b3ec39391b728b7c183786b564772d6a25e5e251cc7ad392dbc085d3e7f149fd504f1e
|
||||
DIST bambustudio-bin-02.08.02.60.AppImage 230021624 BLAKE2B fcb70f5374ffd95b67e7af00bb91b6d3ccda6bc016eac2bd5e4ca3984a66eab3773761ceff6eabab746eb5ea0b330948ca3d8cd1212b93dfa2d03c8db4552a0e SHA512 b6db2e76b7d69bbbcc91056cb0622a5510ae4f88bc4ef5238d55e2c65b35f660c2ad1c7de87daaf93f7ef8352e7136d9f9f514f57bd0b315a1f37f601ccd0a68
|
||||
DIST bambustudio-bin-02.08.02.61.AppImage 230025720 BLAKE2B 7a960c24cdcbcdd60f763d12b5415c2d704d6187c4f98652e296fd2b2af9ddf69603c7eb0f33733d16ca07f94f5fdd594ce173b73cd568af1827d32d8a0607bd SHA512 5235f9b1040e0b5d7c315dfbeb22b25115dd43908f94cdc4ce84bd9d4bff43bac2d6d76738a5d456af26dca04c99f6981a293937a42f1599882fa2a62cfbd419
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="BambuStudio"
|
||||
WX_GTK_VER="3.2-gtk3"
|
||||
|
||||
inherit desktop wrapper xdg
|
||||
|
||||
DESCRIPTION="Bambu Studio is a cutting-edge, feature-rich slicing software"
|
||||
HOMEPAGE="https://bambulab.com"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/bambulab/${MY_PN}/releases/download/v${PV}/BambuStudio_ubuntu24.04-v02.07.01.62-20260616195227.AppImage
|
||||
-> ${P}.AppImage
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/wayland
|
||||
media-gfx/openvdb
|
||||
media-libs/fontconfig
|
||||
media-libs/glew:0
|
||||
>=media-libs/glm-0.9.9.1
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-libs/libsoup:2.4
|
||||
net-libs/webkit-gtk:4.1
|
||||
>=sci-libs/opencascade-7.3.0:0
|
||||
sys-apps/dbus
|
||||
virtual/glu
|
||||
virtual/zlib
|
||||
>=x11-libs/cairo-1.8.8:0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
>=x11-libs/pixman-0.30
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/patchelf
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
RESTRICT="strip test"
|
||||
|
||||
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() {
|
||||
# Set RUNPATH so the bundled libraries in /opt/${PN}/bin/ are found.
|
||||
# The ubuntu-24.04 AppImage links directly against webkit-gtk:4.1,
|
||||
# so no soname replacement is needed anymore.
|
||||
patchelf --set-rpath '$ORIGIN' \
|
||||
"${S}"/squashfs-root/bin/bambu-studio || die
|
||||
|
||||
# Ubuntu ships bzip2 with SONAME libbz2.so.1.0; Gentoo uses libbz2.so.1.
|
||||
# Rewrite NEEDED entries so qa-unresolved-soname-deps is satisfied and the
|
||||
# binary stays linkable after Gentoo drops the libbz2.so.1.0 compat symlink.
|
||||
local f
|
||||
while IFS= read -r -d '' f; do
|
||||
[[ -L ${f} ]] && continue
|
||||
patchelf --print-needed "${f}" 2>/dev/null | grep -qxF 'libbz2.so.1.0' || continue
|
||||
patchelf --replace-needed libbz2.so.1.0 libbz2.so.1 "${f}" || die
|
||||
done < <(find "${S}"/squashfs-root -type f -print0)
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in new issue
Block a user