mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
media-gfx/bambustudio-bin: drop 02.00.03.54
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST bambustudio-bin-02.00.02.57.AppImage 131212480 BLAKE2B 733c911013e4d717608414d18f4624a8320ac0641b54d02d339c9f987b1721e7281eb91b077a05968fa2a437c307a1aac2496222a9f1275c454b8a388bed2890 SHA512 d8d1ab59eef1a46fa5b66653050b400e2e46610831a18849d80864b8f3682d0c19af15f8baf62622a9cc03b0acb2a487a79b0e2cb01acea617689d988b821af4
|
DIST bambustudio-bin-02.00.02.57.AppImage 131212480 BLAKE2B 733c911013e4d717608414d18f4624a8320ac0641b54d02d339c9f987b1721e7281eb91b077a05968fa2a437c307a1aac2496222a9f1275c454b8a388bed2890 SHA512 d8d1ab59eef1a46fa5b66653050b400e2e46610831a18849d80864b8f3682d0c19af15f8baf62622a9cc03b0acb2a487a79b0e2cb01acea617689d988b821af4
|
||||||
DIST bambustudio-bin-02.00.03.54.AppImage 128881856 BLAKE2B 08f0ab756fd3229de80b9677a93604d83edfc8771af61b8ec34b454cca99e9dcc8e95e61c945543151e02894c2cc76cd2ffa529882b208c3aba72c544110eb5a SHA512 27c2198858692c68e47f0a9d936fe2f23607b582abea14125a4db5aa3e0545da8b3b9582caa838867f5e31e464352d53913ee54b384a244c120982afc7efe098
|
|
||||||
|
|||||||
@@ -1,72 +0,0 @@
|
|||||||
# 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(+)]
|
|
||||||
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 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() {
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user