xournalpp: update to 1.1.1.

Also:
- add a patch to fix building on musl
- remove configure_args - no longer needed on musl.
(both changes by @tornaria)
This commit is contained in:
mobinmob 2022-02-14 19:57:40 +02:00 committed by Echo
parent 0db5772993
commit e12057af0d
2 changed files with 15 additions and 6 deletions

View file

@ -0,0 +1,10 @@
--- a/src/xoj-preview-extractor/CMakeLists.txt 2022-02-13 16:30:45.000000000 -0300
+++ b/src/xoj-preview-extractor/CMakeLists.txt 2022-02-14 16:03:48.561654740 -0300
@@ -35,6 +35,7 @@
${librsvg_LDFLAGS}
${Glib_LDFLAGS}
${ZIP_LDFLAGS}
+ ${Backtrace_LIBRARIES}
)
target_include_directories (xournalpp-thumbnailer PRIVATE ${librsvg_INCLUDE_DIRS})

View file

@ -1,6 +1,6 @@
# Template file for 'xournalpp'
pkgname=xournalpp
version=1.1.0
version=1.1.1
revision=1
build_style=cmake
hostmakedepends="pkg-config gettext"
@ -9,16 +9,15 @@ makedepends="libxml2-devel libcppunit-devel poppler-glib-devel gtk+3-devel
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"
homepage="https://xournalpp.github.io/"
changelog="https://raw.githubusercontent.com/xournalpp/xournalpp/master/CHANGELOG.md"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=31b99282bcd1d829f05f1c9ccd07c5d599acc0e69725d135cdc97e1dcaf2baee
distfiles="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${version}.tar.gz"
checksum=0d7fea5392758d5180eb24cc219660e997f087ae5a62d5f30515a063f81252e2
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
configure_args+=" -Dxournalpp_LDFLAGS=-lexecinfo";;
*-musl) makedepends+=" libexecinfo-devel";;
esac