Warning, /pim/kaddressbook/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 ---
0002 name: kaddressbook
0003 confinement: strict
0004 grade: stable
0005 base: core22
0006 adopt-info: kaddressbook
0007 apps:
0008     kaddressbook:
0009         # extensions:
0010         # - kde-neon
0011         common-id: org.kde.kaddressbook
0012         desktop: usr/share/applications/org.kde.kaddressbook.desktop
0013         command: usr/bin/kaddressbook
0014         plugs:
0015         - home
0016         - desktop
0017         - desktop-legacy
0018         - opengl
0019         - wayland
0020         - x11
0021         - audio-playback
0022         - unity7
0023         - network
0024         - network-bind
0025         - akonadi-svc
0026         command-chain:
0027         - snap/command-chain/desktop-launch
0028 assumes:
0029 - snapd2.55.3
0030 compression: lzo
0031 plugs:
0032     desktop:
0033         mount-host-font-cache: false
0034     icon-themes:
0035         interface: content
0036         target: $SNAP/data-dir/icons
0037         default-provider: gtk-common-themes
0038     sound-themes:
0039         interface: content
0040         target: $SNAP/data-dir/sounds
0041         default-provider: gtk-common-themes
0042     kf5-5-111-qt-5-15-11-core22:
0043         content: kf5-5-111-qt-5-15-11-core22-all
0044         interface: content
0045         default-provider: kf5-5-111-qt-5-15-11-core22
0046         target: $SNAP/kf5
0047     akonadi-svc:
0048         bus: system
0049         interface: dbus
0050         name: org.freedesktop.Akonadi
0051     foo-install-cups:
0052         interface: content
0053         content: foo
0054         default-provider: cups
0055         target: $SNAP_DATA/foo
0056 environment:
0057     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0058 hooks:
0059     configure:
0060         plugs:
0061         - desktop
0062         command-chain:
0063         - snap/command-chain/hooks-configure-desktop
0064 layout:
0065     /usr/share/X11:
0066         symlink: $SNAP/kf5/usr/share/X11
0067 slots:
0068     session-dbus-interface:
0069         interface: dbus
0070         name: org.kde.kaddressbook
0071         bus: session
0072 package-repositories:
0073 -   type: apt
0074     components:
0075     - main
0076     suites:
0077     - jammy
0078     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0079     url: http://origin.archive.neon.kde.org/user
0080     key-server: keyserver.ubuntu.com
0081 parts:
0082     kde-neon:
0083         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0084         source-type: local
0085         plugin: make
0086         make-parameters:
0087         - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
0088         build-snaps:
0089         - kf5-5-111-qt-5-15-11-core22-sdk
0090         build-environment:
0091         - &id001
0092             PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0093         - &id002
0094             XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
0095         - &id003
0096             XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
0097         - &id004
0098             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0099     kaddressbook:
0100         after:
0101         - kde-neon
0102         parse-info:
0103         - usr/share/metainfo/org.kde.kaddressbook.appdata.xml
0104         plugin: cmake
0105         build-snaps:
0106         - akonadi/edge
0107         build-packages:
0108         - libkf5doctools-dev
0109         - libassuan-dev
0110         - libboost-dev
0111         - libboost-graph-dev
0112         - libgpgme11-dev
0113         - libgpgmepp-dev
0114         - libgrantlee5-dev
0115         - libkf5akonadi-dev
0116         - libkf5akonadicalendar-dev
0117         - libkf5akonadicontact-dev
0118         - libkf5akonadimime-dev
0119         - libkf5akonadinotes-dev
0120         - libkf5akonadisearch-dev
0121         - libkf5akonadiserver-dev
0122         - libkf5calendarcore-dev
0123         - libkf5calendarsupport-dev
0124         - libkf5calendarutils-dev
0125         - libkf5contacteditor-dev
0126         - libkf5contacts-dev
0127         - libkf5grantleetheme-dev
0128         - libkf5gravatar-dev
0129         - libkf5holidays-dev
0130         - libkf5identitymanagement-dev
0131         - libkf5imap-dev
0132         - libkf5incidenceeditor-dev
0133         - libkf5kontactinterface-dev
0134         - libkf5ksieve-dev
0135         - libkf5ktextaddons-dev
0136         - libkf5ldap-dev
0137         - libkf5libkdepim-dev
0138         - libkf5libkleo-dev
0139         - libkf5mailcommon-dev
0140         - libkf5mailimporter-dev
0141         - libkf5mailtransport-dev
0142         - libkf5mbox-dev
0143         - libkf5messagecomposer-dev
0144         - libkf5messagecore-dev
0145         - libkf5messagelist-dev
0146         - libkf5messageviewer-dev
0147         - libkf5mime-dev
0148         - libkf5mimetreeparser-dev
0149         - libkf5pimcommon-dev
0150         - libkf5pimtextedit-dev
0151         - libkf5prison-dev
0152         - libkf5syndication-dev
0153         - libkf5tnef-dev
0154         - libkgantt-dev
0155         - libkpimgapi-dev
0156         - libx11-dev
0157         - pkg-config
0158         - libphonon4qt5-dev
0159         - shared-mime-info
0160         - xsltproc
0161         - zlib1g-dev
0162         stage-packages:
0163         - libboost-graph1.74.0
0164         - libgpgme11
0165         - libgpgmepp6
0166         - libkf5grantleetheme5
0167         - libkf5akonadicore5
0168         - libkf5akonadicalendar5
0169         - libkf5akonadicontact5
0170         - libkf5akonadimime5
0171         - libkf5akonadinotes5
0172         - libkf5akonadisearchpim5
0173         - libkf5calendarcore5
0174         - libkf5calendarsupport5
0175         - libkf5calendarutils5
0176         - libkf5contacteditor5
0177         - libkf5contacts5
0178         - libkf5doctools5
0179         - libkf5gravatar5
0180         - libkf5holidays5
0181         - libkf5identitymanagement5
0182         - libkf5imap5
0183         - libkf5incidenceeditor5
0184         - libkf5kontactinterface5
0185         - libkf5ksieve5
0186         - libkf5ldap5
0187         - libkf5libkdepim5
0188         - libkf5libkleo5
0189         - libkf5mailcommon5
0190         - libkf5mailimporter5
0191         - libkf5mailtransport5
0192         - libkf5mbox5
0193         - libkf5messagecomposer5
0194         - libkf5messagecore5
0195         - libkf5messagelist5
0196         - libkf5messageviewer5
0197         - libkf5mime5
0198         - libkf5mimetreeparser5
0199         - libkf5pimcommon5
0200         - libkf5pimtextedit5
0201         - libkf5prison5
0202         - libkf5syndication5
0203         - libkf5tnef5
0204         - libkgantt2
0205         - libkpimgapicore5
0206         - pkg-config
0207         - phonon4qt5
0208         - phonon4qt5-backend-gstreamer
0209         - shared-mime-info
0210         - xsltproc
0211         - zlib1g-dev
0212         - akonadi-server
0213         - sqlite
0214         - akonadi-backend-sqlite
0215         stage-snaps:
0216         - akonadi/edge
0217         source: .
0218         source-type: local
0219         cmake-parameters:
0220         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0221         - "-DCMAKE_INSTALL_PREFIX=/usr"
0222         - "-DCMAKE_BUILD_TYPE=Release"
0223         - "-DENABLE_TESTING=OFF"
0224         - "-DBUILD_TESTING=OFF"
0225         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0226         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current\\;/snap/akonadi/current"
0227         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0228         build-environment: &id005
0229         - *id001
0230         - *id002
0231         - *id003
0232         - *id004
0233         prime:
0234         - "-usr/lib/*/cmake/*"
0235         - "-usr/include/*"
0236         - "-usr/share/ECM/*"
0237         - "-usr/share/doc/*"
0238         - "-usr/share/man/*"
0239         - "-usr/share/icons/breeze-dark*"
0240         - "-usr/bin/X11"
0241         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0242         - "-usr/lib/aspell/*"
0243         - "-etc/alsa/conf.d/99-pulse.conf"
0244     cleanup:
0245         after:
0246         - kaddressbook
0247         plugin: nil
0248         override-prime: |
0249             set -eux
0250             #unused libs found by linter