void-packages/srcpkgs/xournalpp/template

21 lines
756 B
Bash

# Template file for 'xournalpp'
pkgname=xournalpp
version=1.0.8
revision=2
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"
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=95069296532119dd193a12cb560a510972614420679ee41d4cad9b0ce5a692ae
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
configure_args+=" -Dxournalpp_LDFLAGS=-lexecinfo";;
esac