Changeset 125 for trunk


Ignore:
Timestamp:
Mar 16, 2022, 5:50:51 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Build snap package with Lazarus 2.2.0.
  • Fixed: Include all .pot and .po language files in snap package.
File:
1 edited

Legend:

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

    r113 r125  
    2424
    2525parts:
     26  lazarus:
     27    plugin: nil
     28    source: .
     29    source-type: local
     30    build-packages:
     31    - wget
     32    - libgtk2.0-dev
     33    override-build: |
     34      wget -nc https://deac-ams.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/lazarus-project_2.2.0-0_amd64.deb
     35      wget -nc https://netix.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/fpc-laz_3.2.2-210709_amd64.deb
     36      wget -nc https://netix.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.0/fpc-src_3.2.2-210709_amd64.deb
     37      apt install ./lazarus-project_2.2.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb
     38    prime: [-*]
    2639  vcard-studio:
    2740    plugin: nil
    2841    source: .
    2942    source-type: local
    30     build-packages:
    31     - fpc
    32     - lazarus
    33     - lcl
    34     - lcl-utils
    3543    override-build: |
    3644      snapcraftctl build
     
    3947      install -s -m 755 vCardStudio $SNAPCRAFT_PART_INSTALL/usr/bin/vCardStudio
    4048      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
    41       install -m 755 Languages/vCardStudio.pot $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
    42       install -m 755 Languages/vCardStudio.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
    43       install -m 755 Languages/UFormAbout.pot $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
    44       install -m 755 Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     49      install -m 755 Languages/*.pot $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
     50      install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
    4551      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
    4652      install -m 755 Images/Profile.png $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
     
    5056      install -m 755 Images/vCard\ Studio.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    5157    after:
     58    - lazarus
    5259    - desktop-gtk2
    5360    stage:
Note: See TracChangeset for help on using the changeset viewer.