summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Thomas <gary@mlbassoc.com>2012-11-29 13:06:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-03 14:23:08 +0000
commit4f5e5e28aa57b931ed297d08756a76bbcd8258f1 (patch)
tree65e05a4d54c0f79820fc08fcc29a38b275c24aef
parent1f7d3a2e9071ff78170c06ebf58c7400a5ee09bf (diff)
downloadopenembedded-core-4f5e5e28aa57b931ed297d08756a76bbcd8258f1.tar.gz
openembedded-core-4f5e5e28aa57b931ed297d08756a76bbcd8258f1.tar.bz2
openembedded-core-4f5e5e28aa57b931ed297d08756a76bbcd8258f1.zip
gstreamer: Fix plugin builds
Not all gstreamer plugins have localized documentation trees. The commit commit f50e2984d9411a059b86d6c158e9416fceb84c3d Author: Martin Jansa <martin.jansa@gmail.com> Date: Wed Nov 28 15:59:48 2012 +0100 breaks the build for such packages because the file "po/Makefile.in.in" is not present. This change allows building without the po/ subdirectory. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
index 07b26a3a65..fc9567a3f8 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
@@ -23,5 +23,7 @@ PACKAGES_DYNAMIC += "^${PN}-.*"
# ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in, but before configure is executed
# http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
oe_runconf_prepend() {
- sed -i -e "1a\\" -e 'GETTEXT_PACKAGE = @GETTEXT_PACKAGE@' ${S}/po/Makefile.in.in
+ if [ -e ${S}/po/Makefile.in.in ]; then
+ sed -i -e "1a\\" -e 'GETTEXT_PACKAGE = @GETTEXT_PACKAGE@' ${S}/po/Makefile.in.in
+ fi
}