Warning, /utilities/okteta/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: okteta
0006 confinement: strict
0007 grade: stable
0008 base: core22
0009 adopt-info: okteta
0010 apps:
0011     okteta:
0012         # extensions:
0013         # - kde-neon
0014         common-id: org.kde.okteta.desktop
0015         desktop: usr/share/applications/org.kde.okteta.desktop
0016         command: usr/bin/okteta
0017         plugs:
0018         - home
0019         - removable-media
0020         - desktop
0021         - desktop-legacy
0022         - opengl
0023         - wayland
0024         - x11
0025         - audio-playback
0026         - unity7
0027         - network
0028         - network-bind
0029         command-chain:
0030         - snap/command-chain/desktop-launch
0031 assumes:
0032 - snapd2.58.3
0033 compression: lzo
0034 plugs:
0035     desktop:
0036         mount-host-font-cache: false
0037     icon-themes:
0038         interface: content
0039         target: $SNAP/data-dir/icons
0040         default-provider: gtk-common-themes
0041     sound-themes:
0042         interface: content
0043         target: $SNAP/data-dir/sounds
0044         default-provider: gtk-common-themes
0045     kf5-5-110-qt-5-15-11-core22:
0046         content: kf5-5-110-qt-5-15-11-core22-all
0047         interface: content
0048         default-provider: kf5-5-110-qt-5-15-11-core22
0049         target: $SNAP/kf5
0050 environment:
0051     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
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 slots:
0062     session-dbus-interface:
0063         interface: dbus
0064         name: org.kde.okteta
0065         bus: session
0066 package-repositories:
0067 -   type: apt
0068     components:
0069     - main
0070     suites:
0071     - jammy
0072     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0073     url: http://origin.archive.neon.kde.org/user
0074     key-server: keyserver.ubuntu.com
0075 parts:
0076     kde-neon:
0077         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0078         source-type: local
0079         plugin: make
0080         make-parameters:
0081         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0082         build-snaps:
0083         - kf5-5-110-qt-5-15-11-core22-sdk
0084         build-environment:
0085         - &id001
0086             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0087         - &id002
0088             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}
0089         - &id003
0090             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}
0091         - &id004
0092             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0093     okteta:
0094         after:
0095         - kde-neon
0096         parse-info:
0097         - usr/share/metainfo/org.kde.okteta.appdata.xml
0098         plugin: cmake
0099         source: .
0100         source-type: local
0101         build-packages:
0102         - libkf5doctools-dev
0103         - libqca-qt5-2-dev
0104         - xauth
0105         - xvfb
0106         stage-packages:
0107         - libqca-qt5-2
0108         - konsole-kpart
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         build-environment: &id005
0118         - *id001
0119         - *id002
0120         - *id003
0121         - *id004
0122         prime:
0123         - "-usr/lib/*/cmake/*"
0124         - "-usr/include/*"
0125         - "-usr/share/ECM/*"
0126         - "-usr/share/doc/*"
0127         - "-usr/share/man/*"
0128         - "-usr/share/icons/breeze-dark*"
0129         - "-usr/bin/X11"
0130         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0131         - "-usr/lib/aspell/*"
0132         - "-usr/share/lintian"
0133     cleanup:
0134         after:
0135         - kde-neon
0136         - okteta
0137         plugin: nil
0138         override-prime:  |
0139             set -eux
0140             # # Unused libraries found by linter