[43011] trunk/dports/graphics/gimp-gap/Portfile
devans at macports.org
devans at macports.org
Wed Dec 3 00:05:28 PST 2008
Revision: 43011
http://trac.macports.org/changeset/43011
Author: devans at macports.org
Date: 2008-12-03 00:05:22 -0800 (Wed, 03 Dec 2008)
Log Message:
-----------
gimp-gap: disable internal ffmpeg code by default as it does not compile on all platforms/architectures. Add +libavformat variant to enable building of this code for those who can use it. See #17432.
Modified Paths:
--------------
trunk/dports/graphics/gimp-gap/Portfile
Modified: trunk/dports/graphics/gimp-gap/Portfile
===================================================================
--- trunk/dports/graphics/gimp-gap/Portfile 2008-12-03 07:51:39 UTC (rev 43010)
+++ trunk/dports/graphics/gimp-gap/Portfile 2008-12-03 08:05:22 UTC (rev 43011)
@@ -5,6 +5,7 @@
name gimp-gap
version 2.4.0
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics
maintainers devans
@@ -76,15 +77,19 @@
configure.args --disable-audio-support \
--disable-libmpeg3 \
+ --disable-libavformat \
--enable-gdkpixbuf-pview
-post-configure {
- reinplace "s|-Wl,-d|-Wl|g" \
- ${worksrcpath}/extern_libs/ffmpeg/config.mak
- reinplace "s|no-cpp-precomp|no-cpp-precomp -DHAVE_LRINTF -fno-common|g" \
- ${worksrcpath}/extern_libs/ffmpeg/config.mak
- reinplace "s|APPLE|NOTHANKS|" \
- ${worksrcpath}/extern_libs/ffmpeg/libavformat/tcp.c
+variant libavformat description {Build against included ffmpeg libavformat source} {
+ configure.args-delete --disable-libavformat
+ post-configure {
+ reinplace "s|-Wl,-d|-Wl|g" \
+ ${worksrcpath}/extern_libs/ffmpeg/config.mak
+ reinplace "s|no-cpp-precomp|no-cpp-precomp -DHAVE_LRINTF -fno-common|g" \
+ ${worksrcpath}/extern_libs/ffmpeg/config.mak
+ reinplace "s|APPLE|NOTHANKS|" \
+ ${worksrcpath}/extern_libs/ffmpeg/libavformat/tcp.c
+ }
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081203/deb3c3bd/attachment.html>
More information about the macports-changes
mailing list