From: Graeme Gregory Date: Mon, 17 Apr 2006 11:53:12 +0000 (+0000) Subject: abiword-plugins_2.4.4.bb : Add patch to make it build with poppler thats X-Git-Tag: Release-2010-05/1~9453^2~1898^2~8^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f801c3fcd3e0fedca0525125fc6b5da55c8fbc;p=openembedded.git abiword-plugins_2.4.4.bb : Add patch to make it build with poppler thats in the repo. Break the plugins out into a package each for better distribution. --- diff --git a/packages/abiword/abiword-plugins_2.4.4.bb b/packages/abiword/abiword-plugins_2.4.4.bb index 89f50d0495..645db1c96b 100644 --- a/packages/abiword/abiword-plugins_2.4.4.bb +++ b/packages/abiword/abiword-plugins_2.4.4.bb @@ -4,21 +4,23 @@ MAINTAINER="Koen Kooi " LICENSE="GPLv2" DEPENDS = "abiword libwpd librsvg goffice poppler" -PR="r0" +PR="r1" -SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" +SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz \ + file://abiword-plugin-pdf-poppler.patch;patch=1;pnum=2" S = "${WORKDIR}/abiword-${PV}/abiword-plugins" -FILES_${PN} += " ${datadir}/icons/* \ -${datadir}/AbiSuite-2.4/ \ -${libdir}/AbiWord-2.4/plugins/*.so \ -" - inherit autotools PARALLEL_MAKE="" EXTRA_OECONF = "" +PACKAGES_DYNAMIC = "abiword-plugin-*" + +python populate_packages_prepend () { + abiword_libdir = bb.data.expand('${libdir}/AbiWord-2.4/plugins', d) + do_split_packages(d, abiword_libdir, '^libAbi(.*)\.so$', 'abiword-plugin-%s', 'Abiword plugin for %s') +}