[30990] trunk/dports/graphics/ImageMagick/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 13 01:04:40 PST 2007
Revision: 30990
http://trac.macosforge.org/projects/macports/changeset/30990
Author: ryandesign at macports.org
Date: 2007-11-13 01:04:39 -0800 (Tue, 13 Nov 2007)
Log Message:
-----------
ImageMagick: add variants to allow 8 or 32 bits per pixel instead of the default 16, so you can choose which you value more: performance or quality. Thanks to Timothy Hunter for the suggestion.
Modified Paths:
--------------
trunk/dports/graphics/ImageMagick/Portfile
Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile 2007-11-13 08:43:09 UTC (rev 30989)
+++ trunk/dports/graphics/ImageMagick/Portfile 2007-11-13 09:04:39 UTC (rev 30990)
@@ -154,6 +154,22 @@
--with-gvc
}
+variant q8 conflicts q16 q32 description {Use 8 bits per pixel} {
+ configure.args-append --with-quantum-depth=8
+}
+
+variant q16 conflicts q8 q32 description {Use 16 bits per pixel (default)} {
+ configure.args-append --with-quantum-depth=16
+}
+
+variant q32 conflicts q8 q16 description {Use 32 bits per pixel} {
+ configure.args-append --with-quantum-depth=32
+}
+
+if {![variant_isset q8] && ![variant_isset q32]} {
+ default_variants +q16
+}
+
variant no_x11 {
depends_lib-delete \
lib:libX11.6:XFree86
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071113/326f3770/attachment.html
More information about the macports-changes
mailing list