Skip to content

Commit

Permalink
poppler: Build introspection data
Browse files Browse the repository at this point in the history
  • Loading branch information
xtkoba committed Oct 24, 2022
1 parent e1e2634 commit c96f4a7
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/poppler/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ TERMUX_PKG_REVISION=3
_POPPLER_SOVERSION=120
TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=813fb4b90e7bda63df53205c548602bae728887a60f4048aae4dbd9b1927deff
TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, libc++, libcairo, libcurl, libiconv, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, openjpeg-tools, zlib"
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, libc++, libcairo, libcurl, libiconv, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, zlib"
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers, g-ir-scanner, openjpeg-tools"
TERMUX_PKG_BREAKS="poppler-dev, poppler-qt (<< 22.04.0-3), poppler-qt (<< ${TERMUX_PKG_VERSION})"
TERMUX_PKG_REPLACES="poppler-dev, poppler-qt (<< 22.04.0-3)"
TERMUX_PKG_DISABLE_GIR=false
#texlive needs the xpdf headers
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DENABLE_GLIB=ON
-DENABLE_GOBJECT_INTROSPECTION=OFF
-DENABLE_GOBJECT_INTROSPECTION=ON
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
-DENABLE_QT5=OFF
-DFONT_CONFIGURATION=fontconfig
Expand All @@ -36,5 +37,7 @@ termux_step_pre_configure() {
termux_error_exit "SOVERSION guard check failed (CMakeLists.txt: \"${sover_cmake}\")."
fi

termux_setup_gir

CPPFLAGS+=" -DCMS_NO_REGISTER_KEYWORD"
}
Loading

0 comments on commit c96f4a7

Please sign in to comment.