OSMesa got removed in mesa 25.1, replace it with gl
This commit is contained in:
parent
cccca05e1e
commit
b020e3bc0a
1 changed files with 2 additions and 1 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -33,11 +33,12 @@ prepare() {
|
|||
# Fix xgettext: case-sensitive mismatches
|
||||
sed -i 's|src/slic3r/GUI/AMSMappingPopup.cpp|src/slic3r/GUI/AmsMappingPopup.cpp|g' $pkgname/localization/i18n/list.txt
|
||||
sed -i 's|https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.bz2|https://www.mpfr.org/mpfr-4.2.1/mpfr-4.2.1.tar.bz2|' $pkgname/deps/MPFR/MPFR.cmake
|
||||
# OSMesa got removed in mesa 25.1, replace it with gl
|
||||
sed -i 's/OSMesa/OpenGL::GL/' $pkgname/src/slic3r/CMakeLists.txt
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
export CXXFLAGS="${CXXFLAGS} -flto"
|
||||
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
export CC=/usr/bin/gcc-14
|
||||
export CXX=/usr/bin/g++-14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue