|
|
@ -14,17 +14,31 @@ |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
for x in evas job con ipc \ |
|
|
|
fb evas-fb; do |
|
|
|
for x in job con ipc; do |
|
|
|
var_append confopt " " "--enable-ecore-$x" |
|
|
|
done |
|
|
|
|
|
|
|
for x in libx11:x mesa:evas-gl; do |
|
|
|
if pkginstalled ${x%:*}; then |
|
|
|
var_append confopt " " "--enable-ecore-${x#*:}" |
|
|
|
if pkginstalled libx11; then |
|
|
|
pkgprefix -t libx11 |
|
|
|
var_append extraconfopt ' ' '--enable-ecore-x' |
|
|
|
var_append extraconfopt ' ' "--x-includes=$(pkgprefix -r includedir libx11)" |
|
|
|
var_append extraconfopt ' ' "--x-libraries=$(pkgprefix -r libdir libx11)" |
|
|
|
else |
|
|
|
var_append extraconfopt ' ' '--disable-ecore-x' |
|
|
|
fi |
|
|
|
|
|
|
|
for x in evas fb evas-fb evas-gl; do |
|
|
|
y=enable |
|
|
|
if pkginstalled evas; then |
|
|
|
if [ "$x" = 'evas-gl' ]; then |
|
|
|
if ! pkginstalled mesa; then |
|
|
|
y=disable |
|
|
|
fi |
|
|
|
fi |
|
|
|
else |
|
|
|
var_append confopt " " "--disable-ecore-${x#*:}" |
|
|
|
y=disable |
|
|
|
fi |
|
|
|
var_append extraconfopt ' ' "--$y-ecore-$x" |
|
|
|
done |
|
|
|
|
|
|
|
# help it to detect libiconv so we can get ecore-txt |
|
|
|