|
|
|
@ -34,16 +34,15 @@ qt_preconf() {
|
|
|
|
|
hook_add preconf 5 qt_preconf |
|
|
|
|
|
|
|
|
|
# Qt only supports some selected options ... |
|
|
|
|
confopt="-prefix $root/$prefix \ |
|
|
|
|
-bindir $root/$bindir \ |
|
|
|
|
-headerdir $root/$includedir \ |
|
|
|
|
-libdir $root/$libdir \ |
|
|
|
|
-plugindir $root/$libdir/$pkg/plugins \ |
|
|
|
|
-datadir $root/$datadir \ |
|
|
|
|
-docdir $root/$docdir \ |
|
|
|
|
-translationdir $root/$datadir/translations \ |
|
|
|
|
-thread -qt-gif -system-zlib \ |
|
|
|
|
-system-libmng -system-libpng -system-libjpeg -xft -xrender" |
|
|
|
|
confopt="-prefix $root/$prefix -bindir $root/$bindir \ |
|
|
|
|
-libdir $root/$libdir -docdir $root/$docdir \ |
|
|
|
|
-headerdir $root/$includedir \ |
|
|
|
|
-plugindir $root/$libdir/$pkg/plugins \ |
|
|
|
|
-datadir $root/$datadir \ |
|
|
|
|
-translationdir $root/$datadir/translations \ |
|
|
|
|
-sysconfdir $root/$sysconfdir -v \ |
|
|
|
|
-thread -qt-gif -system-zlib \ |
|
|
|
|
-system-libmng -system-libpng -system-libjpeg -xft -xrender" |
|
|
|
|
|
|
|
|
|
[[ $libdir = *lib64* ]] && |
|
|
|
|
var_append confopt ' ' '-platform linux-g++-64' |
|
|
|
|