mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 20:55:55 +08:00
flatpak: install translations in flatpak (#8066)
* flatpak: install translations in flatpak Note: you also need to update flatpak config to add desired locales to flatpak environment via `flatpak config --set languages='en;ru'; flatpak update` or `flatpak --user config --set languages='en;ru'; flatpak --user update` * flatpak: mesa-20.x tarball has been moved, fix the url It's now under older-versions/20.x directory
This commit is contained in:
parent
0cf7efc46c
commit
3c3ac1a1cb
@ -56,7 +56,7 @@ modules:
|
|||||||
- "*.a"
|
- "*.a"
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://archive.mesa3d.org/mesa-20.2.6.tar.xz
|
url: https://archive.mesa3d.org/older-versions/20.x/mesa-20.2.6.tar.xz
|
||||||
sha256: f12ca3c6c622f11cd79ad66b4220f04514fa96f795062fe92a37339ab19885db
|
sha256: f12ca3c6c622f11cd79ad66b4220f04514fa96f795062fe92a37339ab19885db
|
||||||
|
|
||||||
- name: glu
|
- name: glu
|
||||||
@ -265,8 +265,8 @@ modules:
|
|||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- |
|
- |
|
||||||
mkdir -p build && cd build
|
mkdir -p build
|
||||||
CXXFLAGS=-std=gnu++20 cmake ../ \
|
CXXFLAGS=-std=gnu++20 cmake . -B build \
|
||||||
-DSLIC3R_PCH=OFF \
|
-DSLIC3R_PCH=OFF \
|
||||||
-DSLIC3R_FHS=ON \
|
-DSLIC3R_FHS=ON \
|
||||||
-DSLIC3R_GTK=3 \
|
-DSLIC3R_GTK=3 \
|
||||||
@ -278,7 +278,9 @@ modules:
|
|||||||
-DBBL_RELEASE_TO_PUBLIC=1 \
|
-DBBL_RELEASE_TO_PUBLIC=1 \
|
||||||
-DCMAKE_PREFIX_PATH=/app \
|
-DCMAKE_PREFIX_PATH=/app \
|
||||||
-DCMAKE_INSTALL_PREFIX=/app
|
-DCMAKE_INSTALL_PREFIX=/app
|
||||||
CXXFLAGS=-std=gnu++20 cmake --build . --target install -j$FLATPAK_BUILDER_N_JOBS
|
CXXFLAGS=-std=gnu++20 cmake --build build --target OrcaSlicer -j$FLATPAK_BUILDER_N_JOBS
|
||||||
|
./run_gettext.sh
|
||||||
|
CXXFLAGS=-std=gnu++20 cmake --build build --target install -j$FLATPAK_BUILDER_N_JOBS
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
- /include
|
- /include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user