diff --git a/x11-packages/abiword/build.sh b/x11-packages/abiword/build.sh index a5ccbc4c89..08dcd27717 100644 --- a/x11-packages/abiword/build.sh +++ b/x11-packages/abiword/build.sh @@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="A free word processing program" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=3.0.5 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=http://www.abisource.com/downloads/abiword/${TERMUX_PKG_VERSION}/source/abiword-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=1257247e9970508d6d1456d3e330cd1909c4b42b25e0f0a1bc32526d6f3a21b4 TERMUX_PKG_DEPENDS="enchant, fribidi, glib, goffice, gtk3, libc++, libcairo, libgcrypt, libgsf, libical, libjpeg-turbo, libpng, librsvg, libwv, libxml2, libxslt, readline" -TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers" +TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers, g-ir-scanner" +TERMUX_PKG_DISABLE_GIR=false TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-default-plugins --enable-plugins=applix,babelfish,bmp,clarisworks,command,docbook,eml,epub,freetranslation,garble,gdict,gimp,goffice,google,hancom,hrtext,iscii,kword,latex,loadbindings,mif,mswrite,openwriter,openxml,opml,passepartout,pdb,pdf,presentation,s5,sdw,t602,urldict,wikipedia,wml,xslfo @@ -22,7 +23,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-collab-backend-tcp --disable-collab-backend-sugar --disable-collab-backend-service ---disable-introspection +--enable-introspection --without-gtk2 --with-goffice --without-redland @@ -33,7 +34,13 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" " termux_step_pre_configure() { + termux_setup_gir + autoreconf -fi LDFLAGS+=" $($CC -print-libgcc-file-name)" } + +termux_step_post_configure() { + touch ./src/g-ir-scanner +} diff --git a/x11-packages/abiword/gir/3.0.5/Abi-3.0.xml b/x11-packages/abiword/gir/3.0.5/Abi-3.0.xml new file mode 100644 index 0000000000..f7f1d268e0 --- /dev/null +++ b/x11-packages/abiword/gir/3.0.5/Abi-3.0.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +