Changeset 405 for branches/highdpi/Install/snap/snapcraft.yaml
- Timestamp:
- Nov 3, 2021, 11:22:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Install/snap/snapcraft.yaml
r378 r405 1 1 name: c-evo 2 2 title: "C-evo: New Horizons" 3 version: '1. 3.0'3 version: '1.4.0' 4 4 summary: A turn-based empire building game inspired by Civilization II game. 5 5 description: | 6 This is a fork and Lazarus port of the original game which can be 7 found at www.c-evo.org. 8 confinement: devmode 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. 8 * Zoomable map by mouse wheel with three tile sizes 9 * Many sample maps included 10 * All available localizations include 11 * Many other small improvements 12 confinement: strict 9 13 base: core20 10 #base: core18 11 grade: devel 14 grade: stable 12 15 icon: Graphics/c-evo_64x64.png 16 license: NLPL 13 17 18 environment: 19 LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio 20 PULSE_SERVER: unix:/run/user/1000/pulse/native 21 22 layout: 23 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox: 24 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox 25 14 26 parts: 15 27 c-evo: … … 23 35 - lcl-utils 24 36 stage-packages: 37 - sox 38 - libsox-fmt-mp3 39 - libsox-fmt-pulse 40 - libpulse0 41 # Autodetected dependencies 25 42 - libatk1.0-0 26 43 - libcairo2 … … 53 70 - libxrandr2 54 71 - libxrender1 55 #- sox56 #- libsox-fmt-mp357 72 override-build: | 73 snapcraftctl build 58 74 (cd AI/StdAI &&lazbuild --build-mode=Release StdAI.lpi) 59 75 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so … … 62 78 install -d -m 755 $ROOT/usr/share/c-evo 63 79 install -s -m 755 c-evo $ROOT/usr/share/c-evo 64 install -m 755 Install/snap/local/command-c-evo-gtk.wrapper $ROOT/usr/share/c-evo65 80 install -m 644 Language.txt $ROOT/usr/share/c-evo 66 81 install -m 644 Language2.txt $ROOT/usr/share/c-evo 67 82 install -m 644 Fonts.txt $ROOT/usr/share/c-evo 68 #install -d -m 755 $ROOT/bin69 #install -m 755 Install/snap/local/desktop-launch $ROOT/bin70 #install -m 755 Install/snap/local/c-evo $ROOT/bin/c-evo71 #install -d -m 755 $ROOT/usr/bin72 83 install -d -m 755 $ROOT/usr/share/applications 73 84 install -m 755 Install/deb/c-evo.desktop $ROOT/usr/share/applications … … 91 102 cp -r "AI Template" $ROOT/usr/share/c-evo 92 103 stage: 93 - bin94 - lib95 104 - etc 96 105 - usr … … 101 110 apps: 102 111 c-evo: 103 #command: desktop-launch $SNAP/c-evo-snap104 112 command: usr/share/c-evo/c-evo 105 #command: usr/share/c-evo/command-c-evo-gtk.wrapper106 113 desktop: usr/share/applications/c-evo.desktop 107 #extensions: [gnome-3-28]108 114 plugs: 109 - home 110 - pulseaudio115 - home 116 - audio-playback 111 117 - desktop 112 - desktop-legacy113 118 - x11 114
Note:
See TracChangeset
for help on using the changeset viewer.