Browse Source
office/gnucash: Updated for version 4.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/186/head
Lenard Spencer
4 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
22 additions and
6 deletions
-
office/gnucash/gnucash-webkit2gtk-4.1.patch
-
office/gnucash/gnucash.SlackBuild
-
office/gnucash/gnucash.info
|
|
|
@ -0,0 +1,12 @@ |
|
|
|
diff -Nur gnucash-4.9.orig/CMakeLists.txt gnucash-4.9/CMakeLists.txt
|
|
|
|
--- gnucash-4.9.orig/CMakeLists.txt 2021-12-17 16:17:34.000000000 -0500
|
|
|
|
+++ gnucash-4.9/CMakeLists.txt 2022-02-01 18:20:28.027299079 -0500
|
|
|
|
@@ -211,7 +211,7 @@
|
|
|
|
pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0) |
|
|
|
set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk") |
|
|
|
else() |
|
|
|
- pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
|
|
|
|
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1>=2.14.0)
|
|
|
|
set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4") |
|
|
|
endif() |
|
|
|
|
|
|
|
@ -26,7 +26,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=gnucash |
|
|
|
VERSION=${VERSION:-4.6} |
|
|
|
VERSION=${VERSION:-4.9} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -119,6 +119,10 @@ find -L . \ |
|
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
# Since the latest yelp (needed by gnucash-docs) requires webkit2gtk4.1, |
|
|
|
# we make an adjustment here to keep things consistent: |
|
|
|
patch -p1 < $CWD/gnucash-webkit2gtk-4.1.patch |
|
|
|
|
|
|
|
mkdir -p build |
|
|
|
cd build |
|
|
|
cmake \ |
|
|
|
@ -133,7 +137,7 @@ cd build |
|
|
|
$OFXBANKING \ |
|
|
|
$AQBANKING \ |
|
|
|
-GNinja \ |
|
|
|
-DGNUCASH_BUILD_ID="$VERSION-`date -I` by $PACKAGER" \ |
|
|
|
-DGNUCASH_BUILD_ID="$VERSION `date -I` by $PACKAGER" \ |
|
|
|
-DCMAKE_BUILD_TYPE=release .. |
|
|
|
|
|
|
|
"${NINJA:=ninja}" |
|
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
|
PRGNAM="gnucash" |
|
|
|
VERSION="4.6" |
|
|
|
VERSION="4.9" |
|
|
|
HOMEPAGE="https://www.gnucash.org/" |
|
|
|
DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-4.6.tar.bz2" |
|
|
|
MD5SUM="3dba148c4c3f00f8e37d3ca20f526a0c" |
|
|
|
DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-4.9.tar.bz2" |
|
|
|
MD5SUM="50747ca64f90568b9280f8797f2d2512" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="webkit2gtk gtest" |
|
|
|
REQUIRES="webkit2gtk4.1 gtest" |
|
|
|
MAINTAINER="Lenard Spencer" |
|
|
|
EMAIL="lenardrspencer@gmail.com" |