summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-07-03 06:05:08 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:57:59 -0500
commitd50ae58c5a6e6fce65ff748d36deeca54319a01d (patch)
tree24f9c3f50c103827bcf2d5410f935a6cef5ee9cf /graphics
parent73732212860fcc2b4ef0c94e1d62780673c37690 (diff)
downloadslackbuilds-d50ae58c5a6e6fce65ff748d36deeca54319a01d.tar.gz
graphics/scantailor-advanced: Updated for version 20200531_3d1e74e.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild9
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info6
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
index 9a07e6a768..a726ce6261 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scantailor-advanced
-VERSION=${VERSION:-1.0.16}
+VERSION=${VERSION:-20200531_3d1e74e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,14 +75,13 @@ sed -i \
-e 's/^set(CMAKE_CXX_STANDARD 17)$/set(CMAKE_CXX_STANDARD 14)/' \
CMakeLists.txt
-sed -i 's/>Deksew:</>Deskew:</' \
- translations/scantailor_*.ts ui/SettingsDialog.ui
+sed -i '/^#include <memory>$/a #include <vector>' src/core/filters/page_layout/Settings.h
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
diff --git a/graphics/scantailor-advanced/scantailor-advanced.info b/graphics/scantailor-advanced/scantailor-advanced.info
index 6883eb99ea..89ebaa2207 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.info
+++ b/graphics/scantailor-advanced/scantailor-advanced.info
@@ -1,8 +1,8 @@
PRGNAM="scantailor-advanced"
-VERSION="1.0.16"
+VERSION="20200531_3d1e74e"
HOMEPAGE="https://github.com/4lex4/scantailor-advanced"
-DOWNLOAD="https://github.com/4lex4/scantailor-advanced/archive/v1.0.16/scantailor-advanced-1.0.16.tar.gz"
-MD5SUM="1011e3ed6fe0e65fcedc25389a29bd23"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/scantailor-advanced-20200531_3d1e74e.tar.xz"
+MD5SUM="61dfa53ca5f607aa03f4809a796cef08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"