Warning, /office/skrooge/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: skrooge
0006 adopt-info: skrooge
0007 confinement: strict
0008 grade: stable
0009 base: core22
0010 apps:
0011     skrooge:
0012         # extensions:
0013         # - kde-neon
0014         command: usr/bin/skrooge
0015         desktop: usr/share/applications/org.kde.skrooge.desktop
0016         common-id: org.kde.skrooge
0017         plugs:
0018         - network-manager
0019         - audio-playback
0020         - home
0021         - desktop
0022         - desktop-legacy
0023         - opengl
0024         - wayland
0025         - x11
0026         - unity7
0027         - network
0028         - network-bind
0029         - browser-support
0030         - cups
0031         command-chain:
0032         - snap/command-chain/desktop-launch
0033 assumes:
0034 - snapd2.58.3
0035 compression: lzo
0036 plugs:
0037     desktop:
0038         mount-host-font-cache: false
0039     icon-themes:
0040         interface: content
0041         target: $SNAP/data-dir/icons
0042         default-provider: gtk-common-themes
0043     sound-themes:
0044         interface: content
0045         target: $SNAP/data-dir/sounds
0046         default-provider: gtk-common-themes
0047     kf5-5-110-qt-5-15-11-core22:
0048         content: kf5-5-110-qt-5-15-11-core22-all
0049         interface: content
0050         default-provider: kf5-5-110-qt-5-15-11-core22
0051         target: $SNAP/kf5
0052     foo-install-cups:
0053         interface: content
0054         content: foo
0055         default-provider: cups
0056         target: $SNAP_DATA/foo
0057 environment:
0058     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0059     GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0060     GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0061     GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
0062     QTWEBENGINEPROCESS_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/libexec/QtWebEngineProcess"
0063     QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/kf5:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/plugins"
0064 hooks:
0065     configure:
0066         plugs:
0067         - desktop
0068         command-chain:
0069         - snap/command-chain/hooks-configure-desktop
0070 layout:
0071     /usr/share/X11:
0072         symlink: $SNAP/kf5/usr/share/X11
0073     "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
0074         bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
0075     "/usr/share/alsa":
0076         bind: "$SNAP/usr/share/alsa"
0077     /usr/share/qt5:
0078         bind: $SNAP/usr/share/qt5
0079 slots:
0080     session-dbus-interface:
0081         interface: dbus
0082         name: org.kde.skrooge
0083         bus: session
0084 package-repositories:
0085 -   type: apt
0086     components:
0087     - main
0088     suites:
0089     - jammy
0090     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0091     url: http://origin.archive.neon.kde.org/user
0092     key-server: keyserver.ubuntu.com
0093 parts:
0094     kde-neon:
0095         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0096         source-type: local
0097         plugin: make
0098         make-parameters:
0099         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0100         build-snaps:
0101         - kf5-5-110-qt-5-15-11-core22-sdk
0102         build-environment:
0103         - &id001
0104             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0105         - &id002
0106             XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
0107         - &id003
0108             XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
0109         - &id004
0110             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0111     skrooge:
0112         after:
0113         - kde-neon
0114         parse-info:
0115         - usr/share/metainfo/org.kde.skrooge.appdata.xml
0116         plugin: cmake
0117         build-packages:
0118         - libgrantlee5-dev
0119         - libkf5kdelibs4support-dev
0120         - libofx-dev
0121         - libqca-qt5-2-dev
0122         - libsqlcipher-dev
0123         - xsltproc
0124         - qtbase5-private-dev
0125         - qtwebengine5-dev
0126         stage-packages:
0127         - libgrantlee-templates5
0128         - libgrantlee-textdocument5
0129         - libkf5kdelibs4support5
0130         - libofx7
0131         - libqca-qt5-2
0132         - libsqlcipher0
0133         - freeglut3
0134         - libslang2
0135         - libkf5grantleetheme-plugins
0136         - qtwebengine5-dev
0137         source: .
0138         source-type: local
0139         cmake-parameters:
0140         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0141         - "-DCMAKE_INSTALL_PREFIX=/usr"
0142         - "-DCMAKE_BUILD_TYPE=Release"
0143         - "-DENABLE_TESTING=OFF"
0144         - "-DBUILD_TESTING=OFF"
0145         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0146         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0147         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0148         prime:
0149         - "-usr/lib/*/cmake/*"
0150         - "-usr/include/*"
0151         - "-usr/share/ECM/*"
0152         - "-usr/share/doc/*"
0153         - "-usr/share/man/*"
0154         - "-usr/share/icons/breeze-dark*"
0155         - "-usr/bin/X11"
0156         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0157         - "-usr/lib/aspell/*"
0158         - "-usr/share/lintian"
0159         build-environment: &id005
0160         - *id001
0161         - *id002
0162         - *id003
0163         - *id004
0164     cleanup:
0165         after:
0166         - kde-neon
0167         - skrooge
0168         plugin: nil
0169         override-prime:  |
0170             set -eux
0171             # # Unused libraries found by linter