diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-05-10 16:01:25 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-05-12 08:38:30 +0200 |
commit | 90d05545a7f984378cdb97325466166420b13a77 (patch) | |
tree | 1444afe145fddbe4aaae4519b831090297d45763 /meta-oe/recipes-navigation/navit | |
parent | 601fd016266cb87b6f000f6dca347043a4e64488 (diff) | |
download | meta-openembedded-90d05545a7f984378cdb97325466166420b13a77.tar.gz |
navit: add PACKAGECONFIG for imlib2, qt, gtk, sdl
* fixes following issues from test-dependencies report:
navit/navit/latest lost dependency on fribidi
navit/navit-graphics-gtk/latest lost dependency on imlib2
navit/navit-graphics-sdl/latest lost dependency on eglibc freetype
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/navit')
-rw-r--r-- | meta-oe/recipes-navigation/navit/navit.inc | 11 | ||||
-rw-r--r-- | meta-oe/recipes-navigation/navit/navit/configure.add.imlib2.option.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-navigation/navit/navit_svn.bb | 1 |
3 files changed, 25 insertions, 3 deletions
diff --git a/meta-oe/recipes-navigation/navit/navit.inc b/meta-oe/recipes-navigation/navit/navit.inc index 8b63bba9b..eb8f43a5a 100644 --- a/meta-oe/recipes-navigation/navit/navit.inc +++ b/meta-oe/recipes-navigation/navit/navit.inc | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ed539d099d6ce08de6ea0dfed9ecb333 \ | |||
6 | " | 6 | " |
7 | 7 | ||
8 | SECTION = "x11/applications" | 8 | SECTION = "x11/applications" |
9 | DEPENDS = "glib-2.0 gtk+ qt4-x11-free gd gypsy librsvg-native" | 9 | DEPENDS = "glib-2.0 gd gypsy librsvg-native" |
10 | RDEPENDS_${PN} = " ${PN}-icons ${PN}-config " | 10 | RDEPENDS_${PN} = " ${PN}-icons ${PN}-config " |
11 | RDEPENDS_${PN}-gui-qml = "qt4-plugin-imageformat-svg" | 11 | RDEPENDS_${PN}-gui-qml = "qt4-plugin-imageformat-svg" |
12 | RRECOMMENDS_${PN} = "gpsd ${PN}-dbus ${PN}-speech-cmdline ${PN}-gui-internal ${PN}-graphics-gtk" | 12 | RRECOMMENDS_${PN} = "gpsd ${PN}-dbus ${PN}-speech-cmdline ${PN}-gui-internal ${PN}-graphics-gtk" |
@@ -17,12 +17,17 @@ INC_PR = "r11" | |||
17 | 17 | ||
18 | inherit autotools gettext | 18 | inherit autotools gettext |
19 | 19 | ||
20 | PACKAGECONFIG ?= "qt" | ||
21 | PACKAGECONFIG[fribidi] = "--enable-fribidi,--disable-fribidi,fribidi" | ||
22 | PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2" | ||
23 | PACKAGECONFIG[sdl] = "--enable-graphics-sdl,--disable-graphics-sdl,libsdl" | ||
24 | PACKAGECONFIG[gtk] = "--enable-graphics-gtk-drawing-area --enable-gui-gtk,--disable-graphics-gtk-drawing-area --disable-gui-gtk,gtk+" | ||
25 | PACKAGECONFIG[qt] = "--enable-graphics-qt-qpainter --enable-gui-qml,--disable-graphics-qt-qpainter --disable-gui-qml,qt4-x11-free" | ||
26 | |||
20 | EXTRA_OECONF += " \ | 27 | EXTRA_OECONF += " \ |
21 | --disable-binding-python \ | 28 | --disable-binding-python \ |
22 | --disable-samplemap \ | 29 | --disable-samplemap \ |
23 | --enable-avoid-unaligned \ | 30 | --enable-avoid-unaligned \ |
24 | --enable-graphics-qt-qpainter \ | ||
25 | --enable-gui-qml \ | ||
26 | --enable-svg2png-scaling-flag=32 \ | 31 | --enable-svg2png-scaling-flag=32 \ |
27 | --disable-speech-speech-dispatcher \ | 32 | --disable-speech-speech-dispatcher \ |
28 | --enable-cache-size=20971520 \ | 33 | --enable-cache-size=20971520 \ |
diff --git a/meta-oe/recipes-navigation/navit/navit/configure.add.imlib2.option.patch b/meta-oe/recipes-navigation/navit/navit/configure.add.imlib2.option.patch new file mode 100644 index 000000000..be4179261 --- /dev/null +++ b/meta-oe/recipes-navigation/navit/navit/configure.add.imlib2.option.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | --- a/configure.in.orig 2014-05-10 15:57:18.146362110 +0200 | ||
2 | +++ b/configure.in 2014-05-10 15:59:27.859358845 +0200 | ||
3 | @@ -498,10 +498,13 @@ | ||
4 | AC_SUBST(FRIBIDI_CFLAGS) | ||
5 | AC_SUBST(FRIBIDI_LIBS) | ||
6 | |||
7 | +AC_ARG_ENABLE(imlib2, [ --disable-imlib2 disable imlib2 support], imlib2=$enableval;imlib2_reason="configure parameter", imlib2=yes) | ||
8 | +if test x"${imlib2}" = "xyes"; then | ||
9 | PKG_CHECK_MODULES(IMLIB2, [imlib2], [imlib2_pkgconfig=yes], [imlib2_pkgconfig=no]) | ||
10 | if test "x$imlib2_pkgconfig" = "xyes"; then | ||
11 | AC_DEFINE(HAVE_IMLIB2, 1, [Define to 1 if you have imlib2]) | ||
12 | fi | ||
13 | +fi | ||
14 | AC_SUBST(IMLIB2_CFLAGS) | ||
15 | AC_SUBST(IMLIB2_LIBS) | ||
16 | |||
diff --git a/meta-oe/recipes-navigation/navit/navit_svn.bb b/meta-oe/recipes-navigation/navit/navit_svn.bb index 2661507db..eff1eb32f 100644 --- a/meta-oe/recipes-navigation/navit/navit_svn.bb +++ b/meta-oe/recipes-navigation/navit/navit_svn.bb | |||
@@ -7,4 +7,5 @@ PR = "${INC_PR}.3" | |||
7 | S = "${WORKDIR}/${PN}" | 7 | S = "${WORKDIR}/${PN}" |
8 | SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \ | 8 | SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \ |
9 | file://freetype-include-path.patch \ | 9 | file://freetype-include-path.patch \ |
10 | file://configure.add.imlib2.option.patch \ | ||
10 | " | 11 | " |