qt5-webkit: use gstreamer1

Actually, you can just use one backend: gstreamer (0.10 or 1) or
qtmultimedia (which in our case is gstreamer anyway).

Also, qt5-webkit was using gstreamer0.10 while qt5-multimedia is using
gstreamer1, so using both of them in the same application was not possible.

Should fix #4360.
This commit is contained in:
Alessio Sergi 2016-06-23 11:46:23 +02:00
parent 736e273152
commit 5f18cb5083

View file

@ -1,26 +1,24 @@
# Template file for 'qt5-webkit' # Template file for 'qt5-webkit'
pkgname=qt5-webkit pkgname=qt5-webkit
version=5.6.1 version=5.6.1
revision=2 revision=3
build_style=qmake build_style=qmake
wrksrc=qtwebkit-opensource-src-${version} wrksrc=qtwebkit-opensource-src-${version}
hostmakedepends="bison flex gperf perl python ruby pkg-config gst-plugins-good qt5-qmake" hostmakedepends="bison flex gperf perl python ruby pkg-config"
makedepends="libwebp-devel libxslt-devel libXcomposite-devel gst-plugins-base-devel sqlite-devel makedepends="libwebp-devel libxslt-devel libXcomposite-devel sqlite-devel
qt5-declarative-devel qt5-location-devel qt5-multimedia-devel qt5-sensors-devel qt5-webchannel-devel" gst-plugins-base1-devel qt5-declarative-devel qt5-location-devel
depends="qt5>=5.6.0 gst-plugins-good" qt5-sensors-devel qt5-webchannel-devel"
nocross=yes short_desc="A cross-platform application and UI framework (Qt5) - WebKit2 component"
short_desc="A cross-platform application and UI framework (QT5) - WebKit2"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3, LGPL-2.1" license="GPL-3, LGPL-2.1"
homepage="http://qt.io" homepage="https://www.qt.io/"
distfiles="http://download.qt.io/community_releases/${version%.*}/${version}/qtwebkit-opensource-src-${version}.tar.xz" distfiles="https://download.qt.io/community_releases/${version%.*}/${version}/qtwebkit-opensource-src-${version}.tar.xz"
checksum=f5cfbfa5fad2b65a9be907d426f99694b86a04c3bb5a8814b21bd0ade4c672aa checksum=f5cfbfa5fad2b65a9be907d426f99694b86a04c3bb5a8814b21bd0ade4c672aa
pre_configure() { pre_configure() {
# Generate headers # Generate headers
syncqt.pl-qt5 -version 5.6.0 Source/sync.profile syncqt.pl-qt5 -version 5.6.0 Source/sync.profile
} }
post_install() { post_install() {
# QMAKE_PRL_BUILD_DIR contains a reference the build dir; drop it # QMAKE_PRL_BUILD_DIR contains a reference the build dir; drop it
find ${DESTDIR}/usr/lib -type f -name '*.prl' -exec \ find ${DESTDIR}/usr/lib -type f -name '*.prl' -exec \