Warning, /games/amor/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 name: amor
0002 confinement: strict
0003 grade: stable
0004 base: core22
0005 version: git
0006 summary: A fun app that bounces on top of the current window.
0007 description: Amusing Misuse of Resources animation that sits on top of the current window.
0008 icon: $CRAFT_PROJECT_DIR/snap/gui/logo.png
0009 apps:
0010     amor:
0011         common-id: org.kde.amor.desktop
0012         command: usr/bin/amor
0013         plugs:
0014         - desktop
0015         - desktop-legacy
0016         - opengl
0017         - wayland
0018         - x11
0019         - audio-playback
0020         - unity7
0021         command-chain:
0022         - snap/command-chain/desktop-launch
0023 assumes:
0024 - snapd2.55.3
0025 compression: lzo
0026 plugs:
0027     desktop:
0028         mount-host-font-cache: false
0029     icon-themes:
0030         interface: content
0031         target: $SNAP/data-dir/icons
0032         default-provider: gtk-common-themes
0033     sound-themes:
0034         interface: content
0035         target: $SNAP/data-dir/sounds
0036         default-provider: gtk-common-themes
0037     kf5-5-108-qt-5-15-10-core22:
0038         content: kf5-5-108-qt-5-15-10-core22-all
0039         interface: content
0040         default-provider: kf5-5-108-qt-5-15-10-core22
0041         target: $SNAP/kf5
0042 environment:
0043     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0044     QTWEBENGINEPROCESS_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/libexec/QtWebEngineProcess"
0045     QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/kf5"
0046 hooks:
0047     configure:
0048         plugs:
0049         - desktop
0050         command-chain:
0051         - snap/command-chain/hooks-configure-desktop
0052 layout:
0053     /usr/share/X11:
0054         symlink: $SNAP/kf5/usr/share/X11
0055     /usr/share/qt5:
0056         bind: $SNAP/kf5/usr/share/qt5
0057 slots:
0058     session-dbus-interface:
0059         interface: dbus
0060         name: org.kde.amor
0061         bus: session
0062 package-repositories:
0063 -   type: apt
0064     components:
0065     - main
0066     suites:
0067     - jammy
0068     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0069     url: http://origin.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-108-qt-5-15-10-core22
0078         build-snaps:
0079         - kf5-5-108-qt-5-15-10-core22-sdk
0080         build-environment:
0081         - &id001
0082             PATH: /snap/kf5-5-108-qt-5-15-10-core22-sdk/current/usr/bin${PATH:+:$PATH}
0083         - &id002
0084             XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-108-qt-5-15-10-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-108-qt-5-15-10-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-108-qt-5-15-10-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0089     amor:
0090         after:
0091         - kde-neon
0092         source: https://invent.kde.org/games/amor.git
0093         plugin: cmake
0094         build-packages:
0095         - cmake
0096         - libkf5doctools-dev
0097         cmake-parameters:
0098         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0099         - -DCMAKE_INSTALL_PREFIX=/usr
0100         - -DCMAKE_BUILD_TYPE=Release
0101         - -DENABLE_TESTING=OFF
0102         - -DBUILD_TESTING=OFF
0103         - -DKDE_SKIP_TEST_SETTINGS=ON
0104         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-108-qt-5-15-10-core22-sdk/current"
0105         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0106         prime:
0107         - "-usr/lib/*/cmake/*"
0108         - "-usr/include/*"
0109         - "-usr/share/ECM/*"
0110         - "-usr/share/doc/*"
0111         - "-usr/share/man/*"
0112         - "-usr/share/icons/breeze-dark*"
0113         - "-usr/bin/X11"
0114         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0115         - "-usr/lib/aspell/*"
0116         - "-usr/share/lintain"
0117         build-environment: &id005
0118         - *id001
0119         - *id002
0120         - *id003
0121         - *id004
0122     cleanup:
0123         after:
0124         - kde-neon
0125         - amor
0126         plugin: nil
0127         override-prime:  |
0128             set -eux
0129             # # Unused libraries found by linter