Changeset 224 for trunk/Install/snap


Ignore:
Timestamp:
Jan 20, 2025, 12:41:50 AM (3 days ago)
Author:
chronos
Message:
  • Added: Flatpak packaging.
File:
1 edited

Legend:

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

    r217 r224  
    55description: |
    66  A tool for quick searching of acronym or abbreviation meanings.
    7  
     7
    88  **Features:**
    99  * Acronym database management
     
    1717  * Document check for acronyms occurrence, definitions and summary section
    1818confinement: strict
    19 base: core20
     19base: core24
    2020grade: stable
    2121icon: "Images/AcronymDecoder.png"
     
    3535      snapcraftctl build
    3636      lazbuild --build-mode=Release AcronymDecoder.lpi
    37       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
    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 644 Languages/AcronymDecoder.pot $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    41       install -m 644 Languages/AcronymDecoder.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    42       install -m 644 Packages/Common/Languages/UJobProgressView.pot $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    43       install -m 644 Packages/Common/Languages/UJobProgressView.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    44       install -m 644 Packages/Common/Languages/UFormAbout.pot $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    45       install -m 644 Packages/Common/Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
    46       install -d -m 755 $(ROOT)/usr/share/mime/packages
    47       install -m 644 Install/shared/acronym-decoder.xml $(ROOT)/usr/share/mime/packages
    48       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
    49       install -m 755 Install/shared/AcronymDecoder.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
    50       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    51       install -m 644 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    52       install -m 644 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-adp.png
    53       cp -r Examples $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder
     37      install -Dm755 AcronymDecoder -t $SNAPCRAFT_PART_INSTALL/usr/bin/AcronymDecoder
     38      install -Dm644 Languages/*.po -t $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     39      install -Dm644 Packages/Common/Languages/*.po -t $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     40      install -Dm644 Install/shared/acronym-decoder.xml -D $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     41      install -Dm644 Install/shared/AcronymDecoder.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications
     42      install -Dm644 Images/AcronymDecoder.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     43      install -Dm644 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-adp.png
     44      install -Dm644 Examples/*.adp -t $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Examples
    5445    after:
    5546    - desktop-gtk2
     
    120111    - ibus-gtk
    121112    - libibus-1.0-5
    122      
     113
    123114# Additional plugs to pick up the GTK theme and icons from the system
    124 plugs: 
     115plugs:
    125116  icon-themes:
    126117    interface: content
     
    143134  XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
    144135  GTK_PATH: $SNAP/lib/gtk-2.0
    145  
     136
    146137apps:
    147138  acronym-decoder:
Note: See TracChangeset for help on using the changeset viewer.