void-packages/srcpkgs/xournalpp/template

21 lines
762 B
Bash

# Template file for 'xournalpp'
pkgname=xournalpp
version=1.0.18
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"
depends="texlive-bin"
short_desc="Handwriting Notetaking software with PDF annotation support"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/xournalpp/xournalpp"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=f13178f67fc5c4eed566a09a16cbee80655a6bb7ab4425b4bc3962e8b608c215
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
configure_args+=" -Dxournalpp_LDFLAGS=-lexecinfo";;
esac