Ignore:
Timestamp:
Nov 3, 2021, 11:22:02 AM (2 years ago)
Author:
chronos
Message:
  • Modified: Merged changes from trunk r404.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Install/snap/snapcraft.yaml

    r378 r405  
    11name: c-evo
    22title: "C-evo: New Horizons"
    3 version: '1.3.0'
     3version: '1.4.0'
    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 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
     12confinement: strict
    913base: core20
    10 #base: core18
    11 grade: devel
     14grade: stable
    1215icon: Graphics/c-evo_64x64.png
     16license: NLPL
    1317
     18environment:
     19  LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
     20  PULSE_SERVER: unix:/run/user/1000/pulse/native
     21
     22layout:
     23  /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox:
     24    bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/sox   
     25 
    1426parts:
    1527  c-evo:
     
    2335    - lcl-utils
    2436    stage-packages:   
     37    - sox
     38    - libsox-fmt-mp3
     39    - libsox-fmt-pulse
     40    - libpulse0
     41    # Autodetected dependencies
    2542    - libatk1.0-0
    2643    - libcairo2
     
    5370    - libxrandr2
    5471    - libxrender1
    55     #- sox
    56     #- libsox-fmt-mp3
    5772    override-build: |
     73      snapcraftctl build
    5874      (cd AI/StdAI &&lazbuild --build-mode=Release StdAI.lpi)
    5975      mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so
     
    6278      install -d -m 755 $ROOT/usr/share/c-evo
    6379      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     
    6580      install -m 644 Language.txt $ROOT/usr/share/c-evo
    6681      install -m 644 Language2.txt $ROOT/usr/share/c-evo
    6782      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     
    7283      install -d -m 755 $ROOT/usr/share/applications
    7384      install -m 755 Install/deb/c-evo.desktop $ROOT/usr/share/applications
     
    91102      cp -r "AI Template" $ROOT/usr/share/c-evo
    92103    stage:
    93       - bin
    94       - lib
    95104      - etc
    96105      - usr
     
    101110apps:
    102111  c-evo:
    103     #command: desktop-launch $SNAP/c-evo-snap
    104112    command: usr/share/c-evo/c-evo
    105     #command: usr/share/c-evo/command-c-evo-gtk.wrapper
    106113    desktop: usr/share/applications/c-evo.desktop   
    107     #extensions: [gnome-3-28]
    108114    plugs:
    109       - home     
    110       - pulseaudio
     115      - home
     116      - audio-playback
    111117      - desktop
    112       - desktop-legacy
    113118      - x11
    114  
Note: See TracChangeset for help on using the changeset viewer.