Browse Source

ecore: fixed x and evas related config

user/amery/mess
Alejandro Mery 14 years ago
committed by Alejandro Mery
parent
commit
2bdc0ab8f5
1 changed files with 20 additions and 6 deletions
  1. +20
    -6
      e17/ecore/ecore.conf

+ 20
- 6
e17/ecore/ecore.conf

@ -14,17 +14,31 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- 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" var_append confopt " " "--enable-ecore-$x"
done 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 else
var_append confopt " " "--disable-ecore-${x#*:}"
y=disable
fi fi
var_append extraconfopt ' ' "--$y-ecore-$x"
done done
# help it to detect libiconv so we can get ecore-txt # help it to detect libiconv so we can get ecore-txt

Loading…
Cancel
Save