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

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