diff --git a/office/misc/qpdf/actions.py b/office/misc/qpdf/actions.py
index 222dbf86e7..59ae038f2f 100644
--- a/office/misc/qpdf/actions.py
+++ b/office/misc/qpdf/actions.py
@@ -3,20 +3,23 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
-from pisi.actionsapi import get
-from pisi.actionsapi import autotools
+from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import get
def setup():
- autotools.configure("--disable-static")
+ shelltools.system("mkdir build")
+ shelltools.cd("build")
+ cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_STATIC_LIBS=OFF", sourceDir="..")
def build():
- autotools.make()
-
-def check():
- autotools.make("check")
+ cmaketools.make("-C build")
def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+ shelltools.cd("build")
+ cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
+ shelltools.cd("..")
pisitools.dodoc("Artistic-2.0", "ChangeLog", "README*", "TODO")
diff --git a/office/misc/qpdf/pspec.xml b/office/misc/qpdf/pspec.xml
index f0f02f9662..879b6151a6 100644
--- a/office/misc/qpdf/pspec.xml
+++ b/office/misc/qpdf/pspec.xml
@@ -12,8 +12,11 @@
Artistic-2
A Content-Preserving PDF Transformation System
A command-line program that does structural, content-preserving transformations on PDF files
- mirrors://sourceforge/qpdf/qpdf-9.1.0.tar.gz
+ mirrors://sourceforge/qpdf/qpdf-11.2.0.tar.gz
+ cmake
+ gnutls-devel
+ openssl-devel
libjpeg-turbo-devel
libpcre-devel
libxslt-devel
@@ -25,6 +28,8 @@
qpdf
zlib
+ gnutls
+ openssl
libgcc
libpcre
libjpeg-turbo
@@ -44,15 +49,25 @@
libjpeg-turbo-devel
libpcre-devel
zlib-devel
+ gnutls-devel
+ openssl-devel
qpdf
/usr/include
+ /usr/lib/cmake
/usr/lib/pkgconfig
+
+ 2022-11-21
+ 11.2.0
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2019-11-24
9.1.0