mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ed539d099d6ce08de6ea0dfed9ecb333 \
|
||||
"
|
||||
|
||||
SECTION = "x11/applications"
|
||||
DEPENDS = "glib-2.0 gtk+ qt4-x11-free gd gypsy librsvg-native"
|
||||
DEPENDS = "glib-2.0 gd gypsy librsvg-native"
|
||||
RDEPENDS_${PN} = " ${PN}-icons ${PN}-config "
|
||||
RDEPENDS_${PN}-gui-qml = "qt4-plugin-imageformat-svg"
|
||||
RRECOMMENDS_${PN} = "gpsd ${PN}-dbus ${PN}-speech-cmdline ${PN}-gui-internal ${PN}-graphics-gtk"
|
||||
@@ -17,12 +17,17 @@ INC_PR = "r11"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
PACKAGECONFIG ?= "qt"
|
||||
PACKAGECONFIG[fribidi] = "--enable-fribidi,--disable-fribidi,fribidi"
|
||||
PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2"
|
||||
PACKAGECONFIG[sdl] = "--enable-graphics-sdl,--disable-graphics-sdl,libsdl"
|
||||
PACKAGECONFIG[gtk] = "--enable-graphics-gtk-drawing-area --enable-gui-gtk,--disable-graphics-gtk-drawing-area --disable-gui-gtk,gtk+"
|
||||
PACKAGECONFIG[qt] = "--enable-graphics-qt-qpainter --enable-gui-qml,--disable-graphics-qt-qpainter --disable-gui-qml,qt4-x11-free"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--disable-binding-python \
|
||||
--disable-samplemap \
|
||||
--enable-avoid-unaligned \
|
||||
--enable-graphics-qt-qpainter \
|
||||
--enable-gui-qml \
|
||||
--enable-svg2png-scaling-flag=32 \
|
||||
--disable-speech-speech-dispatcher \
|
||||
--enable-cache-size=20971520 \
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
--- a/configure.in.orig 2014-05-10 15:57:18.146362110 +0200
|
||||
+++ b/configure.in 2014-05-10 15:59:27.859358845 +0200
|
||||
@@ -498,10 +498,13 @@
|
||||
AC_SUBST(FRIBIDI_CFLAGS)
|
||||
AC_SUBST(FRIBIDI_LIBS)
|
||||
|
||||
+AC_ARG_ENABLE(imlib2, [ --disable-imlib2 disable imlib2 support], imlib2=$enableval;imlib2_reason="configure parameter", imlib2=yes)
|
||||
+if test x"${imlib2}" = "xyes"; then
|
||||
PKG_CHECK_MODULES(IMLIB2, [imlib2], [imlib2_pkgconfig=yes], [imlib2_pkgconfig=no])
|
||||
if test "x$imlib2_pkgconfig" = "xyes"; then
|
||||
AC_DEFINE(HAVE_IMLIB2, 1, [Define to 1 if you have imlib2])
|
||||
fi
|
||||
+fi
|
||||
AC_SUBST(IMLIB2_CFLAGS)
|
||||
AC_SUBST(IMLIB2_LIBS)
|
||||
|
||||
@@ -7,4 +7,5 @@ PR = "${INC_PR}.3"
|
||||
S = "${WORKDIR}/${PN}"
|
||||
SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \
|
||||
file://freetype-include-path.patch \
|
||||
file://configure.add.imlib2.option.patch \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user