diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-09 21:43:37 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 17:02:22 +0700 |
commit | 295fb8c85c8734f04ae31b3b3555faede2982901 (patch) | |
tree | f635c856291f459edc6d0d03e165ac7a5fb257ca /office | |
parent | 9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f (diff) |
office/krop: Switch to python-poppler-qt5.
And python3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/krop/krop.SlackBuild | 5 | ||||
-rw-r--r-- | office/krop/krop.info | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild index 178be57586640..d1dd7f527c704 100644 --- a/office/krop/krop.SlackBuild +++ b/office/krop/krop.SlackBuild @@ -79,11 +79,10 @@ 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 {} \; -sed -i 's/import sys.*/&\nsys.argv.append("--no-qt5")/' krop/config.py - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG +sed -i "s|krop==0.6.0|krop|g" $PKG/usr/bin/krop find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/office/krop/krop.info b/office/krop/krop.info index 766a235fbe946..f0c0393ba45ba 100644 --- a/office/krop/krop.info +++ b/office/krop/krop.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/arminstraub/krop/archive/v0.6.0/krop-0.6.0.tar.gz" MD5SUM="8bf9e9d64a4f7b749980a14dc699f96a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-poppler-qt4 PyPDF2" +REQUIRES="python-poppler-qt5 PyPDF2" MAINTAINER="Alexander Verbovetsky" EMAIL="alik@ejik.org" |