Fix game manual bug (poppler).
This commit is contained in:
parent
d3c575a32b
commit
eb8edeecdf
1 changed files with 11 additions and 9 deletions
|
@ -4,8 +4,7 @@
|
|||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="poppler"
|
||||
PKG_VERSION="5d3e71c8215997a96d2ade7272217087f7e59fe2"
|
||||
PKG_SHA256="01575e4c1510c657839e742cfeabdcbd8d99dd9e9cc3dff74748643a3e7ab7d9"
|
||||
PKG_VERSION="12853d2"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/freedesktop/poppler"
|
||||
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
|
||||
|
@ -13,11 +12,14 @@ 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"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DENABLE_LIBOPENJPEG=none"
|
||||
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
|
||||
}
|
||||
|
||||
#pre_configure_target() {
|
||||
#}
|
||||
|
||||
#post_makeinstall_target() {
|
||||
# rm -rf $INSTALL/usr/bin
|
||||
#}
|
||||
|
|
Loading…
Reference in a new issue