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