From patchwork Thu Nov 29 13:06:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: gstreamer: Fix plugin builds Date: Thu, 29 Nov 2012 13:06:09 -0000 From: Gary Thomas X-Patchwork-Id: 39875 Message-Id: <1354194369-17500-1-git-send-email-gary@mlbassoc.com> To: openembedded-core@lists.openembedded.org Not all gstreamer plugins have localized documentation trees. The commit commit f50e2984d9411a059b86d6c158e9416fceb84c3d Author: Martin Jansa 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 --- meta/recipes-multimedia/gstreamer/gst-plugins.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc index 07b26a3..fc9567a 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 }