Skip to content

Commit

Permalink
qalculate: update to 3.17.0
Browse files Browse the repository at this point in the history
By ericonr:
- fix cross
  • Loading branch information
folliehiyuki authored and Yassine Labidi committed Feb 28, 2021
1 parent 8cff84b commit e7ec6ec
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions srcpkgs/qalculate/patches/cross.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
commit 4e227a03aaf5dfe3f9007c9d5f3516534d6b9006
Author: Érico Rolim <[email protected]>
Date: Fri Feb 26 15:08:28 2021 -0300

Fix cross by building fixpo for the build system.

Necessary after:
https://github.com/Qalculate/libqalculate/commit/8c4526941aed1e39187dba25eb1a74e8f91b56e0

diff --git po-defs/Makefile.in po-defs/Makefile.in
index af5218a..2c0f09e 100644
--- po-defs/Makefile.in
+++ po-defs/Makefile.in
@@ -399,9 +399,8 @@ clean-noinstPROGRAMS:
echo " rm -f" $$list; \
rm -f $$list

-fixpo$(EXEEXT): $(fixpo_OBJECTS) $(fixpo_DEPENDENCIES) $(EXTRA_fixpo_DEPENDENCIES)
- @rm -f fixpo$(EXEEXT)
- $(AM_V_CXXLD)$(CXXLINK) $(fixpo_OBJECTS) $(fixpo_LDADD) $(LIBS)
+fixpo$(EXEEXT): $(fixpo_SOURCES)
+ g++ $< -o $@

mostlyclean-compile:
-rm -f *.$(OBJEXT)
4 changes: 2 additions & 2 deletions srcpkgs/qalculate/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'qalculate'
# NOTE: keep this package synchronized with "srcpkgs/qalculate-gtk"
pkgname=qalculate
version=3.16.1
version=3.17.0
revision=1
wrksrc="lib${pkgname}-${version}"
build_style=gnu-configure
Expand All @@ -13,7 +13,7 @@ maintainer="Artem Zhurikhin <[email protected]>"
license="GPL-2.0-or-later"
homepage="https://qalculate.github.io"
distfiles="https://github.com/Qalculate/libqalculate/releases/download/v${version}/libqalculate-${version}.tar.gz"
checksum=bbe837073bf0d1995fe7ead4aae2b2e24260351048f6a513a9ca210342ce8e59
checksum=7ea06b140b9238b44473e07b60e1e8cb5271e45b80cbdc27e7eb2e6f82c2ec8c

libqalculate_package() {
short_desc+=" - library files"
Expand Down

0 comments on commit e7ec6ec

Please sign in to comment.