summaryrefslogtreecommitdiff
path: root/inkscape/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2022-04-10 12:42:39 +1000
committerDanny Rawlins <contact@romster.me>2022-04-10 12:42:39 +1000
commit92d28061b8dcce0733ad7a4cace2342737bb87cc (patch)
tree193b71897f3a7ac9363d66bb30f13c1265e2b870 /inkscape/Pkgfile
parent0a61ac6eb9c6562d2f88c3a887d569fdf9f39165 (diff)
downloadcontrib-92d28061b8dcce0733ad7a4cace2342737bb87cc.tar.gz
contrib-92d28061b8dcce0733ad7a4cace2342737bb87cc.tar.xz
inkscape: update for new poppler
Diffstat (limited to 'inkscape/Pkgfile')
-rw-r--r--inkscape/Pkgfile12
1 files changed, 8 insertions, 4 deletions
diff --git a/inkscape/Pkgfile b/inkscape/Pkgfile
index 095c52f46..adba0673e 100644
--- a/inkscape/Pkgfile
+++ b/inkscape/Pkgfile
@@ -7,11 +7,12 @@ name=inkscape
_name=inkscape-INKSCAPE
version=1.1.2
_version=1.1.2_2022-02-04_0a00cf5339
-_pversion=22.02.0
-_psoversion=118
-release=1
+_pversion=22.04.0
+_psoversion=120
+release=2
source=(https://inkscape.org/gallery/item/31668/inkscape-$version.tar.xz
- https://poppler.freedesktop.org/poppler-$_pversion.tar.xz)
+ https://poppler.freedesktop.org/poppler-$_pversion.tar.xz
+ poppler-22.04-fixes.patch)
poppler() {
cmake -S poppler-$_pversion -B build-poppler -G Ninja \
@@ -42,6 +43,9 @@ poppler() {
build() {
[ ! -e "/usr/lib/libpoppler.so.$_psoversion" ] && poppler
+ patch -d $name-$_version/src/extension/internal/pdfinput \
+ -p1 -i $SRC/poppler-22.04-fixes.patch
+
# https://gitlab.gnome.org/GNOME/glib/-/issues/2331
CFLAGS+=' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66'
CXXFLAGS+=' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66'

Generated by cgit