You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.8 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../evas/evas.conf
# Copyright (C) 2006 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 ---
var_append confopt " " "--enable-image-loader-png --enable-image-loader-jpeg \
--enable-image-loader-eet --enable-image-loader-edb \
--enable-font-loader-eet"
# enable framebuffer support by default
var_append confopt " " "--enable-fb"
# check for directfb
if pkginstalled directfb ; then
var_append confopt " " "--enable-directfb"
fi
# check for xorg
if pkginstalled xorg-server ; then
var_append confopt " " "--x-includes=$( pkgprefix includedir xorg-server )"
var_append confopt " " "--x-libraries=$( pkgprefix libdir xorg-server )"
fi
# check if we can enable the OpenGL X11 display engine
pkginstalled mesa && var_append confopt ' ' "--enable-gl-x11"
# check if we can enable the Cairo X11 support
if pkginstalled cairo ; then
var_append confopt ' ' "--enable-cairo-x11"
var_append GCC_WRAPPER_APPEND ' ' "`pkg-config cairo --cflags`"
fi
var_append GCC_WRAPPER_APPEND ' ' "-I$includedir"
if pkginstalled fontconfig ; then
pkgprefix -t fontconfig
var_append confopt ' ' "--enable-fontconfig"
var_append GCC_WRAPPER_APPEND ' ' "`pkg-config fontconfig --cflags`"
else
var_append confopt ' ' "--disable-fontconfig"
fi