diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-05 16:03:45 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-06 12:40:27 +0200 |
commit | fc1ee271f457ae2dd0ec50b4d2f8caf5b01a2cbe (patch) | |
tree | 9fd7896f84d19908f29ed4415f59fd0911c29578 | |
parent | 2ff8e7e86aedb0ec3aaa1186e46aa145da1f379c (diff) | |
download | meta-openembedded-fc1ee271f457ae2dd0ec50b4d2f8caf5b01a2cbe.tar.gz |
pidgin: add PACKAGECONFIGs
* disable gstreamer and vv, because gstreamer 0.10 is in meta-multimedia now
* disable farsight2/farstream, because farsight2 is blacklisted
* don't enable X11 support without x11 in DISTRO_FEATURES
* allow to disable all UI, useful for DISTROs who want just the purple libraries
like LuneOS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin_2.10.12.bb | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.10.12.bb b/meta-oe/recipes-support/pidgin/pidgin_2.10.12.bb index 9133c1ce2..ac0871fb4 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.10.12.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.10.12.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "multi-protocol instant messaging client" | |||
2 | SECTION = "x11/network" | 2 | SECTION = "x11/network" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
5 | DEPENDS = "python startup-notification avahi gtk+ ncurses gnutls virtual/libintl gstreamer dbus intltool-native farsight2 libidn libxml2 gconf dbus-glib" | 5 | DEPENDS = "python virtual/libintl intltool-native libxml2 gconf" |
6 | 6 | ||
7 | inherit autotools gettext pkgconfig gconf perlnative | 7 | inherit autotools gettext pkgconfig gconf perlnative |
8 | 8 | ||
@@ -16,18 +16,33 @@ SRC_URI = "\ | |||
16 | SRC_URI[md5sum] = "14e0f5cfb2ed065e4dc80391a806ac76" | 16 | SRC_URI[md5sum] = "14e0f5cfb2ed065e4dc80391a806ac76" |
17 | SRC_URI[sha256sum] = "2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd" | 17 | SRC_URI[sha256sum] = "2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd" |
18 | 18 | ||
19 | PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \ | ||
21 | " | ||
22 | PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2" | ||
23 | # --disable-gstreamer compile without GStreamer audio support | ||
24 | # --disable-gstreamer-video | ||
25 | # compile without GStreamer 1.0 Video Overlay support | ||
26 | # --disable-gstreamer-interfaces | ||
27 | # compile without GStreamer 0.10 interface support | ||
28 | # --with-gstreamer=<version> | ||
29 | # compile with GStreamer 0.10 or 1.0 interface | ||
30 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" | ||
31 | PACKAGECONFIG[vv] = "--enable-vv,--disable-vv,gstreamer" | ||
32 | PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn" | ||
33 | PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+" | ||
34 | PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11" | ||
35 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" | ||
36 | PACKAGECONFIG[consoleui] = "--enable-consoleui --with-ncurses-headers=${STAGING_INCDIR},--disable-consoleui,ncurses" | ||
37 | PACKAGECONFIG[gnutls] = "--enable-gnutls --with-gnutls-includes=${STAGING_INCDIR} --with-gnutls-libs=${STAGING_LIBDIR},--disable-gnutls,gnutls" | ||
38 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib" | ||
39 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | ||
40 | |||
19 | EXTRA_OECONF = " \ | 41 | EXTRA_OECONF = " \ |
20 | --enable-vv \ | ||
21 | --disable-perl \ | 42 | --disable-perl \ |
22 | --disable-tcl \ | 43 | --disable-tcl \ |
23 | --disable-gevolution \ | 44 | --disable-gevolution \ |
24 | --disable-schemas-install \ | 45 | --disable-schemas-install \ |
25 | --x-includes=${STAGING_INCDIR} \ | ||
26 | --x-libraries=${STAGING_LIBDIR} \ | ||
27 | --enable-gnutls=yes \ | ||
28 | --with-ncurses-headers=${STAGING_INCDIR} \ | ||
29 | --with-gnutls-includes=${STAGING_INCDIR} \ | ||
30 | --with-gnutls-libs=${STAGING_LIBDIR} \ | ||
31 | --disable-gtkspell \ | 46 | --disable-gtkspell \ |
32 | --disable-meanwhile \ | 47 | --disable-meanwhile \ |
33 | --disable-nm \ | 48 | --disable-nm \ |