Update dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: poppler
|
name: poppler
|
||||||
description: PDF rendering library based on the xpdf-3.0 code base
|
description: PDF rendering library based on the xpdf-3.0 code base
|
||||||
version: 25.10.0
|
version: 25.10.0
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://poppler.freedesktop.org/
|
url: https://poppler.freedesktop.org/
|
||||||
license: GPL2-only,GPL3-or-later,HPND-sell-variant,LGPL2-or-later,LGPL2.1-or-later,MIT
|
license: GPL2-only,GPL3-or-later,HPND-sell-variant,LGPL2-or-later,LGPL2.1-or-later,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -12,10 +12,8 @@ depends:
|
|||||||
- fontconfig
|
- fontconfig
|
||||||
- freetype2
|
- freetype2
|
||||||
- gcc-libs
|
- gcc-libs
|
||||||
- glib
|
|
||||||
- glibc
|
- glibc
|
||||||
- gpgmepp
|
- gpgmepp
|
||||||
- icu
|
|
||||||
- lcms2
|
- lcms2
|
||||||
- libjpeg-turbo
|
- libjpeg-turbo
|
||||||
- libpng
|
- libpng
|
||||||
@@ -27,7 +25,11 @@ depends:
|
|||||||
make_depends:
|
make_depends:
|
||||||
- boost
|
- boost
|
||||||
- cmake
|
- cmake
|
||||||
|
- glib
|
||||||
- gobject-introspection
|
- gobject-introspection
|
||||||
|
- gtk-doc
|
||||||
|
- gtk3
|
||||||
|
- icu
|
||||||
- poppler-data
|
- poppler-data
|
||||||
- python3
|
- python3
|
||||||
- qt6-base
|
- qt6-base
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-DTESTDATADIR=$PWD/testfiles \
|
||||||
-D TESTDATADIR=$PWD/testfiles \
|
-DENABLE_GTK_DOC=ON \
|
||||||
-D ENABLE_QT5=OFF \
|
-DENABLE_QT5=OFF \
|
||||||
-D ENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,10 +19,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
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 package license
|
||||||
install -Dm644 "$BPM_SOURCE"/{COPYING,COPYING3,README-XPDF,README.contributors} -t "$BPM_OUTPUT"/usr/share/licenses/poppler/
|
install -Dm644 "$BPM_SOURCE"/{COPYING,COPYING3,README-XPDF,README.contributors} -t "$BPM_OUTPUT"/usr/share/licenses/poppler/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user