Changeset 694
- Timestamp:
- Aug 5, 2025, 8:30:33 PM (18 hours ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/1.3.8/Install/snap/snapcraft.yaml
r687 r694 13 13 * High DPI and scaling support 14 14 * Multi monitor support 15 * In-game music 15 16 * And much more 16 17 confinement: strict … … 23 24 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 24 25 PULSE_SERVER: unix:/run/user/1000/pulse/native 26 ALWAYS_USE_PULSEAUDIO: '1' 25 27 26 28 layout: 27 29 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox: 28 30 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox 29 31 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib: 32 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib 33 /usr/share/alsa: 34 bind: $SNAP/usr/share/alsa 30 35 parts: 36 alsa-mixin: 37 plugin: dump 38 source: https://github.com/diddlesnaps/snapcraft-alsa.git 39 source-subdir: snapcraft-assets 40 build-packages: 41 - libasound2-dev 42 stage-packages: 43 - libasound2 44 - libasound2-plugins 45 - yad 46 stage: 47 # restrict to only audio-related files - you need to ensure 48 # that gtk3 is staged for yad to work correctly, to prompt 49 # users to connect the alsa plug or proceed with pulseaudio. 50 # 51 # This helps prevent symbol conflicts in situations where 52 # you're using a non-default library, such as those that the 53 # gnome-3-34 extension for core18 provides. 54 - etc/asound.conf 55 - snap/command-chain/alsa-launch 56 - usr/bin/yad* 57 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib 58 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libasound* 59 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libdnsfile* 60 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libFLAC* 61 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjack* 62 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libpulse* 63 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libsamplerate* 64 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libspeex* 65 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvorbis* 66 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio 31 67 c-evo: 32 68 plugin: nil 33 69 source: . 34 70 source-type: local 35 after: [lazarus ]71 after: [lazarus, alsa-mixin] 36 72 stage-packages: 37 73 - sox … … 39 75 - libsox-fmt-pulse 40 76 - libpulse0 77 - libsndfile1 78 - libportaudio2 79 - libxmp4 80 - libasound2 81 - libasound2-plugins 41 82 # Autodetected dependencies 42 83 - libatk1.0-0 … … 75 116 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so 76 117 lazbuild --build-mode=Release Integrated.lpi 77 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 78 install -s -m 755 c-evo $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 79 install -m 644 Language.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 80 install -m 644 Language2.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 81 install -m 644 Fonts.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 82 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications 83 install -m 755 Install/deb/c-evo.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications 84 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 85 install -m 644 Install/deb/c-evo.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 86 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps 87 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/c-evo.png 88 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevo.png 89 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevomap.png 90 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 91 install -m 644 AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 92 install -m 644 AI/StdAI/StdAI.ai.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 93 install -m 644 AI/StdAI/StdAI.png $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 118 install -Dm755 c-evo -t $SNAPCRAFT_PART_INSTALL/usr/bin 119 install -Dm644 Language.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 120 install -Dm644 Language2.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 121 install -Dm644 Fonts.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 122 install -Dm644 Install/deb/c-evo.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications 123 install -Dm644 Install/deb/c-evo.xml -t $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 124 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/c-evo.png 125 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevo.png 126 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevomap.png 127 install -Dm644 AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 128 install -Dm644 AI/StdAI/StdAI.ai.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 129 install -Dm644 AI/StdAI/StdAI.png -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 94 130 cp -r Graphics $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 95 131 cp -r Help $SNAPCRAFT_PART_INSTALL/usr/share/c-evo … … 124 160 apps: 125 161 c-evo: 126 command: usr/share/c-evo/c-evo 162 command-chain: ["snap/command-chain/alsa-launch"] 163 command: usr/bin/c-evo 127 164 desktop: usr/share/applications/c-evo.desktop 128 165 plugs: … … 131 168 - desktop 132 169 - x11 170 - alsa -
trunk/Install/snap/snapcraft.yaml
r682 r694 13 13 * High DPI and scaling support 14 14 * Multi monitor support 15 * In-game music 15 16 * And much more 16 17 confinement: strict … … 23 24 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 24 25 PULSE_SERVER: unix:/run/user/1000/pulse/native 26 ALWAYS_USE_PULSEAUDIO: '1' 25 27 26 28 layout: 27 29 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox: 28 30 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox 29 31 /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib: 32 bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib 33 /usr/share/alsa: 34 bind: $SNAP/usr/share/alsa 30 35 parts: 36 alsa-mixin: 37 plugin: dump 38 source: https://github.com/diddlesnaps/snapcraft-alsa.git 39 source-subdir: snapcraft-assets 40 build-packages: 41 - libasound2-dev 42 stage-packages: 43 - libasound2 44 - libasound2-plugins 45 - yad 46 stage: 47 # restrict to only audio-related files - you need to ensure 48 # that gtk3 is staged for yad to work correctly, to prompt 49 # users to connect the alsa plug or proceed with pulseaudio. 50 # 51 # This helps prevent symbol conflicts in situations where 52 # you're using a non-default library, such as those that the 53 # gnome-3-34 extension for core18 provides. 54 - etc/asound.conf 55 - snap/command-chain/alsa-launch 56 - usr/bin/yad* 57 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib 58 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libasound* 59 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libdnsfile* 60 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libFLAC* 61 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjack* 62 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libpulse* 63 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libsamplerate* 64 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libspeex* 65 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvorbis* 66 - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio 31 67 c-evo: 32 68 plugin: nil 33 69 source: . 34 70 source-type: local 35 after: [lazarus ]71 after: [lazarus, alsa-mixin] 36 72 stage-packages: 37 73 - sox … … 39 75 - libsox-fmt-pulse 40 76 - libpulse0 77 - libsndfile1 78 - libportaudio2 79 - libxmp4 80 - libasound2 81 - libasound2-plugins 41 82 # Autodetected dependencies 42 83 - libatk1.0-0 … … 75 116 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so 76 117 lazbuild --build-mode=Release Integrated.lpi 77 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 78 install -s -m 755 c-evo $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 79 install -m 644 Language.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 80 install -m 644 Language2.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 81 install -m 644 Fonts.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 82 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications 83 install -m 755 Install/deb/c-evo.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications 84 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 85 install -m 644 Install/deb/c-evo.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 86 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps 87 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/c-evo.png 88 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevo.png 89 install -m 644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevomap.png 90 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 91 install -m 644 AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 92 install -m 644 AI/StdAI/StdAI.ai.txt $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 93 install -m 644 AI/StdAI/StdAI.png $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 118 install -Dm755 c-evo -t $SNAPCRAFT_PART_INSTALL/usr/bin 119 install -Dm644 Language.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 120 install -Dm644 Language2.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 121 install -Dm644 Fonts.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 122 install -Dm644 Install/deb/c-evo.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications 123 install -Dm644 Install/deb/c-evo.xml -t $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages 124 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/c-evo.png 125 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevo.png 126 install -Dm644 Graphics/c-evo_256x256.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-cevomap.png 127 install -Dm644 AI/StdAI/libstdai-$SNAPCRAFT_TARGET_ARCH.so -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 128 install -Dm644 AI/StdAI/StdAI.ai.txt -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 129 install -Dm644 AI/StdAI/StdAI.png -t $SNAPCRAFT_PART_INSTALL/usr/share/c-evo/AI/StdAI 94 130 cp -r Graphics $SNAPCRAFT_PART_INSTALL/usr/share/c-evo 95 131 cp -r Help $SNAPCRAFT_PART_INSTALL/usr/share/c-evo … … 115 151 - libgtk2.0-dev 116 152 override-build: | 117 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%20 3.6/lazarus-project_3.6.0-0_amd64.deb118 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%20 3.6/fpc-laz_3.2.2-210709_amd64.deb119 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%20 3.6/fpc-src_3.2.2-210709_amd64.deb120 apt install ./lazarus-project_ 3.6.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb153 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.2/lazarus-project_4.2.0-0_amd64.deb 154 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.2/fpc-laz_3.2.2-210709_amd64.deb 155 wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.2/fpc-src_3.2.2-210709_amd64.deb 156 apt install ./lazarus-project_4.2.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb 121 157 stage: [-*] 122 158 prime: [-*] … … 124 160 apps: 125 161 c-evo: 126 command: usr/share/c-evo/c-evo 162 command-chain: ["snap/command-chain/alsa-launch"] 163 command: usr/bin/c-evo 127 164 desktop: usr/share/applications/c-evo.desktop 128 165 plugs: … … 131 168 - desktop 132 169 - x11 170 - alsa
Note:
See TracChangeset
for help on using the changeset viewer.