summaryrefslogtreecommitdiff
path: root/graphics/gimagereader/gimagereader.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimagereader/gimagereader.SlackBuild')
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 702bec89a6..7663d1ff66 100644
--- a/graphics/gimagereader/gimagereader.SlackBuild
+++ b/graphics/gimagereader/gimagereader.SlackBuild
@@ -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