Warning, /graphics/arianna/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
0002 #
0003 # SPDX-License-Identifier: CC0-1.0
0004 ---
0005 name: arianna
0006 adopt-info: arianna
0007 confinement: strict
0008 grade: stable
0009 base: core22
0010 apps:
0011     arianna:
0012         common-id: org.kde.arianna
0013         desktop: usr/share/applications/org.kde.arianna.desktop
0014         command: usr/bin/arianna
0015         plugs:
0016         - home
0017         - desktop
0018         - desktop-legacy
0019         - opengl
0020         - wayland
0021         - x11
0022         - audio-playback
0023         - unity7
0024         - browser-support
0025         - network
0026         - network-bind
0027         - cups
0028         - udisks2
0029         - mount-observe
0030         command-chain:
0031         - snap/command-chain/desktop-launch
0032 assumes:
0033 - snapd2.58.3
0034 compression: lzo
0035 plugs:
0036     desktop:
0037         mount-host-font-cache: false
0038     icon-themes:
0039         interface: content
0040         target: $SNAP/data-dir/icons
0041         default-provider: gtk-common-themes
0042     sound-themes:
0043         interface: content
0044         target: $SNAP/data-dir/sounds
0045         default-provider: gtk-common-themes
0046     kf5-5-111-qt-5-15-11-core22:
0047         content: kf5-5-111-qt-5-15-11-core22-all
0048         interface: content
0049         default-provider: kf5-5-111-qt-5-15-11-core22
0050         target: $SNAP/kf5
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     QTWEBENGINEPROCESS_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/libexec/QtWebEngineProcess"
0059     QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/kf5"
0060     QT_QUICK_CONTROLS_STYLE: org.kde.desktop
0061     BALOO_DB_PATH: $SNAP/.local/share/baloo
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     /usr/share/qt5:
0072         bind: $SNAP/kf5/usr/share/qt5
0073 slots:
0074     session-dbus-interface:
0075         interface: dbus
0076         name: org.kde.arianna
0077         bus: session
0078 package-repositories:
0079 -   type: apt
0080     components:
0081     - main
0082     suites:
0083     - jammy
0084     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0085     url: http://origin.archive.neon.kde.org/user
0086     key-server: keyserver.ubuntu.com
0087 parts:
0088     kde-neon:
0089         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0090         source-type: local
0091         plugin: make
0092         make-parameters:
0093         - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
0094         build-snaps:
0095         - kf5-5-111-qt-5-15-11-core22-sdk
0096         build-environment:
0097         - &id001
0098             PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0099         - &id002
0100             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}
0101         - &id003
0102             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}
0103         - &id004
0104             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0105     arianna:
0106         after:
0107         - kde-neon
0108         parse-info:
0109         - usr/share/metainfo/org.kde.arianna.appdata.xml
0110         source: .
0111         source-type: local
0112         plugin: cmake
0113         build-packages:
0114         - kirigami-addons-dev
0115         - kquickcharts-dev
0116         - libkf5qqc2desktopstyle-dev
0117         - pkg-config
0118         stage-packages:
0119         - qml-module-org-kde-qqc2desktopstyle
0120         - qml-module-org-kde-quickcharts
0121         - qml-module-org-kde-kirigamiaddons
0122         - qml-module-qtwebchannel
0123         - baloo-kf5
0124         stage-snaps:
0125         - khelpcenter
0126         cmake-parameters:
0127         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0128         - -DCMAKE_INSTALL_PREFIX=/usr
0129         - -DCMAKE_BUILD_TYPE=Release
0130         - -DENABLE_TESTING=OFF
0131         - -DBUILD_TESTING=OFF
0132         - -DKDE_SKIP_TEST_SETTINGS=ON
0133         - "-DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current\\;$CRAFT_STAGE\\;/usr"
0134         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/"
0135         prime:
0136         - "-usr/lib/*/cmake/*"
0137         - "-usr/include/*"
0138         - "-usr/share/ECM/*"
0139         - "-usr/share/man/*"
0140         - "-usr/share/icons/breeze-dark*"
0141         - "-usr/bin/X11"
0142         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET_BUILD_FOR/6.0.0"
0143         - "-usr/lib/aspell/*"
0144         - "-usr/share/lintian"
0145         build-environment: &id005
0146         - *id001
0147         - *id002
0148         - *id003
0149         - *id004
0150     cleanup:
0151         after:
0152         - kde-neon
0153         - arianna
0154         plugin: nil
0155         override-prime:  |
0156             set -eux
0157             # # Unused libraries found by linter