void-packages/srcpkgs/neochat/template

38 lines
1.5 KiB
Bash

# Template file for 'neochat'
pkgname=neochat
version=24.05.2
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=cfd419a87cbbe5fecbd7833189255ee2f582b4e1fb0f4f88bdef7e60a92fbc8f
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
}