summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gimp-app/Makefile11
-rw-r--r--graphics/gimp-app/pkg-plist2
-rw-r--r--graphics/gimp/Makefile11
-rw-r--r--graphics/gimp/pkg-plist2
4 files changed, 22 insertions, 4 deletions
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 239a3eb5f86c..6eb2fbf4be1f 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -38,7 +38,7 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2
+USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2
WANT_GNOME= yes
USE_GETTEXT= yes
INSTALLS_SHLIB= yes
@@ -57,6 +57,7 @@ MAN5= gimprc.5 gimprc-2.2.5
OPTIONS= DEBUG "debugging" off \
PYTHON "Python-Fu support" off \
+ RSVG "SVG format support" on \
PRINT "GIMP printing" on \
HTML_HELP_BROWSER "GIMP help browser" on \
MP "multiple processor support" off
@@ -80,6 +81,14 @@ CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif
+.if defined(WITHOUT_RSVG)
+CONFIGURE_ARGS+= --without-librsvg
+PLIST_SUB+= SVG="@comment "
+.else
+USE_GNOME+= librsvg2
+PLIST_SUB+= SVG=""
+.endif
+
.if defined(WITHOUT_PRINT)
CONFIGURE_ARGS+= --disable-print
PLIST_SUB+= PRINT="@comment "
diff --git a/graphics/gimp-app/pkg-plist b/graphics/gimp-app/pkg-plist
index 44344fa0e255..0b70590513b0 100644
--- a/graphics/gimp-app/pkg-plist
+++ b/graphics/gimp-app/pkg-plist
@@ -343,7 +343,7 @@ libexec/gimp/2.2/plug-ins/spheredesigner
libexec/gimp/2.2/plug-ins/spread
libexec/gimp/2.2/plug-ins/struc
libexec/gimp/2.2/plug-ins/sunras
-libexec/gimp/2.2/plug-ins/svg
+%%SVG%%libexec/gimp/2.2/plug-ins/svg
libexec/gimp/2.2/plug-ins/tga
libexec/gimp/2.2/plug-ins/threshold_alpha
libexec/gimp/2.2/plug-ins/tiff
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 239a3eb5f86c..6eb2fbf4be1f 100644
--- a/graphics/gimp/Makefile
+++ b/graphics/gimp/Makefile
@@ -38,7 +38,7 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2
+USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2
WANT_GNOME= yes
USE_GETTEXT= yes
INSTALLS_SHLIB= yes
@@ -57,6 +57,7 @@ MAN5= gimprc.5 gimprc-2.2.5
OPTIONS= DEBUG "debugging" off \
PYTHON "Python-Fu support" off \
+ RSVG "SVG format support" on \
PRINT "GIMP printing" on \
HTML_HELP_BROWSER "GIMP help browser" on \
MP "multiple processor support" off
@@ -80,6 +81,14 @@ CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif
+.if defined(WITHOUT_RSVG)
+CONFIGURE_ARGS+= --without-librsvg
+PLIST_SUB+= SVG="@comment "
+.else
+USE_GNOME+= librsvg2
+PLIST_SUB+= SVG=""
+.endif
+
.if defined(WITHOUT_PRINT)
CONFIGURE_ARGS+= --disable-print
PLIST_SUB+= PRINT="@comment "
diff --git a/graphics/gimp/pkg-plist b/graphics/gimp/pkg-plist
index 44344fa0e255..0b70590513b0 100644
--- a/graphics/gimp/pkg-plist
+++ b/graphics/gimp/pkg-plist
@@ -343,7 +343,7 @@ libexec/gimp/2.2/plug-ins/spheredesigner
libexec/gimp/2.2/plug-ins/spread
libexec/gimp/2.2/plug-ins/struc
libexec/gimp/2.2/plug-ins/sunras
-libexec/gimp/2.2/plug-ins/svg
+%%SVG%%libexec/gimp/2.2/plug-ins/svg
libexec/gimp/2.2/plug-ins/tga
libexec/gimp/2.2/plug-ins/threshold_alpha
libexec/gimp/2.2/plug-ins/tiff