void-packages/srcpkgs/kaffeine/template
2019-01-18 18:03:52 +01:00

27 lines
922 B
Bash

# Template file for 'kaffeine'
pkgname=kaffeine
version=2.0.16.2
revision=1
_distver="${version%.*}-${version##*.}"
wrksrc="kaffeine-${_distver}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="kidletime-devel kio-devel vlc-devel
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds
$(vopt_if dvb 'v4l-utils-devel eudev-libudev-devel')"
short_desc="KDE media player"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/multimedia/kaffeine/"
distfiles="${KDE_SITE}/kaffeine/kaffeine-${_distver}.tar.xz"
checksum=8659189d907c2512321dd2c0d0c47176229c344970d633e33f29ce82432deee5
build_options="dvb"
build_options_default="dvb"
desc_option_dvb="Enable DVB Support"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kdoctools python qt5-host-tools qt5-qmake"
fi