Package Details: scantailor-advanced-git v1.0.16.r119.gf6c8e5b-2

Git Clone URL: https://aur.archlinux.org/scantailor-advanced-git.git (read-only, click to copy)
Package Base: scantailor-advanced-git
Description: Interactive post-processing tool for scanned pages that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
Upstream URL: https://github.com/4lex4/scantailor-advanced
Licenses: GPL3
Conflicts: scantailor, scantailor-advanced
Provides: scantailor
Submitter: boredland
Maintainer: rvasilev
Last Packager: rvasilev
Votes: 2
Popularity: 0.016766
First Submitted: 2018-04-06 09:13
Last Updated: 2020-05-05 20:28

Pinned Comments

rvasilev commented on 2020-05-05 17:22

https://github.com/arch-noob/scantailor-advanced-git for issues and PRs

Latest Comments

rvasilev commented on 2020-05-05 17:22

https://github.com/arch-noob/scantailor-advanced-git for issues and PRs

homocomputeris commented on 2020-04-07 12:01

This builds fine:

pkgname=scantailor-advanced-git
pkgver=v1.0.16.r119.gf6c8e5b
pkgrel=1
pkgdesc="Interactive post-processing tool for scanned pages that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes. "
arch=("x86_64")
url="https://github.com/4lex4/scantailor-advanced"
license=("GPL3")
depends=(
    "boost-libs"
    "libjpeg"
    "libpng"
    "libtiff"
    "qt5-base"
    "zlib"
    )
makedepends=(
    "boost"
    "cmake"
    "qt5-tools"
    "qt5-svg"
    )
provides=("scantailor-advanced")
conflicts=("scantailor-advanced")
source=("scantailor-advanced::git+https://github.com/4lex4/scantailor-advanced")
sha256sums=("SKIP")

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    export LDFLAGS="-L/usr/local/lib,--rpath=/usr/local/lib"
    export LD_LIBRARY_PATH="/usr/local/lib"
    export CFLAGS="-fPIC"
    export CXXFLAGS="-fPIC"

    cd "${srcdir}/${pkgname%-git}"
    mkdir build && cd build
    cmake -G "Unix Makefiles" --build ..
    make -j${nproc}
}

package() {
    cd "${srcdir}/${pkgname%-git}"
    cd build
    make DESTDIR="${pkgdir}" install
}

Fifis commented on 2020-02-26 16:21

This version cannot be built out of the box: CMake Error at CMakeLists.txt:5 (message): FATAL: In-source builds are not allowed. You should create a separate directory for build files. -- Configuring incomplete, errors occurred!


Please check the comment by misc in order to fix the mistake.

misc commented on 2019-12-14 19:39

Suggested update, esp. as in-source builds are now disallowed:

build(): [via instructions as on github]

cd "$srcdir/${pkgname%-git}"

mkdir build && cd build

cmake -G "Unix Makefiles" --build .. \ -DCMA…

make -j `nproc`

cd in package() accordingly += /build