diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-16 18:32:14 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:24:33 -0500 |
commit | bbd35092b188f132256d7a77593b28b87418328d (patch) | |
tree | de4605312599107a94bbf4bf71724fecc1f71ff8 /graphics/gimagereader/gimagereader.SlackBuild | |
parent | 95db5616a1e301841461dfbcdb443f2d7118996f (diff) |
graphics/gimagereader: Updated for version 20201201_2d32618.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/gimagereader/gimagereader.SlackBuild')
-rw-r--r-- | graphics/gimagereader/gimagereader.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild index 34b703f8c6109..8cf3197e8d278 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.2.3} +VERSION=${VERSION:-20201201_2d32618} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,16 +70,18 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Path where manual will be installed -sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt +sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt || exit 1 -# Interface type: qt4/qt5/gtk +sed -i "s|QuaZip-Qt5-1\.0|QuaZip-Qt5-1.1|" CMakeLists.txt || exit 1 + +# Interface type: 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 \ + -DINTERFACE_TYPE=qt5 \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -89,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |