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
+5 -3
View File
@@ -1,7 +1,7 @@
name: poppler
description: PDF rendering library based on the xpdf-3.0 code base
version: 25.10.0
revision: 1
revision: 2
url: https://poppler.freedesktop.org/
license: GPL2-only,GPL3-or-later,HPND-sell-variant,LGPL2-or-later,LGPL2.1-or-later,MIT
architecture: any
@@ -12,10 +12,8 @@ depends:
- fontconfig
- freetype2
- gcc-libs
- glib
- glibc
- gpgmepp
- icu
- lcms2
- libjpeg-turbo
- libpng
@@ -27,7 +25,11 @@ depends:
make_depends:
- boost
- cmake
- glib
- gobject-introspection
- gtk-doc
- gtk3
- icu
- poppler-data
- python3
- qt6-base
+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/
}