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

0001 # Trigger build 3
0002 ---
0003 name: kphotoalbum
0004 confinement: strict
0005 grade: stable
0006 base: core22
0007 adopt-info: kphotoalbum
0008 version: 5.11.0
0009 icon: $CRAFT_PROJECT_DIR/icons/global/32-apps-kphotoalbum.png
0010 apps:
0011     kphotoalbum:
0012         # extensions:
0013         # - kde-neon
0014         common-id: org.kde.kphotoalbum.desktop
0015         desktop: usr/share/applications/org.kde.kphotoalbum.desktop
0016         command: usr/bin/kphotoalbum
0017         plugs:
0018         - home
0019         - desktop
0020         - desktop-legacy
0021         - opengl
0022         - wayland
0023         - x11
0024         - audio-playback
0025         - unity7
0026         - network
0027         - network-bind
0028         - cups
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     foo-install-cups:
0051         interface: content
0052         content: foo
0053         default-provider: cups
0054         target: $SNAP_DATA/foo
0055 environment:
0056     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0057     QTWEBENGINEPROCESS_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/libexec/QtWebEngineProcess"
0058     XDG_DATA_DIRS: "$XDG_DATA_DIRS:$SNAP/usr/share"
0059     XDG_CONFIG_DIRS: "$XDG_CONFIG_DIRS:$SNAP/etc/xdg"
0060     QML2_IMPORT_PATH: "$QML2_IMPORT_PATH:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml"
0061     QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/kf5:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins"
0062 hooks:
0063     configure:
0064         plugs:
0065         - desktop
0066         command-chain:
0067         - snap/command-chain/hooks-configure-desktop
0068 layout:
0069     /usr/share/X11:
0070         symlink: $SNAP/kf5/usr/share/X11
0071 slots:
0072     session-dbus-interface:
0073         interface: dbus
0074         name: org.kde.kphotoalbum
0075         bus: session
0076 package-repositories:
0077 -   type: apt
0078     components:
0079     - main
0080     suites:
0081     - jammy
0082     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0083     url: https://origin.archive.neon.kde.org/user
0084     key-server: keyserver.ubuntu.com
0085 parts:
0086     kde-neon:
0087         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0088         source-type: local
0089         plugin: make
0090         make-parameters:
0091         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0092         build-snaps:
0093         - kf5-5-110-qt-5-15-11-core22-sdk
0094         build-environment:
0095         - &id001
0096             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0097         - &id002
0098             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}
0099         - &id003
0100             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}
0101         - &id004
0102             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0103     kphotoalbum:
0104         after:
0105         - kde-neon
0106         plugin: cmake
0107         source: .
0108         source-type: local
0109         build-packages:
0110         - cmake
0111         - libkf5doctools-dev
0112         - libkf5purpose-dev
0113         - libkf5kdcraw-dev
0114         - libmarble-dev
0115         - libphonon4qt5-dev
0116         - libphonon4qt5experimental-dev
0117         - libjpeg-dev
0118         stage-packages:
0119         - libkf5purpose5
0120         - libkf5kdcraw5
0121         - libasound2
0122         - libasound2-data
0123         - libasound2-plugins
0124         - phonon4qt5
0125         - libgstreamer1.0-0
0126         - gstreamer1.0-alsa
0127         - gstreamer1.0-pulseaudio
0128         - gstreamer1.0-plugins-good
0129         - gstreamer1.0-plugins-bad
0130         - gstreamer1.0-plugins-ugly
0131         - phonon4qt5-backend-gstreamer
0132         - oxygen-sounds
0133         - libqt5gstreamer-1.0-0
0134         - libqt5gstreamerquick-1.0-0
0135         - libqt5gstreamerui-1.0-0
0136         - libqt5gstreamerutils-1.0-0
0137         - libmarblewidget-qt5-28
0138         - kio
0139         - ffmpeg
0140         - exif
0141         - kdegraphics-thumbnailers
0142         cmake-parameters:
0143         - -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
0144         - -DCMAKE_INSTALL_PREFIX=/usr
0145         - -DCMAKE_BUILD_TYPE=Release
0146         - -DENABLE_TESTING=OFF
0147         - -DBUILD_TESTING=OFF
0148         - -DKDE_SKIP_TEST_SETTINGS=ON
0149         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current"
0150         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0151         build-environment: &id005
0152         - *id001
0153         - *id002
0154         - *id003
0155         - *id004
0156         parse-info:
0157         - usr/share/metainfo/org.kde.kphotoalbum.appdata.xml
0158         prime:
0159         - "-usr/lib/*/cmake/*"
0160         - "-usr/include/*"
0161         - "-usr/share/ECM/*"
0162         - "-usr/share/doc/*"
0163         - "-usr/share/man/*"
0164         - "-usr/share/icons/breeze-dark*"
0165         - "-usr/bin/X11"
0166         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0167         - "-usr/lib/aspell/*"
0168         - "-etc/alsa/conf.d/99-pulse.conf"
0169     cleanup:
0170         after:
0171         - kphotoalbum
0172         plugin: nil
0173         override-prime: |
0174             set -eux
0175             #unused libs found by linter