poppler güncelleme

This commit is contained in:
cakarsu committed 2023-12-09 17:33:20 +03:00
1 parent bbb8b48b1a
commit dc54a35051
1 file changed
+25 -18
+25 -18
View File
@@ -1,16 +1,17 @@
#!/usr/bin/env bash
name='poppler'
release='1'
version='23.09.0'
release='2'
version='23.10.0'
url='https://poppler.freedesktop.org/'
description='PDF rendering library based on xpdf 3.0'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://poppler.freedesktop.org/poppler-$version.tar.xz")
depends=(fontconfig)
makedepends=()
md5sums=('def86e7c805ce427c01fa77a3c77615f')
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPL')
source=("https://poppler.freedesktop.org/poppler-${version}.tar.xz")
depends=(cairo)
makedepends=(boost cmake fontconfig gobject-introspection lcms2 libjpeg-turbo libpng libxml2 nss openjpeg
libtiff zlib)
md5sums=('3be79099d8725debef73ea07502b771a')
group=(app.text)
uses=()
arch=('x86_64')
@@ -18,20 +19,26 @@ arch=('x86_64')
cd $name-$version
setup () {
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_LIBOPENJPEG=none \
-DENABLE_BOOST=OFF \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
..
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DBUILD_QT5_TESTS=OFF \
-DBUILD_QT6_TESTS=OFF \
-DBUILD_GTK_TESTS=OFF \
-DBUILD_CPP_TESTS=OFF \
-DBUILD_MANUAL_TESTS=OFF \
-DENABLE_QT5=OFF \
-DENABLE_QT6=OFF \
-DENABLE_BOOST=OFF \
$CMAKE_CROSSOPTS
}
build () {
make -C build $jobs
cmake --build build
}
package () {
make -C build install $jobs
DESTDIR="$DESTDIR" cmake --install build
}