void-packages/srcpkgs/neochat/template

38 lines
1.5 KiB
Bash

# Template file for 'neochat'
pkgname=neochat
version=24.05.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules gettext pkg-config qt6-base qt6-tools
kf6-kcoreaddons kf6-kconfig python3 kf6-kdoctools qt6-declarative-host-tools"
makedepends="kquickimageeditor-devel libQuotient-devel qtkeychain-qt6-devel
qt6-multimedia-devel kf6-kirigami-devel kf6-ki18n-devel cmark-devel
kf6-knotifications-devel kf6-kconfig-devel kf6-kcoreaddons-devel
kf6-kstatusnotifieritem-devel kf6-qqc2-desktop-style-devel kf6-sonnet-devel
kf6-kitemmodels-devel kf6-kconfigwidgets-devel kf6-kio-devel
kirigami-addons-devel qcoro-qt6-devel olm-devel qt6-plugin-sqlite
kf6-purpose-devel kf6-syntax-highlighting-devel
$(vopt_if webview qt6-webview-devel)"
depends="kquickimageeditor kf6-kquickcharts qt6-location"
short_desc="Client for matrix from KDE"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only, GPL-3.0-or-later, GPL-2.0-or-later, BSD-2-Clause"
homepage="https://apps.kde.org/en/neochat"
distfiles="${KDE_SITE}/release-service/${version}/src/neochat-${version}.tar.xz"
checksum=900eceef45f578cd87cad92b4736d86e5c181c5f9330a6f77956fd2a6423d1b1
build_options="webview"
desc_option_webview="Use Qt6 WebView"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "64" = "$XBPS_WORDSIZE" ] &&
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
build_options_default="webview"
fi
post_install() {
vlicense LICENSES/BSD-2-Clause.txt
}