summaryrefslogtreecommitdiff
path: root/classes/gettext.bbclass
blob: b2ff2849fabf3725db1148fbb1a86ee75abc088f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEPENDS =+ "gettext-native"
def gettext_after_parse(d):
    # Remove the NLS bits if USE_NLS is no.
    if bb.data.getVar('USE_NLS', d, 1) == 'no':
        cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d)
        cfg += " --disable-nls"
        depends = bb.data.getVar('DEPENDS', d, 1) or ""
        bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d)
        bb.data.setVar('EXTRA_OECONF', cfg, d)

python () {
    gettext_after_parse(d)
}

DEPENDS =+ "gettext-native"
EXTRA_OECONF += "--enable-nls"
ght'> into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/02/09 02:42:08+01:00 uni-frankfurt.de!mickeyl update python-numeric to v23.7 2005/02/09 02:02:21+01:00 uni-frankfurt.de!mickeyl fix qwt 4.2 compilage against 2.3.10. Yes, QT_VERSION again (or still *sigh*) 2005/02/09 01:44:39+01:00 uni-frankfurt.de!mickeyl fix PyQt compilage against QtE 2.3.10 (QT_VERSION again *sigh*) BKrev: 4209eda4ikLKONxgarptvjIfCJ5yOA 2005-02-08make python 2.4 as default, move python-sip into python/, make sip4 as defaultMichael Lauer1 BKrev: 4208ff7b-sgl7QbT_1xhYPmdi-Oy4g 2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson1 into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA