void-packages/srcpkgs/falkon/template

33 lines
1.2 KiB
Bash

# Template file for 'falkon'
pkgname=falkon
version=23.08.2
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=57975a9be20e5c19eb9a0cc41b7eec53652e60a89b9dbc32b4d9fc1bbf4c7f6a
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
}