void-packages/srcpkgs/xournalpp/template

30 lines
997 B
Bash

# Template file for 'xournalpp'
pkgname=xournalpp
version=1.1.3
revision=1
build_style=cmake
hostmakedepends="pkg-config gettext"
makedepends="libxml2-devel libcppunit-devel poppler-glib-devel gtk+3-devel
portaudio-cpp-devel libsndfile-devel libzip-devel librsvg-devel lua53-devel"
short_desc="Handwriting Notetaking software with PDF annotation support"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://xournalpp.github.io/"
changelog="https://raw.githubusercontent.com/xournalpp/xournalpp/master/CHANGELOG.md"
distfiles="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${version}.tar.gz"
checksum=5021c7a8f53687edb3a759e079c54d23d5918d83f8d1f5fcd08a1da2ce81bd8b
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel";;
esac
xournal_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}