|
|
|
@ -32,9 +32,15 @@ qt_preconf() {
|
|
|
|
|
hook_add preconf 5 qt_preconf |
|
|
|
|
|
|
|
|
|
# Qt only supports some selected options ... |
|
|
|
|
confopt="-prefix $root/$prefix -bindir $root/$bindir -libdir $root/$libdir \ |
|
|
|
|
-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/$pkg \ |
|
|
|
|
-plugindir $root/$libdir/$pkg/plugins \ |
|
|
|
|
-datadir $root/$datadir/$pkg \ |
|
|
|
|
-translationdir $root/$datadir/$pkg/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' |
|
|
|
|