Warning, /multimedia/kid3/snapcraft.yaml is written in an unsupported language. File is not indexed.

0001 # trigger rebuild2
0002 ---
0003 name: kid3
0004 confinement: strict
0005 grade: stable
0006 base: core22
0007 adopt-info: kid3
0008 apps:
0009     kid3:
0010         # extensions:
0011         # - kde-neon
0012         common-id: org.kde.kid3.desktop
0013         desktop: usr/share/applications/org.kde.kid3.desktop
0014         command: usr/bin/kid3
0015         plugs:
0016         - home
0017         - desktop
0018         - desktop-legacy
0019         - opengl
0020         - wayland
0021         - x11
0022         - audio-playback
0023         - unity7
0024         - network
0025         - network-bind
0026         command-chain:
0027         - snap/command-chain/desktop-launch
0028 assumes:
0029 - snapd2.58.3
0030 compression: lzo
0031 plugs:
0032     desktop:
0033         mount-host-font-cache: false
0034     icon-themes:
0035         interface: content
0036         target: $SNAP/data-dir/icons
0037         default-provider: gtk-common-themes
0038     sound-themes:
0039         interface: content
0040         target: $SNAP/data-dir/sounds
0041         default-provider: gtk-common-themes
0042     kf5-5-110-qt-5-15-11-core22:
0043         content: kf5-5-110-qt-5-15-11-core22-all
0044         interface: content
0045         default-provider: kf5-5-110-qt-5-15-11-core22
0046         target: $SNAP/kf5
0047 environment:
0048     SNAP_DESKTOP_RUNTIME: $SNAP/kf5
0049     GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0050     GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
0051     GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
0052     LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:$SNAP/usr/lib/kid3"
0053     CFG_QMLDIR: "$SNAP/usr/share/kid3/qml"
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     "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
0064         bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
0065     "/usr/share/alsa":
0066         bind: "$SNAP/usr/share/alsa"
0067 slots:
0068     session-dbus-interface:
0069         interface: dbus
0070         name: org.mpris.MediaPlayer2.kid3
0071         bus: session
0072 package-repositories:
0073 -   type: apt
0074     components:
0075     - main
0076     suites:
0077     - jammy
0078     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
0079     url: http://archive.neon.kde.org/user
0080     key-server: keyserver.ubuntu.com
0081 parts:
0082     kde-neon:
0083         source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
0084         source-type: local
0085         plugin: make
0086         make-parameters:
0087         - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
0088         build-snaps:
0089         - kf5-5-110-qt-5-15-11-core22-sdk
0090         build-environment:
0091         - &id001
0092             PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
0093         - &id002
0094             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}
0095         - &id003
0096             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}
0097         - &id004
0098             CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
0099     kid3:
0100         after:
0101         - kde-neon
0102         parse-info:
0103         - usr/share/metainfo/org.kde.kid3.appdata.xml
0104         plugin: cmake
0105         build-packages:
0106         - libid3-3.8.3-dev
0107         - libflac++-dev
0108         - libvorbis-dev
0109         - libtag1-dev
0110         - libchromaprint-dev
0111         - libreadline-dev
0112         - xsltproc
0113         - python3
0114         - libkf5doctools-dev
0115         build-snaps:
0116         - ffmpeg-2204-sdk
0117         stage-packages:
0118         - libxinerama1
0119         - libid3-3.8.3v5
0120         - libflac++6v5
0121         stage-snaps:
0122         - ffmpeg-2204
0123         source: .
0124         source-type: local
0125         cmake-parameters:
0126         - "-DCMAKE_INSTALL_PREFIX=/usr"
0127         - "-DCMAKE_BUILD_TYPE=Release"
0128         - "-DENABLE_TESTING=OFF"
0129         - "-DBUILD_TESTING=OFF"
0130         - "-DKDE_SKIP_TEST_SETTINGS=ON"
0131         - "-DCFG_QMLDIR=/usr/share/kid3/qml"
0132         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current\\;/snap/ffmpeg-2204-sdk/current"
0133         - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/"
0134         prime:
0135         - "-usr/lib/*/cmake/*"
0136         - "-usr/include/*"
0137         - "-usr/share/ECM/*"
0138         - "-usr/share/doc/*"
0139         - "-usr/share/man/*"
0140         - "-usr/share/icons/breeze-dark*"
0141         - "-usr/bin/X11"
0142         - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0"
0143         - "-usr/lib/aspell/*"
0144         - "-usr/share/lintian"
0145         build-environment: &id005
0146         - *id001
0147         - *id002
0148         - *id003
0149         - *id004
0150     cleanup:
0151         after:
0152         - kde-neon
0153         - kid3
0154         plugin: nil
0155         override-prime:  |
0156             set -eux
0157             # # Unused libraries found by linter