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

25 lines
988 B
Bash

# Template file for 'phonon-qt5-backend-gstreamer'
pkgname=phonon-qt5-backend-gstreamer
version=4.10.0
revision=1
wrksrc=${pkgname/-qt5/}-${version}
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 qt5-tools-devel"
depends="desktop-file-utils hicolor-icon-theme gst-plugins-good1 gst-libav"
short_desc="Phonon GStreamer backend"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://phonon.kde.org/"
distfiles="${KDE_SITE}/phonon/${pkgname/-qt5/}/${version}/${pkgname/-qt5/}-${version}.tar.xz"
checksum=c5871835521d015ef2ad1276b1f58340d946c2903466337f3170bac3c58d61f2
provides="phonon-qt5-backend-0_1"
replaces="phonon-qt5-backend>=0"
lib32disabled=yes
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel phonon-qt5-devel"
fi