1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../evas/evas.conf
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 # does not correctly locate libX11 itself
17 var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11`"
20 pkginstalled libpng || var_append confopt ' ' '--disable-image-loader-png'
21 pkginstalled libjpeg || var_append confopt ' ' '--disable-image-loader-jpeg'
22 pkginstalled libtiff || var_append confopt ' ' '--disable-image-loader-tiff'
23 var_append confopt ' ' '--disable-image-loader-gif'
24 var_append confopt ' ' '--enable-image-loader-eet --enable-image-loader-edb --enable-image-loader-svg'
27 var_append confopt ' ' '--enable-fb'
29 # DirectFB display engine
30 pkginstalled directfb && var_append confopt ' ' "--enable-directfb"
33 pkginstalled libsdl && var_append confopt ' ' "--enable-sdl"
35 pkginstalled libx11 && var_append confopt ' ' "--enable-software-xlib"
36 #pkginstalled libxcb && var_append confopt ' ' "--enable-software-xcb"
39 pkginstalled mesa && var_append confopt ' ' "--enable-gl-xlib"
40 #pkginstalled mesa && var_append confopt ' ' "--enable-gl-xcb"
42 # Cairo X11 - b0rken as of r39006
43 var_append confopt ' ' "--disable-cairo-x11"
44 #if pkginstalled cairo; then
45 # var_append confopt ' ' "--enable-cairo-x11"
46 # var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix includedir cairo)"
49 if pkginstalled fontconfig; then
50 pkgprefix -t fontconfig
51 var_append confopt ' ' "--enable-fontconfig"
52 var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix includedir fontconfig)"
54 var_append confopt ' ' "--disable-fontconfig"