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

0001 # Trigger build 1
0002 ---
0003 name: isoimagewriter
0004 base: core22
0005 adopt-info: isoimagewriter
0006 grade: stable
0007 confinement: strict
0008 apps:
0009     isoimagewriter:
0010         # extensions:
0011         # - kde-neon
0012         command: usr/bin/isoimagewriter
0013         desktop: usr/share/applications/org.kde.isoimagewriter.desktop
0014         common-id: org.kde.isoimagewriter
0015         plugs:
0016         - home
0017         - raw-usb
0018         - desktop
0019         - desktop-legacy
0020         - opengl
0021         - wayland
0022         - x11
0023         - audio-playback
0024         - unity7
0025         - network
0026         - network-bind
0027         - udisks2
0028         - optical-drive
0029         - gpg-keys
0030         command-chain:
0031         - snap/command-chain/desktop-launch
0032 assumes:
0033 - snapd2.58.3
0034 compression: lzo
0035 plugs:
0036     desktop:
0037         mount-host-font-cache: false
0038     icon-themes:
0039         interface: content
0040         target: $SNAP/data-dir/icons
0041         default-provider: gtk-common-themes
0042     sound-themes:
0043         interface: content
0044         target: $SNAP/data-dir/sounds
0045         default-provider: gtk-common-themes
0046     kf5-5-110-qt-5-15-11-core22:
0047         content: kf5-5-110-qt-5-15-11-core22-all
0048         interface: content
0049         default-provider: kf5-5-110-qt-5-15-11-core22
0050         target: $SNAP/kf5
0051 environment:
0052     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0053     SNAP_SAVE_DATA: $SNAP_USER_DATA
0054 hooks:
0055     configure:
0056         plugs:
0057         - desktop
0058         command-chain:
0059         - snap/command-chain/hooks-configure-desktop
0060 layout:
0061     /usr/share/X11:
0062         symlink: $SNAP/kf5/usr/share/X11
0063 slots:
0064     session-dbus-interface:
0065         interface: dbus
0066         name: org.kde.isoimagewriter
0067         bus: session
0068 package-repositories:
0069 -   type: apt
0070     components:
0071     - main
0072     suites:
0073     - jammy
0074     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0075     url: http://origin.archive.neon.kde.org/user
0076     key-server: keyserver.ubuntu.com
0077 parts:
0078     kde-neon:
0079         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0080         source-type: local
0081         plugin: make
0082         make-parameters:
0083         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0084         build-snaps:
0085         - kf5-5-110-qt-5-15-11-core22-sdk
0086         build-environment:
0087         - &id001
0088             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0089         - &id002
0090             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}
0091         - &id003
0092             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}
0093         - &id004
0094             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0095     isoimagewriter:
0096         after:
0097         - kde-neon
0098         source: .
0099         source-type: local
0100         plugin: cmake
0101         build-packages:
0102         - cmake
0103         - libgpgme-dev
0104         - libgpgmepp-dev
0105         - libgpg-error-dev
0106         stage-packages:
0107         - libgpgme11
0108         - libgpgmepp6
0109         - libqgpgme7
0110         - gpg
0111         cmake-parameters:
0112         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0113         - "-DCMAKE_INSTALL_PREFIX=/usr"
0114         - "-DCMAKE_BUILD_TYPE=Release"
0115         - "-DENABLE_TESTING=OFF"
0116         - "-DBUILD_TESTING=OFF"
0117         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0118         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0119         - "-DUSE_KAUTH=off"
0120         parse-info:
0121         - usr/share/metainfo/org.kde.isoimagewriter.appdata.xml
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         build-environment: &id005
0134         - *id001
0135         - *id002
0136         - *id003
0137         - *id004
0138     # cleanup:
0139     #     after:
0140     #     - isoimagewriter
0141     #     plugin: nil
0142     #     build-snaps:
0143     #     - kde-frameworks-5-99-qt-5-15-7-core20
0144     #     override-prime: |
0145     #         set -eux
0146     #         for snap in "kde-frameworks-5-99-qt-5-15-7-core20"; do  # List all content-snaps you're using here
0147     #             cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" "$SNAPCRAFT_PRIME/usr/{}" \;
0148     #         done
0149     #         find $SNAPCRAFT_PRIME/usr/share/doc/ -type f -not -name 'copyright' -delete
0150     #         find $SNAPCRAFT_PRIME/usr/share -type d -empty -delete