Warning, /education/gcompris/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 ---
0002 name: gcompris
0003 confinement: strict
0004 grade: stable
0005 base: core22
0006 adopt-info: gcompris
0007 apps:
0008     gcompris:
0009         # extensions:
0010         # - kde-neon
0011         common-id: org.kde.gcompris.desktop
0012         desktop: usr/share/applications/org.kde.gcompris.desktop
0013         command: usr/bin/gcompris-qt
0014         plugs:
0015         - desktop
0016         - desktop-legacy
0017         - opengl
0018         - wayland
0019         - x11
0020         - audio-playback
0021         - unity7
0022         - network
0023         - network-bind
0024         command-chain:
0025         - snap/command-chain/desktop-launch
0026 assumes:
0027 - snapd2.55.3
0028 compression: lzo
0029 plugs:
0030     desktop:
0031         mount-host-font-cache: false
0032     icon-themes:
0033         interface: content
0034         target: $SNAP/data-dir/icons
0035         default-provider: gtk-common-themes
0036     sound-themes:
0037         interface: content
0038         target: $SNAP/data-dir/sounds
0039         default-provider: gtk-common-themes
0040     kf5-5-110-qt-5-15-11-core22:
0041         content: kf5-5-110-qt-5-15-11-core22-all
0042         interface: content
0043         default-provider: kf5-5-110-qt-5-15-11-core22
0044         target: $SNAP/kf5
0045 environment:
0046     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0047     GST_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0048     GST_PLUGIN_SYSTEM_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0049     GST_PLUGIN_SCANNER: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
0050 hooks:
0051     configure:
0052         plugs:
0053         - desktop
0054         command-chain:
0055         - snap/command-chain/hooks-configure-desktop
0056 layout:
0057     "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
0058         symlink: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
0059     "/usr/share/alsa":
0060         symlink: "$SNAP/usr/share/alsa"
0061     /usr/share/X11:
0062         symlink: $SNAP/kf5/usr/share/X11
0063 package-repositories:
0064 -   type: apt
0065     components:
0066     - main
0067     suites:
0068     - jammy
0069     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0070     url: http://origin.archive.neon.kde.org/user
0071     key-server: keyserver.ubuntu.com
0072 parts:
0073     kde-neon:
0074         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0075         source-type: local
0076         plugin: make
0077         make-parameters:
0078         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0079         build-snaps:
0080         - kf5-5-110-qt-5-15-11-core22-sdk
0081         build-environment:
0082         - &id001
0083             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0084         - &id002
0085             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}
0086         - &id003
0087             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}
0088         - &id004
0089             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0090     qml-box2d:
0091         after:
0092         - kde-neon
0093         source: https://github.com/qml-box2d/qml-box2d.git
0094         plugin: cmake
0095         build-packages:
0096         - cmake
0097         stage-packages:
0098         - qml-module-qtcharts
0099         - qml-module-qt-labs-calendar
0100         - webp
0101         cmake-parameters:
0102         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0103         - -DCMAKE_INSTALL_PREFIX=/usr
0104         - -DCMAKE_BUILD_TYPE=Release
0105         - -DENABLE_TESTING=OFF
0106         - -DBUILD_TESTING=OFF
0107         - -DKDE_SKIP_TEST_SETTINGS=ON
0108         - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0109         build-environment: &id005
0110         - *id001
0111         - *id002
0112         - *id003
0113         - *id004
0114     gcompris:
0115         after:
0116         - kde-neon
0117         - qml-box2d
0118         parse-info:
0119         - usr/share/metainfo/org.kde.gcompris.appdata.xml
0120         plugin: cmake
0121         source: .
0122         source-type: local
0123         build-packages:
0124         - cmake
0125         - libkf5doctools-dev
0126         - libssl-dev
0127         - gettext
0128         - libqt5charts5-dev
0129         stage-packages:
0130         - libqt5multimedia5-plugins
0131         - qt5-image-formats-plugins
0132         - qml-module-qtgraphicaleffects
0133         - qml-module-qtmultimedia
0134         - qml-module-qtquick-controls
0135         - qml-module-qtquick-particles2
0136         - libasound2
0137         - libasound2-data
0138         - libasound2-plugins
0139         - phonon4qt5
0140         - libgstreamer1.0-0
0141         - gstreamer1.0-alsa
0142         - gstreamer1.0-pulseaudio
0143         - gstreamer1.0-plugins-good
0144         - gstreamer1.0-plugins-bad
0145         - gstreamer1.0-plugins-ugly
0146         - phonon4qt5-backend-gstreamer
0147         - oxygen-sounds
0148         - libqt5gstreamer-1.0-0
0149         - libqt5gstreamerquick-1.0-0
0150         - libqt5gstreamerui-1.0-0
0151         - libqt5gstreamerutils-1.0-0
0152         - libqt5charts5
0153         cmake-parameters:
0154         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0155         - -DCMAKE_INSTALL_PREFIX=/usr
0156         - -DCMAKE_BUILD_TYPE=Release
0157         - -DENABLE_TESTING=OFF
0158         - -DBUILD_TESTING=OFF
0159         - -DKDE_SKIP_TEST_SETTINGS=ON
0160         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0161         - -DQML_BOX2D_LIBRARY=$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET/Box2D
0162         prime:
0163         - "-usr/lib/*/cmake/*"
0164         - "-usr/include/*"
0165         - "-usr/share/ECM/*"
0166         - "-usr/share/doc/*"
0167         - "-usr/share/man/*"
0168         - "-usr/share/icons/breeze-dark*"
0169         - "-usr/bin/X11"
0170         - "-usr/lib/gcc/$SNAPCRAFT_ARCH_TRIPLET/6.0.0"
0171         - "-usr/lib/aspell/*"
0172         - "-usr/share/lintain"
0173         build-environment:
0174         - *id001
0175         - *id002
0176         - *id003
0177         - *id004
0178         - QML2_IMPORT_PATH: $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml
0179     cleanup:
0180         after:
0181         - gcompris-qt
0182         plugin: nil
0183         override-prime: |
0184             set -eux
0185            #unused lib found by linter