--- trunk/extras/compiz/compiz-0.8.4-r1.smage2 2009/12/26 21:38:32 4696 +++ trunk/extras/compiz/compiz-0.8.4-r1.smage2 2009/12/26 21:48:44 4698 @@ -53,13 +53,24 @@ # important: qt4 will be detected through pkgconfig and qt3 via QTLIB var # so the qt3 include must be called *after* qt4! # KDEDIR for out kde4 compile hack is needed, so we include kde4 -sminclude mbuild qt4 qt3 kde4 +# kde4 includes qt4 so it must be included *before* qt4! +sminclude mbuild kde4 qt4 qt3 SRC_URI=( http://releases.compiz-fusion.org/${PVER}/${SRCFILE} mirror://${PNAME}/${SRCFILE} + mirror://${PNAME}/${PNAME}-${PVER}-missing-files.patch ) +src_prepare() +{ + munpack ${SRCFILE} || die + cd ${SRCDIR} + + # add missing metadata: kcfg.xslt and kconfig.xslt + mpatch ${PNAME}-${PVER}-missing-files.patch || die +} + src_compile() { cd ${SRCDIR}