Update dependencies

This commit is contained in:
2025-11-01 20:50:40 +02:00
parent 278d4a7fd6
commit 09637b56c0
2 changed files with 11 additions and 13 deletions
+6 -10
View File
@@ -5,12 +5,12 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
cmake -B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-D TESTDATADIR=$PWD/testfiles \
-D ENABLE_QT5=OFF \
-D ENABLE_UNSTABLE_API_ABI_HEADERS=ON
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DTESTDATADIR=$PWD/testfiles \
-DENABLE_GTK_DOC=ON \
-DENABLE_QT5=OFF \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
cmake --build build
}
@@ -19,10 +19,6 @@ build() {
package() {
DESTDIR="$BPM_OUTPUT" cmake --install build
# Install documentation
install -dm755 "$BPM_OUTPUT"/usr/share/doc/poppler
cp -r "$BPM_SOURCE"/glib/reference/html "$BPM_OUTPUT"/usr/share/doc/poppler
# Install package license
install -Dm644 "$BPM_SOURCE"/{COPYING,COPYING3,README-XPDF,README.contributors} -t "$BPM_OUTPUT"/usr/share/licenses/poppler/
}