Warning, /office/kmymoney/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 ---
0002 name: kmymoney
0003 adopt-info: kmymoney
0004 confinement: strict
0005 grade: stable
0006 base: core22
0007 apps:
0008     kmymoney:
0009         # extensions:
0010         # - kde-neon
0011         command: usr/bin/kmymoney
0012         common-id: org.kde.kmymoney.desktop
0013         desktop: usr/share/applications/org.kde.kmymoney.desktop
0014         plugs:
0015         - network-manager
0016         - audio-playback
0017         - home
0018         - desktop
0019         - desktop-legacy
0020         - opengl
0021         - wayland
0022         - x11
0023         - unity7
0024         - network
0025         - network-bind
0026         - cups
0027         command-chain:
0028         - snap/command-chain/desktop-launch
0029 assumes:
0030 - snapd2.55.3
0031 compression: lzo
0032 plugs:
0033     desktop:
0034         mount-host-font-cache: false
0035     icon-themes:
0036         interface: content
0037         target: $SNAP/data-dir/icons
0038         default-provider: gtk-common-themes
0039     sound-themes:
0040         interface: content
0041         target: $SNAP/data-dir/sounds
0042         default-provider: gtk-common-themes
0043     kf5-5-111-qt-5-15-11-core22:
0044         content: kf5-5-111-qt-5-15-11-core22-all
0045         interface: content
0046         default-provider: kf5-5-111-qt-5-15-11-core22
0047         target: $SNAP/kf5
0048     foo-install-cups:
0049         interface: content
0050         content: foo
0051         default-provider: cups
0052         target: $SNAP_DATA/foo
0053 environment:
0054     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0055     GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0056     GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0057     GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
0058     QTWEBENGINEPROCESS_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/libexec/QtWebEngineProcess"
0059 hooks:
0060     configure:
0061         plugs:
0062         - desktop
0063         command-chain:
0064         - snap/command-chain/hooks-configure-desktop
0065 layout:
0066     /usr/share/X11:
0067         symlink: $SNAP/kf5/usr/share/X11
0068     "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
0069         bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
0070     "/usr/share/alsa":
0071         bind: "$SNAP/usr/share/alsa"
0072     /usr/share/qt5:
0073         bind: $SNAP/kf5/usr/share/qt5
0074 slots:
0075     session-dbus-interface:
0076         interface: dbus
0077         name: org.kde.kmymoney
0078         bus: session
0079 package-repositories:
0080 -   type: apt
0081     components:
0082     - main
0083     suites:
0084     - jammy
0085     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0086     url: http://origin.archive.neon.kde.org/user
0087     key-server: keyserver.ubuntu.com
0088 parts:
0089     kde-neon:
0090         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0091         source-type: local
0092         plugin: make
0093         make-parameters:
0094         - PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
0095         build-snaps:
0096         - kf5-5-111-qt-5-15-11-core22-sdk
0097         build-environment:
0098         - &id001
0099             PATH: /snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0100         - &id002
0101             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}
0102         - &id003
0103             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}
0104         - &id004
0105             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0106     kmymoney:
0107         after:
0108         - kde-neon
0109         parse-info:
0110         - usr/share/metainfo/org.kde.kmymoney.appdata.xml
0111         plugin: cmake
0112         build-packages:
0113         - libalkimia5-dev
0114         - libaqbanking-dev
0115         - libgmp-dev
0116         - libgpg-error-dev
0117         - libgpgme-dev
0118         - libgpgmepp-dev
0119         - libgwengui-qt5-dev
0120         - libgwenhywfar-core-dev
0121         - libical-dev
0122         - libkchart-dev
0123         - libkf5akonadi-dev
0124         - libkf5contacts-dev
0125         - libkf5holidays-dev
0126         - libkf5identitymanagement-dev
0127         - libkf5pimtextedit-dev
0128         - libkf5ktextaddons-dev
0129         - libofx-dev
0130         - libqt5svg5-dev
0131         - libsqlite3-dev
0132         - libsqlcipher-dev
0133         - python3-dev
0134         - qtbase5-private-dev
0135         - qtdeclarative5-dev
0136         - qtkeychain-qt5-dev
0137         - libkf5doctools-dev
0138         stage-packages:
0139         - libalkimia5-8
0140         - libaqbanking44
0141         - libgmp10
0142         - libgpg-error0
0143         - libgpgme11
0144         - libgpgmepp6
0145         - libgwengui-qt5-79
0146         - libgwenhywfar79
0147         - libical3
0148         - libkchart2
0149         - libkf5akonadicore5
0150         - libkf5akonadiprivate5
0151         - libkf5contacts5
0152         - libkf5holidays5
0153         - libkf5identitymanagement5
0154         - libkf5pimtextedit5
0155         - ktextaddons
0156         - libofx7
0157         - libqt5svg5
0158         - libsqlite3-0
0159         - libsqlcipher0
0160         - python3
0161         - libpython3.10
0162         - libqt5keychain1
0163         - libsecret-1-0
0164         source: https://invent.kde.org/office/kmymoney.git
0165         cmake-parameters:
0166         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0167         - "-DCMAKE_INSTALL_PREFIX=/usr"
0168         - "-DCMAKE_BUILD_TYPE=Release"
0169         - "-DENABLE_TESTING=OFF"
0170         - "-DBUILD_TESTING=OFF"
0171         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0172         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-111-qt-5-15-11-core22-sdk/current"
0173         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0174         prime:
0175         - "-usr/lib/*/cmake/*"
0176         - "-usr/include/*"
0177         - "-usr/share/ECM/*"
0178         - "-usr/share/doc/*"
0179         - "-usr/share/man/*"
0180         - "-usr/share/icons/breeze-dark*"
0181         - "-usr/bin/X11"
0182         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0183         - "-usr/lib/aspell/*"
0184         - "-usr/share/lintian"
0185         build-environment: &id005
0186         - *id001
0187         - *id002
0188         - *id003
0189         - *id004
0190     cleanup:
0191         after:
0192         - kde-neon
0193         - kmymoney
0194         plugin: nil
0195         override-prime:  |
0196             set -eux
0197             # find $CRAFT_PRIME/usr/share/doc/ -type f -not -name 'copyright' -delete
0198             # find $CRAFT_PRIME/usr/share -type d -empty -delete | /bin/true
0199             # # Unused libraries found by linter