mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
rework of Linux build scripts (#4850)
* rework of Linux build scripts * change to ninja build system * distribution specific logic broken out * n/9 progress entries make no sense, removing * {}'ing all variables * sorting help output * sorting package lists * project doesn't use submodules, removing logic Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com> * drop gtk-2 Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com> * further refinements of BuildLinux.sh Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com> --------- Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
This commit is contained in:
parent
ec8d91e14f
commit
654af8e0e4
5 changed files with 228 additions and 157 deletions
48
linux.d/fedora
Normal file
48
linux.d/fedora
Normal file
|
@ -0,0 +1,48 @@
|
|||
FOUND_GTK3=$(rpm -qa | grep -P '^gtk3' || true)
|
||||
|
||||
REQUIRED_DEV_PACKAGES=(
|
||||
autoconf
|
||||
automake
|
||||
cmake
|
||||
dbus-devel
|
||||
eglexternalplatform-devel
|
||||
extra-cmake-modules
|
||||
file
|
||||
gcc
|
||||
gcc-c++
|
||||
gettext
|
||||
git
|
||||
gstreamer1-devel
|
||||
gstreamermm-devel
|
||||
gtk3-devel
|
||||
libmspack-devel
|
||||
libsecret-devel
|
||||
libtool
|
||||
m4
|
||||
mesa-libGLU-devel
|
||||
mesa-libOSMesa-devel
|
||||
ninja-build
|
||||
openssl-devel
|
||||
perl-FindBin
|
||||
texinfo
|
||||
wayland-protocols-devel
|
||||
webkit2gtk4.0-devel
|
||||
wget
|
||||
libcurl-devel
|
||||
)
|
||||
|
||||
if [[ -n "$UPDATE_LIB" ]]
|
||||
then
|
||||
NEEDED_PKGS=""
|
||||
for PKG in ${REQUIRED_DEV_PACKAGES[@]}; do
|
||||
rpm -q ${PKG} > /dev/null || NEEDED_PKGS+=" ${PKG}"
|
||||
done
|
||||
|
||||
if [ -n "${NEEDED_PKGS}" ]; then
|
||||
sudo dnf install -y ${NEEDED_PKGS}
|
||||
fi
|
||||
echo -e "done\n"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
FOUND_GTK3_DEV=$(rpm -qa | grep -P '^gtk3-devel' || true)
|
Loading…
Add table
Add a link
Reference in a new issue