Changeset 383 for trunk


Ignore:
Timestamp:
Apr 25, 2021, 3:57:15 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Update snap package.
Location:
trunk
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/snap/snapcraft.yaml

    r377 r383  
    44summary: A turn-based empire building game inspired by Civilization II game.
    55description: |
    6   This is a fork and Lazarus port of the original game.
     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
    712confinement: strict
    813base: core20
    9 #base: core18
    1014grade: devel
    1115icon: Graphics/c-evo_64x64.png
     
    2327    - lcl-utils
    2428    stage-packages:   
     29    - sox
     30    - libsox-fmt-mp3
     31    - libsox-fmt-pulse
     32    - libpulse0
     33    # Autodetected dependencies
    2534    - libatk1.0-0
    2635    - libcairo2
     
    5362    - libxrandr2
    5463    - libxrender1
    55     #- sox
    56     #- libsox-fmt-mp3
    5764    override-build: |
    5865      (cd AI/StdAI &&lazbuild --build-mode=Release StdAI.lpi)
     
    6269      install -d -m 755 $ROOT/usr/share/c-evo
    6370      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-evo     
    6571      install -m 644 Language.txt $ROOT/usr/share/c-evo
    6672      install -m 644 Language2.txt $ROOT/usr/share/c-evo
    6773      install -m 644 Fonts.txt $ROOT/usr/share/c-evo
    68       #install -d -m 755 $ROOT/bin
    69       #install -m 755 Install/snap/local/desktop-launch $ROOT/bin
    70       #install -m 755 Install/snap/local/c-evo $ROOT/bin/c-evo
    71       #install -d -m 755 $ROOT/usr/bin     
    7274      install -d -m 755 $ROOT/usr/share/applications
    7375      install -m 755 Install/deb/c-evo.desktop $ROOT/usr/share/applications
     
    9193      cp -r "AI Template" $ROOT/usr/share/c-evo
    9294    stage:
    93       #- bin
    94       #- lib
    9595      - etc
    9696      - usr
     
    101101apps:
    102102  c-evo:
    103     #command: desktop-launch $SNAP/c-evo-snap
    104103    command: usr/share/c-evo/c-evo
    105     #command: usr/share/c-evo/command-c-evo-gtk.wrapper
    106104    desktop: usr/share/applications/c-evo.desktop   
    107     #extensions: [gnome-3-28]
    108105    plugs:
    109       - home     
    110       - pulseaudio
     106      - home
     107      - audio-playback
    111108      - desktop
    112       #- desktop-legacy
    113       - x11
    114  
  • trunk/Packages/CevoComponents/Sound.pas

    r347 r383  
    150150    if (FindDefaultExecutablePath('afplay') <> '') then
    151151      Result := 'afplay';
     152  // Try mpg321
     153  if (Result = '') then
     154    if (FindDefaultExecutablePath('mpg321') <> '') then
     155      Result := 'mpg321 -q';
    152156end;
    153157
Note: See TracChangeset for help on using the changeset viewer.