void-packages/srcpkgs/jreen/template

40 lines
1023 B
Bash

# Template file for 'jreen'
pkgname=jreen
version=1.3.0
revision=3
build_style=cmake
hostmakedepends="pkg-config"
makedepends="gsasl-devel speex-devel qt5-devel zlib-devel"
short_desc="Qt5 Jabber/XMPP extensible library"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/euroelessar/jreen"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=f93c3d338c011c0945dacb14eb9da3be9541028c9eaa6f2024e688eb8a49b07e
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
jreen-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}
jreen-qt5_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}
jreen-qt5-devel_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="jreen-devel>=${version}_${revision}"
}