void-packages/srcpkgs/remmina/template

35 lines
1.4 KiB
Bash

# Template file for 'remmina'
pkgname=remmina
version=1.4.31
revision=4
build_style=cmake
configure_args="-DCMAKE_USE_PTHREADS_INIT=ON -DWITH_KF5WALLET=on"
hostmakedepends="glib-devel intltool pkg-config shared-mime-info qt5-host-tools qt5-qmake"
makedepends="avahi-glib-libs-devel avahi-ui-libs-devel freerdp-devel
gobject-introspection gstreamermm-devel json-glib-devel kwallet-devel
libgcrypt-devel liblz4-devel libsasl-devel
libsecret-devel libsodium-devel libsoup3-devel libssh-devel libva-devel
libvncserver-devel libxkbfile-devel opus-devel phodav-devel
spice-gtk-devel spice-protocol telepathy-glib-devel usbredir-devel
vte3-devel libayatana-appindicator-devel libwebkit2gtk41-devel python3-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Remote desktop client written in GTK+"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-2.0-or-later"
homepage="https://remmina.org"
changelog="https://gitlab.com/Remmina/Remmina/-/raw/master/CHANGELOG.md"
distfiles="https://gitlab.com/Remmina/Remmina/-/archive/v${version}/Remmina-v${version}.tar.bz2"
checksum=cfe9d4a6f2951d35533e5b2235f76640573c91f1be3bd8118637fbf68234500a
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
fi
remmina-kwallet_package() {
short_desc+=" - kwallet plugin"
depends="${sourcepkg}>=${version}_${revision} kwallet"
pkg_install() {
vmove usr/lib/remmina/plugins/remmina-plugin-kwallet.so
}
}