Changeset 377


Ignore:
Timestamp:
Apr 24, 2021, 11:39:18 PM (5 months ago)
Author:
chronos
Message:
  • Fixed: Snap package can be now built successfully.
File:
1 edited

Legend:

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

    r376 r377  
    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
    9 #base: core20
    10 base: core18
     6  This is a fork and Lazarus port of the original game.
     7confinement: strict
     8base: core20
     9#base: core18
    1110grade: devel
    1211icon: Graphics/c-evo_64x64.png
     12license: NLPL
    1313
    1414parts:
     
    6666      install -m 644 Language2.txt $ROOT/usr/share/c-evo
    6767      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
     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
    7171      #install -d -m 755 $ROOT/usr/bin     
    7272      install -d -m 755 $ROOT/usr/share/applications
     
    9191      cp -r "AI Template" $ROOT/usr/share/c-evo
    9292    stage:
    93       - bin
    94       - lib
     93      #- bin
     94      #- lib
    9595      - etc
    9696      - usr
     
    102102  c-evo:
    103103    #command: desktop-launch $SNAP/c-evo-snap
    104     #command: usr/share/c-evo/c-evo
    105     command: usr/share/c-evo/command-c-evo-gtk.wrapper
     104    command: usr/share/c-evo/c-evo
     105    #command: usr/share/c-evo/command-c-evo-gtk.wrapper
    106106    desktop: usr/share/applications/c-evo.desktop   
    107     extensions: [gnome-3-28]
     107    #extensions: [gnome-3-28]
    108108    plugs:
    109109      - home     
    110110      - pulseaudio
    111111      - desktop
    112       - desktop-legacy
     112      #- desktop-legacy
    113113      - x11
    114114 
Note: See TracChangeset for help on using the changeset viewer.