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

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