diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-19 17:32:08 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-19 17:32:08 +0000 |
commit | 9a17103f83b66b0280dc02a6f8d1d9c17b9979c6 (patch) | |
tree | 9fd63f97082a58cbd53007160a32ec2b72232451 /classes/sip.bbclass | |
parent | bb59f9f0c2c87057ca814be33c12e7422b74e0c8 (diff) | |
parent | ec31739549849604c81a09b11568946c6ca82049 (diff) |
merge of '33d36c3f90d3f3338d861f53c982c88ecc127201'
and '4fe73431c4f4506a83505d3043fbedb9763f1983'
Diffstat (limited to 'classes/sip.bbclass')
-rw-r--r-- | classes/sip.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/sip.bbclass b/classes/sip.bbclass index adf179b130..a258fda629 100644 --- a/classes/sip.bbclass +++ b/classes/sip.bbclass @@ -1,11 +1,11 @@ # Build Class for Sip based Python Bindings # (C) Michael 'Mickey' Lauer <mickey@Vanille.de> # - -DEPENDS =+ "sip-native python-sip" +DEPENDS =+ "sip-native" +RDEPENDS += "python-sip" # default stuff, do not uncomment -# EXTRA_SIPTAGS = "-tWS_QWS -tQtPE_1_6_0 -tQt_2_3_1" +# EXTRA_SIPTAGS = "-tWS_X11 -tQt_4_3_0" sip_do_generate() { if [ -z "${SIP_MODULES}" ]; then @@ -33,10 +33,10 @@ sip_do_generate() { for module in $MODULES do - install -d ${module}/ - oenote "calling 'sip -I sip -I ${STAGING_SIPDIR} ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.pro.in sip/${module}/${module}mod.sip'" - sip -I ${STAGING_SIPDIR} -I sip ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.sbf sip/${module}/${module}mod.sip \ - || die "Error calling sip on ${module}" + install -d ${module}/ + echo "calling 'sip4 -I sip -I ${STAGING_SIPDIR} ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.pro.in sip/${module}/${module}mod.sip'" + sip4 -I ${STAGING_SIPDIR} -I sip ${SIPTAGS} ${FEATURES} -c ${module} -b ${module}/${module}.sbf \ + sip/${module}/${module}mod.sip || die "Error calling sip on ${module}" cat ${module}/${module}.sbf | sed s,target,TARGET, \ | sed s,sources,SOURCES, \ | sed s,headers,HEADERS, \ |