mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
graphics/gimagereader: Updated for version 3.2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
37854d6e4d
commit
f41af7dcb2
2 changed files with 7 additions and 8 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=gimagereader
|
||||
VERSION=${VERSION:-3.1.91}
|
||||
VERSION=${VERSION:-3.2.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,18 +69,17 @@ 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 {} \;
|
||||
|
||||
# Interface type
|
||||
sed -i 's,"qt5","qt4",' CMakeLists.txt
|
||||
|
||||
# Path where manual will be installed
|
||||
sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt
|
||||
|
||||
# Interface type: qt4/qt5/gtk
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DINTERFACE_TYPE=qt4 \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="gimagereader"
|
||||
VERSION="3.1.91"
|
||||
VERSION="3.2.0"
|
||||
HOMEPAGE="https://github.com/manisandro/gImageReader/"
|
||||
DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.1.91/gimagereader-3.1.91.tar.xz"
|
||||
MD5SUM="c7235895aabd0220ef8adaa3982423e2"
|
||||
DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.2.0/gimagereader-3.2.0.tar.xz"
|
||||
MD5SUM="eaa2d7f8ac453b7472b4e118687d342e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="tesseract qtspell"
|
||||
REQUIRES="tesseract qtspell podofo"
|
||||
MAINTAINER="wru"
|
||||
EMAIL="gnuandpenguinos@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue