Commit 17e62221 authored by Xuetian Weng's avatar Xuetian Weng
Browse files

add optdepends to phonon-backend-gstreamer and fix a bug

parent c02264d7
......@@ -3,19 +3,28 @@
pkgbase=phonon-backend-gstreamer
pkgname=('phonon-backend-gstreamer' 'phonon-qt5-backend-gstreamer')
pkgver=4.8.0
pkgrel=1
pkgrel=2
pkgdesc="Phonon GStreamer backend"
arch=('x86_64')
url='http://phonon.kde.org'
license=('LGPL')
makedepends=('pkg-config' 'cmake' 'automoc4' 'phonon' 'phonon-qt5')
optdepends=('gst-plugins-good: For media format support'
'gst-plugins-bad: For media format support'
'gst-plugins-ugly: For media format support'
'gst-libav: For media format support')
groups=("kde-complete" "kde-uninstall")
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/phonon-backend-gstreamer-${pkgver}.tar.xz")
sha256sums=('80b72a9092f540dd0a2abd2898328f3d5f9febfa073b0b1d44592a050a99d2b1')
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/phonon-backend-gstreamer-${pkgver}.tar.xz"
"streaming-freeze.patch::http://quickgit.kde.org/?p=phonon-gstreamer.git&a=commitdiff&h=4bb52a061b669c3ce03bb07e49a35a034aa5fc7b&hp=17cc78282f588f7e914244be222289b74934e9d9&o=plain")
sha256sums=('f819cbd6296e1e19579e365902f7930ec8571e8cbb08718484091a795f70587e'
'142876ac4f0cdab7b7e173ae738b1771d44df27790c58dde02c3a18b35797dce')
prepare() {
mkdir build-qt4
mkdir build-qt5
cd ${pkgname}-${pkgver}
patch -Np1 -i ../streaming-freeze.patch
}
......@@ -58,4 +67,3 @@ package_phonon-qt5-backend-gstreamer() {
# Those are not needed
rm -rf "${pkgdir}"/usr/share
}
sha256sums=('f819cbd6296e1e19579e365902f7930ec8571e8cbb08718484091a795f70587e')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment