diff --git a/e17/evas/evas.conf b/e17/evas/evas.conf index 3b0a90264..141bd3615 100644 --- a/e17/evas/evas.conf +++ b/e17/evas/evas.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../evas/evas.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -14,9 +14,26 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -var_append confopt " " "--enable-image-loader-png --enable-image-loader-jpeg \ ---enable-image-loader-eet --enable-image-loader-edb \ ---enable-font-loader-eet" +# image loaders +for x in libpng:png libjpeg:jpeg librsvg:svg; do + if pkginstalled ${x%:*}; then + y=enable + else + y=disable + fi + + var_append extraconfopt ' ' "--$y-image-loader-${x#*:}" +done + +# eet +if pkginstalled eet; then + y=enable +else + y=disable +fi +for x in image font; do + var_append extraconfopt ' ' "--$y-$x-loader-eet" +done # enable framebuffer support by default var_append confopt " " "--enable-fb"