mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
media-gfx/bambustudio-bin: drop 02.06.00.51-r2
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -1,80 +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_ubuntu-24.04-v02.06.00.51-20260417160415.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
|
||||
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