void-packages/srcpkgs/phonon-qt5-backend-gstreamer/template

24 lines
987 B
Bash

# Template file for 'phonon-qt5-backend-gstreamer'
pkgname=phonon-qt5-backend-gstreamer
version=4.9.0
revision=1
wrksrc=${pkgname/-qt5-backend/}-${version}
lib32disabled=yes
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON"
hostmakedepends="pkg-config extra-cmake-modules"
makedepends="MesaLib-devel qt5-devel phonon-qt5-devel gst-plugins-base1-devel gst-plugins-good1 qt5-x11extras-devel"
depends="desktop-file-utils hicolor-icon-theme gst-plugins-good1 gst-libav"
provides="phonon-qt5-backend-0_1"
replaces="phonon-qt5-backend>=0"
short_desc="Phonon GStreamer backend"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://phonon.kde.org/"
distfiles="http://download.kde.org/stable/phonon/${pkgname/-qt5/}/${version}/${pkgname/-qt5/}-${version}.tar.xz"
checksum=cec3e5ece1261d344b68363ef0606ebf49772628ba94bb55b0c0d18773b885f1
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel phonon-qt5-devel"
fi