Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
43fbb68b
Commit
43fbb68b
authored
Apr 25, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add lycheeslicer support
parent
73bb3bca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
0 deletions
+68
-0
lycheeslicer.sh
play.d/lycheeslicer.sh
+45
-0
lycheeslicer.sh
repack.d/lycheeslicer.sh
+23
-0
No files found.
play.d/lycheeslicer.sh
0 → 100755
View file @
43fbb68b
#!/bin/sh
PKGNAME
=
lycheeslicer
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Lychee Slicer - A powerful and versatile Slicer for Resin and Filament 3D Printers from the official site"
URL
=
"https://mango3d.io/downloads/"
.
$(
dirname
$0
)
/common.sh
# they have broken require on libicu56 (in embedded libQt5 from 2016)
case
"
$(
epm print info
-s
)
"
in
alt
)
epm installed libicu56
||
epm play libicu56
||
fatal
;;
esac
STDCPKG
=
"libstdc++"
epm installed
$STDCPKG
||
STDCPKG
=
"libstdc++6"
if
epm installed
$STDCPKG
;
then
stdcver
=
$(
epm print version
for
package
"
$STDCPKG
"
|
head
-n1
)
if
[
-n
"
$stdcver
"
]
&&
[
"
$(
epm print compare version
"
$stdcver
"
"11.0"
)
"
=
"-1"
]
;
then
# all next versions require libstdc++ >= 11 (libstdc++.so.6(GLIBCXX_3.4.29)(64bit))
VERSION
=
"4.1.0"
fi
fi
PKGURL
=
"
$(
eget
--list
--latest
https://mango3d.io/downloads/
"LycheeSlicer-
$VERSION
.deb"
)
"
# restore missed CDN for the latest release
PKGURL
=
$(
echo
$PKGURL
|
sed
-e
's|mango-lychee.nyc3.digitaloceanspaces.com|mango-lychee.nyc3.cdn.digitaloceanspaces.com|'
)
if
!
eget
--check
"
$PKGURL
"
;
then
# all previous versions return url to cdn with broken SSL (SSL connection broken only with wget or works only in a browser):
# Connecting to mango-lychee.nyc3.cdn.digitaloceanspaces.com (mango-lychee.nyc3.cdn.digitaloceanspaces.com)|205.185.216.42|:443... connected.
# Unable to establish SSL connection.
if
epm assure curl
;
then
export
EGET_BACKEND
=
curl
else
PKGURL
=
$(
echo
$PKGURL
|
sed
-e
's|mango-lychee.nyc3.cdn|mango-lychee.nyc3|'
)
fi
fi
epm
install
$PKGURL
repack.d/lycheeslicer.sh
0 → 100755
View file @
43fbb68b
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
lycheeslicer
PRODUCTDIR
=
/opt/LycheeSlicer
PREINSTALL_PACKAGES
=
"at-spi2-atk coreutils glib2 libalsa libatk libat-spi2-core libcairo libcups libdbus libdrm libexpat libgbm libgio libGL libgtk+3 libicu56 libnspr libnss libpango libX11 libxcb libXcomposite libXdamage libXext libXfixes libxkbcommon libXrandr zlib"
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
#add_bin_link_command $PRODUCTCUR $PRODUCT
install_deps
fix_chrome_sandbox
fix_desktop_file
# ignore embedded libs
filter_from_requires libQt5 node seamonkey thunderbird
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment