[crux-commits] ports/contrib (refs/remotes/origin/3.6): inkscape: update for poppler 21.03.0

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:46 UTC 2021


commit 4a8117e4b0b2c154784a3e99412083a4369b6e81
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Mar 7 11:35:01 2021 +1100

    inkscape: update for poppler 21.03.0

diff --git a/inkscape/.signature b/inkscape/.signature
index 1067e64e5..100cc8810 100644
--- a/inkscape/.signature
+++ b/inkscape/.signature
@@ -1,7 +1,7 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3xtrLPduqXDiZJHP9k16fRmFd0pcHxAu8sKGh1sFYT6W0bS7wKGIrsfNHxWQ7ts8A5CxbFzPJ9DNlD2J9eNfIAA=
-SHA256 (Pkgfile) = 787021593a0ef2bf7749d224ce747ab35bcafbeca1a256aedec4b5b123fddf4e
+RWSagIOpLGJF34c6mJb7XCf3V1tTB13KBHSI8c4B3z7tUU/szeHZ/QkwtZZDIVaoJ7YsjotkcK5HzsklYfsh/zeRuoAVbVP4NQQ=
+SHA256 (Pkgfile) = 34be6e87e3933a6498ea076f97d680b2d87943852a3efb549aadee0674fc786f
 SHA256 (.footprint) = a24437cdb60a602d0ed1b310589bc543f0144abb6e7790630cab834fc4128dd3
 SHA256 (inkscape-1.0.2.tar.xz) = da3e230511a08cbf21e86710d161458594fea87867e9157b67ed01a04ea2798a
-SHA256 (poppler-21.02.0.tar.xz) = 5c14759c99891e6e472aced6d5f0ff1dacf85d80cd9026d365c55c653edf792c
+SHA256 (poppler-21.03.0.tar.xz) = fd51ead4aac1d2f4684fa6e7b0ec06f0233ed21667e720a4e817e4455dd63d27
 SHA256 (inkscape.patch) = 0cb8b48ace0fb6756c931312591b5ad7681bd95e0a6eb40ad2639daca6d3603c
diff --git a/inkscape/Pkgfile b/inkscape/Pkgfile
index c3d2fb60f..9ea63ffc9 100644
--- a/inkscape/Pkgfile
+++ b/inkscape/Pkgfile
@@ -5,13 +5,15 @@
 
 name=inkscape
 version=1.0.2
-release=2
+_pversion=21.03.0
+_psoversion=108
+release=3
 source=(https://media.inkscape.org/dl/resources/file/$name-$version.tar.xz
-	https://poppler.freedesktop.org/poppler-21.02.0.tar.xz
+	https://poppler.freedesktop.org/poppler-$_pversion.tar.xz
 	inkscape.patch)
 
 poppler() {
-	cmake -S poppler-21.02.0 -B build-poppler -G Ninja \
+	cmake -S poppler-$_pversion -B build-poppler -G Ninja \
 		-D CMAKE_INSTALL_PREFIX=/usr \
 		-D CMAKE_INSTALL_LIBDIR=lib \
 		-D CMAKE_BUILD_TYPE=Release \
@@ -31,14 +33,14 @@ poppler() {
 
 	cmake --build build-poppler
 	DESTDIR=$SRC/poppler cmake --install build-poppler
-	install -D -t $PKG/usr/lib $SRC/poppler/usr/lib/libpoppler.so.107
+	install -D -t $PKG/usr/lib $SRC/poppler/usr/lib/libpoppler.so.$_psoversion
 
 	export CXXFLAGS+=" -I$SRC/poppler/usr/include -I$SRC/poppler/usr/include/poppler"
 	export PKG_CONFIG_PATH="$SRC/poppler/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
 }
 
 build() {
-	[ ! -e '/usr/lib/libpoppler.so.107' ] && poppler
+	[ ! -e "/usr/lib/libpoppler.so.$_psoversion" ] && poppler
 
 	patch -d $name-${version}_* -p1 -i $SRC/inkscape.patch
 


More information about the crux-commits mailing list