Changeset 465 for branches/highdpi/Install/snap/snapcraft.yaml
- Timestamp:
- Nov 30, 2023, 10:16:14 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Install/snap/snapcraft.yaml
r405 r465 5 5 description: | 6 6 This is a fork and Lazarus/FPC port of the original C-evo 1.2.0 game. 7 Now it is finally possible to play C-evo natively on Linux. 7 Now it is finally possible to play C-evo natively on Linux. 8 8 * Zoomable map by mouse wheel with three tile sizes 9 9 * Many sample maps included 10 * All available localizations include 10 * Multiple localizations included 11 * Support for user defined key mapping 11 12 * Many other small improvements 12 confinement: strict13 base: core2 013 confinement: devmode 14 base: core22 14 15 grade: stable 15 16 icon: Graphics/c-evo_64x64.png 16 17 license: NLPL 17 18 18 environment: 19 LD_LIBRARY_PATH: $SNAP /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio19 environment: 20 LD_LIBRARY_PATH: $SNAP_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio 20 21 PULSE_SERVER: unix:/run/user/1000/pulse/native 21 22 22 23 layout: 23 24 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox: 24 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox 25 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox 25 26 26 27 parts: … … 29 30 source: . 30 31 source-type: local 31 build-packages: 32 - fpc 33 - lazarus 34 - lcl 35 - lcl-utils 36 stage-packages: 32 after: [lazarus] 33 stage-packages: 37 34 - sox 38 35 - libsox-fmt-mp3 … … 72 69 override-build: | 73 70 snapcraftctl build 74 (cd AI/StdAI &&lazbuild --build-mode= ReleaseStdAI.lpi)71 (cd AI/StdAI &&lazbuild --build-mode=Debug StdAI.lpi) 75 72 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so 76 lazbuild --build-mode=Release Integrated.lpi 77 ROOT=/root/parts/c-evo/install 78 install -d -m 755 $ROOT/usr/share/c-evo 79 install -s -m 755 c-evo $ROOT/usr/share/c-evo 80 install -m 644 Language.txt $ROOT/usr/share/c-evo 81 install -m 644 Language2.txt $ROOT/usr/share/c-evo 82 install -m 644 Fonts.txt $ROOT/usr/share/c-evo 83 install -d -m 755 $ROOT/usr/share/applications 84 install -m 755 Install/deb/c-evo.desktop $ROOT/usr/share/applications 85 install -d -m 755 $ROOT/usr/share/mime/packages 86 install -m 755 Install/deb/c-evo.xml $ROOT/usr/share/mime/packages 87 install -d -m 755 $ROOT/usr/share/pixmaps 88 install -m 644 Graphics/c-evo_64x64.png $ROOT/usr/share/pixmaps/c-evo.png 89 install -m 644 Graphics/c-evo_64x64.png $ROOT/usr/share/pixmaps/application-cevo.png 90 install -m 644 Graphics/c-evo_64x64.png $ROOT/usr/share/pixmaps/application-cevomap.png 91 install -d -m 755 $ROOT/usr/share/c-evo/AI/StdAI 92 install -m 644 AI/StdAI/libstdai-amd64.so $ROOT/usr/share/c-evo/AI/StdAI 93 install -m 644 AI/StdAI/StdAI.ai.txt $ROOT/usr/share/c-evo/AI/StdAI 94 install -m 644 AI/StdAI/StdAI.png $ROOT/usr/share/c-evo/AI/StdAI 95 cp -r Graphics $ROOT/usr/share/c-evo 96 cp -r Help $ROOT/usr/share/c-evo 97 cp -r Sounds $ROOT/usr/share/c-evo 98 cp -r Tribes $ROOT/usr/share/c-evo 99 cp -r Localization $ROOT/usr/share/c-evo 100 cp -r Maps $ROOT/usr/share/c-evo 101 cp -r Saved $ROOT/usr/share/c-evo 102 cp -r "AI Template" $ROOT/usr/share/c-evo 73 lazbuild --build-mode=Debug Integrated.lpi 74 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 75 install -s -m 755 c-evo $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 76 install -m 644 Language.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 77 install -m 644 Language2.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 78 install -m 644 Fonts.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 79 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications 80 install -m 755 Install/deb/c-evo.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications 81 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 82 install -m 644 Install/deb/c-evo.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 83 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps 84 install -m 644 Graphics/c-evo_64x64.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/c-evo.png 85 install -m 644 Graphics/c-evo_64x64.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevo.png 86 install -m 644 Graphics/c-evo_64x64.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevomap.png 87 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 88 install -m 644 AI/StdAI/libstdai-amd64.so $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 89 install -m 644 AI/StdAI/StdAI.ai.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 90 install -m 644 AI/StdAI/StdAI.png $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 91 cp -r Graphics $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 92 cp -r Help $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 93 cp -r Sounds $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 94 cp -r Tribes $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 95 cp -r Localization $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 96 cp -r Maps $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 97 cp -r Saved $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 98 cp -r "AI Template" $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 103 99 stage: 104 100 - etc … … 107 103 - usr/share/applications/c-evo.desktop 108 104 - usr/share/mime/packages/c-evo.xml 109 105 lazarus: 106 plugin: nil 107 source: . 108 source-type: local 109 build-packages: 110 - wget 111 - libgtk2.0-dev 112 override-build: | 113 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/lazarus-project_2.2.2-0_amd64.deb 114 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-laz_3.2.2-210709_amd64.deb 115 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-src_3.2.2-210709_amd64.deb 116 apt install ./lazarus-project_2.2.2-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb 117 stage: [-*] 118 prime: [-*] 119 110 120 apps: 111 121 c-evo: 112 122 command: usr/share/c-evo/c-evo 113 desktop: usr/share/applications/c-evo.desktop 123 desktop: usr/share/applications/c-evo.desktop 114 124 plugs: 115 125 - home
Note:
See TracChangeset
for help on using the changeset viewer.