void-packages/srcpkgs/xournalpp/template

21 lines
770 B
Bash

# Template file for 'xournalpp'
pkgname=xournalpp
version=1.0.12
revision=1
build_style=cmake
hostmakedepends="pkg-config git texlive-bin"
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=625cff6a951de355c3cc5b5285fa4e8f69e25b2800f3386008a5c14177233492
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
configure_args+=" -Dxournalpp_LDFLAGS=-lexecinfo";;
esac