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

0001 
0002 # SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
0003 #
0004 # SPDX-License-Identifier: CC0-1.0
0005 ---
0006 name: itinerary
0007 confinement: strict
0008 grade: stable
0009 base: core22
0010 adopt-info: itinerary
0011 apps:
0012     itinerary:
0013         # extensions:
0014         # - kde-neon
0015         common-id: org.kde.itinerary
0016         desktop: usr/share/applications/org.kde.itinerary.desktop
0017         command: usr/bin/itinerary
0018         plugs:
0019         - home
0020         - desktop
0021         - desktop-legacy
0022         - opengl
0023         - wayland
0024         - x11
0025         - audio-playback
0026         - unity7
0027         - network
0028         - network-bind
0029         - cups
0030         - network-manager
0031         - password-manager-service
0032         command-chain:
0033         - snap/command-chain/desktop-launch
0034 assumes:
0035 - snapd2.55.3
0036 compression: lzo
0037 plugs:
0038     desktop:
0039         mount-host-font-cache: false
0040     icon-themes:
0041         interface: content
0042         target: $SNAP/data-dir/icons
0043         default-provider: gtk-common-themes
0044     sound-themes:
0045         interface: content
0046         target: $SNAP/data-dir/sounds
0047         default-provider: gtk-common-themes
0048     kf5-5-111-qt-5-15-11-core22:
0049         content: kf5-5-111-qt-5-15-11-core22-all
0050         interface: content
0051         default-provider: kf5-5-111-qt-5-15-11-core22
0052         target: $SNAP/kf5
0053     foo-install-cups:
0054         interface: content
0055         content: foo
0056         default-provider: cups
0057         target: $SNAP_DATA/foo
0058 environment:
0059     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0060     QT_QUICK_CONTROLS_STYLE: org.kde.desktop
0061     QML2_IMPORT_PATH: "$QML2_IMPORT_PATH:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml/org/kde/kirigami.2:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml"
0062 hooks:
0063     configure:
0064         plugs:
0065         - desktop
0066         command-chain:
0067         - snap/command-chain/hooks-configure-desktop
0068 layout:
0069     /usr/share/X11:
0070         symlink: $SNAP/kf5/usr/share/X11
0071 slots:
0072     session-dbus-interface:
0073         interface: dbus
0074         name: org.kde.itinerary
0075         bus: session
0076 package-repositories:
0077 -   type: apt
0078     components:
0079     - main
0080     suites:
0081     - jammy
0082     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0083     url: http://origin.archive.neon.kde.org/user
0084     key-server: keyserver.ubuntu.com
0085 parts:
0086     kde-neon:
0087         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0088         source-type: local
0089         plugin: make
0090         make-parameters:
0091         - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
0092         build-snaps:
0093         - kf5-5-111-qt-5-15-11-core22-sdk
0094         build-environment:
0095         - &id001
0096             PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0097         - &id002
0098             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}
0099         - &id003
0100             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}
0101         - &id004
0102             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0103     itinerary:
0104         after:
0105         - kde-neon
0106         parse-info:
0107         - usr/share/metainfo/org.kde.itinerary.appdata.xml
0108         plugin: cmake
0109         build-packages:
0110         - libkf5doctools-dev
0111         - kirigami-addons-dev
0112         - kosmindoormap-dev
0113         - libkf5calendarcore-dev
0114         - libkf5contacts-dev
0115         - libkf5holidays-dev
0116         - libkf5networkmanagerqt-dev
0117         - libkf5qqc2desktopstyle-dev
0118         - libkhealthcertificate-dev
0119         - libkpimitinerary-dev
0120         - libkpimpkpass-dev
0121         - libkpublictransport-dev
0122         - libquotient-dev
0123         - shared-mime-info
0124         - zlib1g-dev
0125         stage-packages:
0126         - kirigami-addons-data
0127         - qml-module-org-kde-kirigamiaddons
0128         - libkosmindoormap1
0129         - qml-module-org-kde-kosmindoormap
0130         - libkf5calendarcore5
0131         - libkf5contacts5
0132         - libkf5holidays5
0133         - libkf5networkmanagerqt6
0134         - qml-module-org-kde-qqc2desktopstyle
0135         - libkhealthcertificate1
0136         - qml-module-org-kde-khealthcertificate
0137         - libkpimitinerary5
0138         - libkpimpkpass5
0139         - libkpublictransport1
0140         - qml-module-org-kde-kpublictransport
0141         - libquotient0.6
0142         - shared-mime-info
0143         - zlib1g
0144         - qml-module-org-kde-solid
0145         - qml-module-org-kde-kirigami-addons-labs-mobileform
0146         - qml-module-org-kde-prison
0147         - qml-module-org-kde-kopeninghours
0148         - qml-module-org-kde-solid
0149         - libkf5solid-bin
0150         stage-snaps:
0151         - khelpcenter
0152         source: .
0153         source-type: local
0154         cmake-parameters:
0155         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0156         - "-DCMAKE_INSTALL_PREFIX=/usr"
0157         - "-DCMAKE_BUILD_TYPE=Release"
0158         - "-DENABLE_TESTING=OFF"
0159         - "-DBUILD_TESTING=OFF"
0160         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0161         - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current"
0162         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0163         build-environment: &id005
0164         - *id001
0165         - *id002
0166         - *id003
0167         - *id004
0168         prime:
0169         - "-usr/lib/*/cmake/*"
0170         - "-usr/include/*"
0171         - "-usr/share/ECM/*"
0172         - "-usr/share/man/*"
0173         - "-usr/share/icons/breeze-dark*"
0174         - "-usr/bin/X11"
0175         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0176         - "-usr/lib/aspell/*"
0177         - "-etc/alsa/conf.d/99-pulse.conf"