|
|
@ -16,7 +16,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
# --enable-mp support multiple processors (default=no) |
|
|
|
# --enable-python build python extension (by default disabled) |
|
|
|
|
|
|
|
var_append extraconfopt " " "--enable-default-binary" |
|
|
|
|
|
|
@ -24,6 +23,16 @@ var_append extraconfopt " " "--enable-default-binary" |
|
|
|
|
|
|
|
# check for the availability of gimp-print |
|
|
|
pkginstalled gimp-print || var_append confopt ' ' "--disable-print" |
|
|
|
pkginstalled python && var_append confopt ' ' "--enable-python" |
|
|
|
|
|
|
|
if pkginstalled lcms; then |
|
|
|
var_append confopt ' ' "--with-lcms" |
|
|
|
# Unfortunately gimp does not use pkg-config properly. |
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "`pkg-config lcms --cflags --libs-only |
|
|
|
-L`" |
|
|
|
else |
|
|
|
var_append confopt ' ' "--without-lcms" |
|
|
|
fi |
|
|
|
|
|
|
|
# most plugins want gimptool without wrong version number |
|
|
|
hook_add postmake 5 'ln -sf $root/$bindir/gimptool-2.0 $root/$bindir/gimptool' |