void-packages/srcpkgs/falkon/template

33 lines
1.2 KiB
Bash

# Template file for 'falkon'
pkgname=falkon
version=23.08.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext pkg-config
qt5-qmake qt5-host-tools python3 $(vopt_if kde kcoreaddons)"
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds qt5-declarative-devel qt5-webchannel-devel
qt5-webengine-devel qt5-location-devel qt5-x11extras-devel qt5-tools-devel
$(vopt_if kde 'kwallet-devel kio-devel purpose-devel' 'ki18n-devel xcb-util-devel')
kcoreaddons-devel"
depends="qt5-plugin-sqlite"
checkdepends="dbus"
short_desc="Cross-platform Qt Web Browser"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-3.0-or-later"
homepage="https://www.falkon.org"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=b177cdcbd4136d3822e51a6ec9ed8c377a8a140367c85cb19d0504b9dc00fe02
LDFLAGS="-Wl,--no-fatal-warnings"
build_options="kde"
desc_option_kde="KDE integration"
build_options_default="kde"
do_check() {
cd build
# Exclude tests which fail with SIGTRAP
dbus-run-session ctest -E "falkon-(webview|webtab|tabmodel|qml-qml(historyapi|cookiesapi|tabsapi|windowsapi))test" --output-on-failure --force-new-ctest-process
}