Browse Source

evas: changed hardcoded enables in .conf to enable/disable features based on what's installed

user/amery/mess
Alejandro Mery 15 years ago committed by Alejandro Mery
parent
commit
b4fa3ef841
  1. 25
      e17/evas/evas.conf

25
e17/evas/evas.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../evas/evas.conf # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -14,9 +14,26 @@
# 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 ---
var_append confopt " " "--enable-image-loader-png --enable-image-loader-jpeg \ # image loaders
--enable-image-loader-eet --enable-image-loader-edb \ for x in libpng:png libjpeg:jpeg librsvg:svg; do
--enable-font-loader-eet" 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 # enable framebuffer support by default
var_append confopt " " "--enable-fb" var_append confopt " " "--enable-fb"

Loading…
Cancel
Save