Lines 92-99
Link Here
|
92 |
use truetype && mycmakeargs="${mycmakeargs} |
92 |
use truetype && mycmakeargs="${mycmakeargs} |
93 |
-DPL_FREETYPE_FONT_PATH:PATH=/usr/share/fonts/freefont-ttf" |
93 |
-DPL_FREETYPE_FONT_PATH:PATH=/usr/share/fonts/freefont-ttf" |
94 |
|
94 |
|
95 |
use wxwindows && mycmakeargs="${mycmakeargs} |
95 |
if use wxwindows; then |
96 |
-DwxWidgets_INCLUDE_DIR=/usr/include/wx${WX_GTK_VER}" |
96 |
WX_COMPILE=$(${WX_CONFIG} --cxxflags) |
|
|
97 |
WX_LIBS=$(${WX_CONFIG} --libs) |
98 |
sed -i \ |
99 |
-e "s:-I\${wxWidgets_INCLUDE_DIRS} \${wxWidgets_DEFINITIONS}:${WX_COMPILE}:" \ |
100 |
-e "s:\${wxWidgets_LIBRARIES}:\"${WX_LIBS}\":" \ |
101 |
"${S}"/cmake/modules/wxwidgets.cmake |
102 |
fi |
97 |
|
103 |
|
98 |
if use python && use gnome; then |
104 |
if use python && use gnome; then |
99 |
mycmakeargs="${mycmakeargs} -DENABLE_pygcw=ON" |
105 |
mycmakeargs="${mycmakeargs} -DENABLE_pygcw=ON" |