Warning, /utilities/keurocalc/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 #trigger rebuild
0002 ---
0003 name: keurocalc
0004 confinement: strict
0005 grade: stable
0006 base: core22
0007 adopt-info: keurocalc
0008 apps:
0009     keurocalc:
0010         # extensions:
0011         # - kde-neon
0012         common-id: org.kde.keurocalc
0013         desktop: usr/share/applications/org.kde.keurocalc.desktop
0014         command: usr/bin/keurocalc
0015         plugs:
0016         - home
0017         - desktop
0018         - desktop-legacy
0019         - opengl
0020         - wayland
0021         - x11
0022         - audio-playback
0023         - unity7
0024         - network
0025         - network-bind
0026         command-chain:
0027         - snap/command-chain/desktop-launch
0028 assumes:
0029 - snapd2.58.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-110-qt-5-15-11-core22:
0043         content: kf5-5-110-qt-5-15-11-core22-all
0044         interface: content
0045         default-provider: kf5-5-110-qt-5-15-11-core22
0046         target: $SNAP/kf5
0047 environment:
0048     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0049     GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0050     GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0051     GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
0052 hooks:
0053     configure:
0054         plugs:
0055         - desktop
0056         command-chain:
0057         - snap/command-chain/hooks-configure-desktop
0058 layout:
0059     /usr/share/X11:
0060         symlink: $SNAP/kf5/usr/share/X11
0061     "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
0062         bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
0063     "/usr/share/alsa":
0064         bind: "$SNAP/usr/share/alsa"
0065 package-repositories:
0066 -   type: apt
0067     components:
0068     - main
0069     suites:
0070     - jammy
0071     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0072     url: http://archive.neon.kde.org/user
0073     key-server: keyserver.ubuntu.com
0074 parts:
0075     kde-neon:
0076         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0077         source-type: local
0078         plugin: make
0079         make-parameters:
0080         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0081         build-snaps:
0082         - kf5-5-110-qt-5-15-11-core22-sdk
0083         build-environment:
0084         - &id001
0085             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0086         - &id002
0087             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}
0088         - &id003
0089             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}
0090         - &id004
0091             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0092     keurocalc:
0093         parse-info:
0094         - usr/share/metainfo/org.kde.keurocalc.appdata.xml
0095         plugin: cmake
0096         build-packages:
0097         - libkf5doctools-dev
0098         source: .
0099         source-type: local
0100         cmake-parameters:
0101         - "-DCMAKE_INSTALL_PREFIX=/usr"
0102         - "-DCMAKE_BUILD_TYPE=Release"
0103         - "-DENABLE_TESTING=OFF"
0104         - "-DBUILD_TESTING=OFF"
0105         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0106         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0107         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0108         prime:
0109         - "-usr/lib/*/cmake/*"
0110         - "-usr/include/*"
0111         - "-usr/share/ECM/*"
0112         - "-usr/share/doc/*"
0113         - "-usr/share/man/*"
0114         - "-usr/share/icons/breeze-dark*"
0115         - "-usr/bin/X11"
0116         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0117         - "-usr/lib/aspell/*"
0118         - "-usr/share/lintian"
0119         build-environment: &id005
0120         - *id001
0121         - *id002
0122         - *id003
0123         - *id004
0124     cleanup:
0125         after:
0126         - kde-neon
0127         - keurocalc
0128         plugin: nil
0129         override-prime:  |
0130             set -eux
0131             # # Unused libraries found by linter