|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../ecore/ecore.conf
|
|
|
|
# Copyright (C) 2006 - 2012 The OpenSDE Project
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2004 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
for x in job con ipc; do
|
|
|
|
var_append confopt " " "--enable-ecore-$x"
|
|
|
|
done
|
|
|
|
|
|
|
|
if ! atstage toolchain && 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
|
|
|
|
y=disable
|
|
|
|
fi
|
|
|
|
var_append extraconfopt ' ' "--$y-ecore-$x"
|
|
|
|
done
|
|
|
|
|
|
|
|
# help it to detect libiconv so we can get ecore-txt
|
|
|
|
if pkginstalled libiconv; then
|
|
|
|
var_append configcache ' ' ac_cv_lib_iconv_iconv=yes
|
|
|
|
fi
|
|
|
|
|
|
|
|
# work around to always utilize other e17 headers and libs ...
|
|
|
|
var_append CC_WRAPPER_APPEND " " "-I$includedir -L$libdir"
|