1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgbase=phonon-gstreamer
5 pkgname=(phonon-qt5-gstreamer)
9 pkgdesc='Phonon GStreamer backend for Qt5'
10 url='https://community.kde.org/Phonon'
12 depends=(gst-plugins-base qt5-x11extras phonon-qt5)
13 optdepends=('pulseaudio: PulseAudio support' 'gst-plugins-good: PulseAudio support and good codecs' 'gst-plugins-bad: additional codecs'
14 'gst-plugins-ugly: additional codecs' 'gst-libav: libav codec')
15 makedepends=(extra-cmake-modules qt5-tools)
16 provides=(phonon-qt5-backend)
17 source=("https://download.kde.org/stable/phonon/phonon-backend-gstreamer/$pkgver/phonon-backend-gstreamer-$pkgver.tar.xz"{,.sig})
18 sha256sums=('c5871835521d015ef2ad1276b1f58340d946c2903466337f3170bac3c58d61f2'
20 validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter@kde.org>
24 cmake -B build -S phonon-backend-gstreamer-$pkgver
28 package_phonon-qt5-gstreamer() {
29 DESTDIR="$pkgdir" cmake --install build