2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="poppler"
|
2023-05-09 19:21:47 +00:00
|
|
|
PKG_VERSION="adf710ee"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
2023-04-23 02:06:49 +00:00
|
|
|
PKG_SITE="https://gitlab.freedesktop.org/poppler/poppler"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain zlib libpng libjpeg-turbo fontconfig boost"
|
|
|
|
PKG_LONGDESC="This is Poppler, a library for rendering PDF files, and examining or modifying their structure."
|
|
|
|
PKG_TOOLCHAIN="cmake"
|
|
|
|
|
2022-08-09 12:13:56 +00:00
|
|
|
pre_configure_target() {
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=release \
|
|
|
|
-DENABLE_LIBOPENJPEG=none \
|
|
|
|
-DENABLE_GLIB=ON \
|
|
|
|
-DENABLE_QT5=off \
|
|
|
|
-DENABLE_CPP=off"
|
|
|
|
|
|
|
|
# Disable "gobject-introspection"
|
|
|
|
sed -i "s|set(HAVE_INTROSPECTION \${INTROSPECTION_FOUND})|set(HAVE_INTROSPECTION "NO")|g" ${PKG_BUILD}/CMakeLists.txt
|
|
|
|
}
|
2022-02-05 14:23:32 +00:00
|
|
|
|