Browse Source

Modified gimp to find lcms where ever it is installed.

- existing gimp could only find lcms when installed in the default location.
- Now even works when installed in the non default location.
early
Minto van der Sluis 18 years ago
parent
commit
b96bf4fcea
  1. 11
      graphic/gimp/gimp.conf

11
graphic/gimp/gimp.conf

@ -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'

Loading…
Cancel
Save