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')
+}