Patchwork [WIP,45/66] gnuplot: Add PACKAGECONFIG for cairo

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 3:51 p.m.
Message ID <0b2dee7382ae4335a4959e075b12bf7d9e17b7da.1377791378.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/57009/
State Accepted, archived
Commit 784427fd2db4b32cb62b2f02ad0645c177b588a1
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 3:51 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-extended/gnuplot/gnuplot.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc b/meta-oe/recipes-extended/gnuplot/gnuplot.inc
index b72bbd7..96d6ee2 100644
--- a/meta-oe/recipes-extended/gnuplot/gnuplot.inc
+++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc
@@ -4,12 +4,15 @@  HOMEPAGE = "http://www.gnuplot.info/"
 SECTION = "console/scientific"
 LICENSE = "BSD-4"
 LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
-DEPENDS = "virtual/libx11 gd cairo readline"
+DEPENDS = "virtual/libx11 gd readline"
 
 inherit autotools
 
 acpaths = ""
 
+PACKAGECONFIG ??= "cairo"
+PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
+
 EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \
                 --without-lisp-files \
                 --without-tutorial \