scribus: fixed cmake flags

This commit is contained in:
Tim Biermann 2020-12-07 00:04:14 +00:00
parent 4041364e5b
commit fccaa4f7b4
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36VRXT9RIbvsIeKNeieuV9+sVBI7j8wzsWJk8vskGIsdD9sxqSyJGBNReEebHXqKtd3cSLaRVhiWxKNfKJDdQQM=
SHA256 (Pkgfile) = 6f211f9d7e49abd7ca847dfc1ad77d71255575f560d79c798849a158a4816dd2
RWSagIOpLGJF313m6c4k1hmQ4N4WX6W5eXikeBuJPJrJRpU2a5Jgb10zrUjU85LYxICvKa1iknGqCvwn3801/qkNKKvQVMQKgg0=
SHA256 (Pkgfile) = b8e44e47d7209bdcf909c5441c71615a9c57f20fe12aae0a1a7b5d2787372838
SHA256 (.footprint) = 833e7fc010236a1ab333bd103b2d72b50fa75565c720ad10b54274d6de0678a1
SHA256 (scribus-1.5.6.1.tar.xz) = d4257695539cfa40dead8abdaf04c51e34d4d74bcad5a2c934d08e6e9d43b7ab
SHA256 (poppler-0.90.0.tar.xz) = 94edb0ad3330b74d22caac807aa501e9cc61cbf45a8010625670428b51989685

View File

@ -15,8 +15,8 @@ poppler() {
-D CMAKE_INSTALL_PREFIX=$SRC/poppler \
-D CMAKE_INSTALL_LIBDIR=$SRC/poppler/lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D ENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-D ENABLE_UTILS=ON \
-D ENABLE_SPLASH=ON \
@ -53,8 +53,8 @@ build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build