Ignore:
Timestamp:
Jan 2, 2025, 4:08:26 PM (6 days ago)
Author:
chronos
Message:
  • Modified: Updated packaing files.
File:
1 edited

Legend:

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

    r314 r367  
    2727  * Allows to set grow rate as square root of cell power.
    2828  * Amount of inaccessible cells can be adjusted in New game dialog.
    29   * Player mode human or computer. 
     29  * Player mode human or computer.
    3030  * Graph window can be shown from menu which presents development of various statistic values during game turns.
    3131  * Load recent menu action to load recently opened/saved files.
     32
    3233confinement: strict
    33 base: core20
     34base: core24
    3435grade: stable
    3536icon: "Images/64x64/xtactics.png"
     
    4142    source: .
    4243    source-type: local
    43     build-packages: 
     44    build-packages:
    4445    - fpc
    4546    - lazarus
     
    5253      install -s -m 755 xtactics $SNAPCRAFT_PART_INSTALL/usr/bin/xtactics
    5354      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    54       install -m 644 Languages/xtactics.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    55       install -m 644 Languages/xtactics.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    56       install -m 644 Languages/lclstrconsts.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    57       install -m 644 Languages/lclstrconsts.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    58       install -m 644 Languages/UFormAbout.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    59       install -m 644 Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    60       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
    61       install -m 755 Install/snap/local/xtactics.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
    62       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
    63       install -m 755 Install/deb/xtactics.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     55      install -m 644 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     56      install -m 644 Packages/Common/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     57      install -m 644 Packages/CoolStreaming/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     58      install -m 655 Install/deb/xtactics.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications
     59      install -m 655 Install/deb/xtactics.xml -t $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
    6460      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    65       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    66       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
    67       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
     61      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     62      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
     63      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
    6864      cp -r Systems $SNAPCRAFT_PART_INSTALL/usr/share/xtactics
    6965      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Images
     
    7167    after:
    7268    - desktop-gtk2
     69    - lazarus
    7370    stage:
    7471    - etc
     
    111108    - libxrender1
    112109    - libglu1-mesa
     110
     111  lazarus:
     112    plugin: nil
     113    source: .
     114    source-type: local
     115    build-packages:
     116    - wget
     117    - libgtk2.0-dev
     118    override-build: |
     119      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/lazarus-project_3.6.0-0_amd64.deb
     120      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/fpc-laz_3.2.2-210709_amd64.deb
     121      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/fpc-src_3.2.2-210709_amd64.deb
     122      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.deb
     123    stage: [-*]
     124    prime: [-*]
     125
    113126  desktop-gtk2:
    114127    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
     
    121134    stage-packages:
    122135    - libxkbcommon0  # XKB_CONFIG_ROOT
    123     - ttf-ubuntu-font-family
     136    #- ttf-ubuntu-font-family
    124137    - dmz-cursor-theme
    125138    - light-themes
    126139    - adwaita-icon-theme
    127     - gnome-themes-standard
     140    #- gnome-themes-standard
    128141    - shared-mime-info
    129142    - libgtk2.0-0
     
    133146    - unity-gtk2-module
    134147    - locales-all
    135     - libappindicator1
     148    #- libappindicator1
    136149    - xdg-user-dirs
    137150    - ibus-gtk
    138151    - libibus-1.0-5
    139      
     152
    140153# Additional plugs to pick up the GTK theme and icons from the system
    141 plugs: 
     154plugs:
    142155  icon-themes:
    143156    interface: content
Note: See TracChangeset for help on using the changeset viewer.