diff --git a/pkg.info b/pkg.info index acd6038..e8a9871 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index 74fd479..9c11e57 100644 --- a/source.sh +++ b/source.sh @@ -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/ }