forked from ports/contrib
inkscape: updated cmake syntax
This commit is contained in:
parent
a0bb7c0c87
commit
d5964bbeec
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3+u66kcD82jW2l0jBDBz+RVAmYSMiYHZdsMz7cYOIMsTJNZb3fW3OA1A41u3ZsVJwe4GIdXR2forv7LQ4iZGywE=
|
||||
SHA256 (Pkgfile) = c508212882e1cb47b226023c2b89a72f435a2dfba6440c0a08d785fe78bfaaf7
|
||||
RWSagIOpLGJF379enhhAyqPRpHktVVPmM1JNnWbjLKdrXJetHfMvpbhNmUWHzmsKKeqr3wUGnXO+aC2RJgbCUhVyjK0l1bIpqgk=
|
||||
SHA256 (Pkgfile) = 3c5140026d077925331020e193f6ca52beb8e446b524a06f7a083db3e0bab697
|
||||
SHA256 (.footprint) = 207a968d87902372405b30a1e2bfaf21396f6ba21d14628eb77d7435936981ce
|
||||
SHA256 (inkscape-1.0.1.tar.xz) = cf9295edf46a633caf3aac0562364a24aef7cd6294601365aca38aeead2d57c2
|
||||
SHA256 (poppler-20.09.0.tar.xz) = 4ed6eb5ddc4c37f2435c9d78ff9c7c4036455aea3507d1ce8400070aab745363
|
||||
|
@ -14,6 +14,9 @@ poppler() {
|
||||
cmake -Spoppler-20.09.0 -Bbuild-poppler -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
|
||||
-DENABLE_UTILS=ON \
|
||||
-DENABLE_SPLASH=ON \
|
||||
@ -23,10 +26,11 @@ poppler() {
|
||||
-DENABLE_ZLIB=ON \
|
||||
-DENABLE_CMS=lcms2 \
|
||||
-DENABLE_LIBOPENJPEG=none \
|
||||
-DWITH_NSS3=OFF
|
||||
-DWITH_NSS3=OFF \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build-poppler
|
||||
DESTDIR=$SRC/poppler cmake --build build-poppler --target install
|
||||
DESTDIR=$SRC/poppler cmake --install build-poppler
|
||||
install -D -t $PKG/usr/lib $SRC/poppler/usr/lib/libpoppler.so.102
|
||||
|
||||
export CXXFLAGS+=" -I$SRC/poppler/usr/include -I$SRC/poppler/usr/include/poppler"
|
||||
@ -41,8 +45,12 @@ build() {
|
||||
export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig:$PKG_CONFIG_PATH"
|
||||
|
||||
cmake -S$name-${version}_2020-09-07_3bc2e813f5 -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-Wno-dev
|
||||
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
Loading…
x
Reference in New Issue
Block a user