forked from ports/contrib
inkscape: update for poppler
This commit is contained in:
parent
0048ff9be1
commit
695c0e8ed6
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zylE2B30XaIAB9LOuvqLT8R2rD8ISbnkM6BI8trR5JYZ9RX+ROMwb2eBdkUj4ITIGB8NH5ULq+/mypt5BsIHwY=
|
||||
SHA256 (Pkgfile) = c94fff4c2cee4e11e6db3105c1b849f707d15ee84a376b78eb5316f7cb372b2c
|
||||
RWSagIOpLGJF3xtrLPduqXDiZJHP9k16fRmFd0pcHxAu8sKGh1sFYT6W0bS7wKGIrsfNHxWQ7ts8A5CxbFzPJ9DNlD2J9eNfIAA=
|
||||
SHA256 (Pkgfile) = 787021593a0ef2bf7749d224ce747ab35bcafbeca1a256aedec4b5b123fddf4e
|
||||
SHA256 (.footprint) = a24437cdb60a602d0ed1b310589bc543f0144abb6e7790630cab834fc4128dd3
|
||||
SHA256 (inkscape-1.0.2.tar.xz) = da3e230511a08cbf21e86710d161458594fea87867e9157b67ed01a04ea2798a
|
||||
SHA256 (poppler-21.01.0.tar.xz) = 016dde34e5f868ea98a32ca99b643325a9682281500942b7113f4ec88d20e2f3
|
||||
SHA256 (poppler-21.02.0.tar.xz) = 5c14759c99891e6e472aced6d5f0ff1dacf85d80cd9026d365c55c653edf792c
|
||||
SHA256 (inkscape.patch) = 0cb8b48ace0fb6756c931312591b5ad7681bd95e0a6eb40ad2639daca6d3603c
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
name=inkscape
|
||||
version=1.0.2
|
||||
release=1
|
||||
release=2
|
||||
source=(https://media.inkscape.org/dl/resources/file/$name-$version.tar.xz
|
||||
https://poppler.freedesktop.org/poppler-21.01.0.tar.xz
|
||||
https://poppler.freedesktop.org/poppler-21.02.0.tar.xz
|
||||
inkscape.patch)
|
||||
|
||||
poppler() {
|
||||
cmake -S poppler-21.01.0 -B build-poppler -G Ninja \
|
||||
cmake -S poppler-21.02.0 -B build-poppler -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
@ -31,14 +31,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.102
|
||||
install -D -t $PKG/usr/lib $SRC/poppler/usr/lib/libpoppler.so.107
|
||||
|
||||
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.106' ] && poppler
|
||||
[ ! -e '/usr/lib/libpoppler.so.107' ] && poppler
|
||||
|
||||
patch -d $name-${version}_* -p1 -i $SRC/inkscape.patch
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user