|
|
@ -32,9 +32,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 -bindir $root/$bindir -libdir $root/$libdir \ |
|
|
|
confopt="-prefix $root/$prefix -bindir $root/$bindir \ |
|
|
|
-thread -qt-gif -system-zlib \ |
|
|
|
-libdir $root/$libdir -docdir $root/$docdir \ |
|
|
|
-system-libmng -system-libpng -system-libjpeg -xft -xrender" |
|
|
|
-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* ]] && |
|
|
|
[[ $libdir = *lib64* ]] && |
|
|
|
var_append confopt ' ' '-platform linux-g++-64' |
|
|
|
var_append confopt ' ' '-platform linux-g++-64' |
|
|
|