Skip to content

Commit

Permalink
flatpak updates
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Dec 14, 2024
1 parent 1cb12e3 commit 70c5722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lammps-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ if(FLATPAK_COMMAND AND FLATPAK_BUILDER)
file(STRINGS ${LAMMPS_DIR}/src/version.h line REGEX LAMMPS_VERSION)
string(REGEX REPLACE "#define LAMMPS_VERSION \"([0-9]+) ([A-Za-z][A-Za-z][A-Za-z])[A-Za-z]* ([0-9]+)\""
"\\1\\2\\3" LAMMPS_RELEASE "${line}")
set(FLATPAK_BUNDLE "LAMMPS_GUI-Linux-amd64-${LAMMPS_RELEASE}.flatpak")
set(FLATPAK_BUNDLE "LAMMPS-Linux-x86_64-GUI-${LAMMPS_RELEASE}.flatpak")
add_custom_target(flatpak
COMMAND ${FLATPAK_COMMAND} --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
COMMAND ${FLATPAK_BUILDER} --force-clean --verbose --repo=${CMAKE_CURRENT_BINARY_DIR}/flatpak-repo
Expand Down
1 change: 1 addition & 0 deletions tools/lammps-gui/org.lammps.lammps-gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ modules:
- -D PKG_QTB=yes
- -D PKG_REACTION=yes
- -D PKG_REAXFF=yes
- -D PKG_RHEO=yes
- -D PKG_RIGID=yes
- -D PKG_SHOCK=yes
- -D PKG_SMTBQ=yes
Expand Down

0 comments on commit 70c5722

Please sign in to comment.