Changeset 215 for trunk/Install


Ignore:
Timestamp:
Jan 21, 2022, 9:54:27 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Build under Lazarus 2.2.0.
  • Modified: Updated Common package.
File:
1 edited

Legend:

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

    r214 r215  
    55description: |
    66  A tool for quick searching of acronym or abbreviation meanings.
    7 
    8   Features:
     7 
     8  **Features:**
    99  * Acronym database management
    1010  * Quick searching by acronym name, meaning or category. Exact or partial match.
     
    2727    source: .
    2828    source-type: local
    29     build-packages: 
     29    build-packages:
    3030    - fpc
    3131    - lazarus
     
    3535      snapcraftctl build
    3636      lazbuild --build-mode=Release AcronymDecoder.lpi
    37       ROOT=/root/parts/acronym-decoder/install
    3837      install -d -m 755 $ROOT/usr/bin
    39       install -s -m 755 AcronymDecoder $ROOT/usr/bin/AcronymDecoder
    40       install -d -m 755 $ROOT/usr/share/AcronymDecoder/Languages
    41       install -m 755 Languages/AcronymDecoder.po $ROOT/usr/share/AcronymDecoder/Languages
    42       install -m 755 Languages/AcronymDecoder.cs.po $ROOT/usr/share/AcronymDecoder/Languages
    43       install -m 755 Packages/Common/Languages/UJobProgressView.po $ROOT/usr/share/AcronymDecoder/Languages
    44       install -m 755 Packages/Common/Languages/UJobProgressView.cs.po $ROOT/usr/share/AcronymDecoder/Languages
    45       install -m 755 Packages/Common/Languages/UFormAbout.po $ROOT/usr/share/AcronymDecoder/Languages
    46       install -m 755 Packages/Common/Languages/UFormAbout.cs.po $ROOT/usr/share/AcronymDecoder/Languages
    47       install -d -m 755 $ROOT/usr/share/applications
    48       install -m 755 Install/snap/local/AcronymDecoder.desktop $ROOT/usr/share/applications
    49       install -d -m 755 $ROOT/usr/share/pixmaps
    50       install -m 755 Images/AcronymDecoder.png $ROOT/usr/share/pixmaps
    51       cp -r Examples $ROOT/usr/share/AcronymDecoder
     38      install -s -m 755 AcronymDecoder $SNAPCRAFT_PART_INSTALL/usr/bin/AcronymDecoder
     39      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     40      install -m 755 Languages/AcronymDecoder.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     41      install -m 755 Languages/AcronymDecoder.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     42      install -m 755 Packages/Common/Languages/UJobProgressView.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     43      install -m 755 Packages/Common/Languages/UJobProgressView.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     44      install -m 755 Packages/Common/Languages/UFormAbout.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     45      install -m 755 Packages/Common/Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     46      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
     47      install -m 755 Install/snap/local/AcronymDecoder.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
     48      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     49      install -m 755 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     50      cp -r Examples $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder
    5251    stage:
    53       - etc
    54       - usr
    55       - usr/bin
    56       - usr/share/AcronymDecoder
    57       - usr/share/applications/AcronymDecoder.desktop
    58       - usr/share/pixmaps
     52    - etc
     53    - usr
     54    - usr/bin
     55    - usr/share/AcronymDecoder
     56    - usr/share/applications/AcronymDecoder.desktop
     57    - usr/share/pixmaps
    5958    stage-packages:
    60       - libatk1.0-0
    61       - libcairo2
    62       - libdatrie1
    63       - libfontconfig1
    64       - libfreetype6
    65       - libfribidi0
    66       - libgdk-pixbuf2.0-0
    67       - libgraphite2-3
    68       - libgtk2.0-0
    69       - libharfbuzz0b
    70       - libpango-1.0-0
    71       - libpangocairo-1.0-0
    72       - libpangoft2-1.0-0
    73       - libpixman-1-0
    74       - libpng16-16
    75       - libthai0
    76       - libx11-6
    77       - libxau6
    78       - libxcb-render0
    79       - libxcb-shm0
    80       - libxcb1
    81       - libxcomposite1
    82       - libxcursor1
    83       - libxdamage1
    84       - libxdmcp6
    85       - libxext6
    86       - libxfixes3
    87       - libxi6
    88       - libxinerama1
    89       - libxrandr2
    90       - libxrender1
     59    - libatk1.0-0
     60    - libcairo2
     61    - libdatrie1
     62    - libfontconfig1
     63    - libfreetype6
     64    - libfribidi0
     65    - libgdk-pixbuf2.0-0
     66    - libgraphite2-3
     67    - libgtk2.0-0
     68    - libharfbuzz0b
     69    - libpango-1.0-0
     70    - libpangocairo-1.0-0
     71    - libpangoft2-1.0-0
     72    - libpixman-1-0
     73    - libpng16-16
     74    - libthai0
     75    - libx11-6
     76    - libxau6
     77    - libxcb-render0
     78    - libxcb-shm0
     79    - libxcb1
     80    - libxcomposite1
     81    - libxcursor1
     82    - libxdamage1
     83    - libxdmcp6
     84    - libxext6
     85    - libxfixes3
     86    - libxi6
     87    - libxinerama1
     88    - libxrandr2
     89    - libxrender1
    9190
     91  desktop-gtk2:
     92    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
     93    source-subdir: gtk
     94    plugin: make
     95    make-parameters: ["FLAVOR=gtk2"]
     96    build-packages:
     97    - build-essential
     98    - libgtk2.0-dev
     99    stage-packages:
     100    - libxkbcommon0  # XKB_CONFIG_ROOT
     101    - ttf-ubuntu-font-family
     102    - dmz-cursor-theme
     103    - light-themes
     104    - adwaita-icon-theme
     105    - gnome-themes-standard
     106    - shared-mime-info
     107    - libgtk2.0-0
     108    - libgdk-pixbuf2.0-0
     109    - libglib2.0-bin
     110    - libgtk2.0-bin
     111    - unity-gtk2-module
     112    - locales-all
     113    - libappindicator1
     114    - xdg-user-dirs
     115    - ibus-gtk
     116    - libibus-1.0-5
     117     
     118# Additional plugs to pick up the GTK theme and icons from the system
     119plugs:
     120  icon-themes:
     121    interface: content
     122    target: $SNAP/data-dir/icons
     123    default-provider: gtk-common-themes
     124  sound-themes:
     125    interface: content
     126    target: $SNAP/data-dir/sounds
     127    default-provider: gtk-common-themes
     128  gtk-2-engines:
     129    interface: content
     130    target: $SNAP/lib/gtk-2.0
     131    default-provider: gtk2-common-themes:gtk-2-engines
     132  gtk-2-themes:
     133    interface: content
     134    target: $SNAP/usr/share/themes
     135    default-provider: gtk2-common-themes:gtk-2-themes
     136
     137environment:
     138  XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
     139  GTK_PATH: $SNAP/lib/gtk-2.0
     140 
    92141apps:
    93142  acronym-decoder:
    94143    command: usr/bin/AcronymDecoder
     144    command-chain:
     145    - bin/desktop-launch
    95146    desktop: usr/share/applications/AcronymDecoder.desktop
    96147    plugs:
    97       - desktop
    98       - x11
     148    - desktop
     149    - x11
     150    - home
    99151
    100152layout:
Note: See TracChangeset for help on using the changeset viewer.