void-packages/srcpkgs/xournalpp/template

21 lines
770 B
Bash

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