[119724] trunk/dports/gnome/gstreamer010-gst-plugins-base/Portfile
devans at macports.org
devans at macports.org
Sun May 4 14:35:11 PDT 2014
Revision: 119724
https://trac.macports.org/changeset/119724
Author: devans at macports.org
Date: 2014-05-04 14:35:11 -0700 (Sun, 04 May 2014)
Log Message:
-----------
gstreamer010-gst-plugins-base: update dependencies, add variants +gnome_vfs +ogg +x11, retain +no_gnome_vfs +no_ogg +no_x11 as legacy variants (#39383).
Modified Paths:
--------------
trunk/dports/gnome/gstreamer010-gst-plugins-base/Portfile
Modified: trunk/dports/gnome/gstreamer010-gst-plugins-base/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-base/Portfile 2014-05-04 18:21:31 UTC (rev 119723)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-base/Portfile 2014-05-04 21:35:11 UTC (rev 119724)
@@ -9,7 +9,7 @@
name gstreamer010-gst-plugins-base
set my_name gst-plugins-base
version 0.10.36
-revision 2
+revision 3
description This is gst-plugins, a set of plug-ins for GStreamer.
long_description ${description}
maintainers rmstonecipher openmaintainer
@@ -27,24 +27,31 @@
depends_build \
port:pkgconfig
+
depends_lib \
port:gstreamer010 \
- port:gnome-vfs \
- port:libtheora \
- port:openssl \
port:orc \
- port:xorg-libice \
- port:xorg-libsm \
- port:xorg-libXv
+ port:pango \
+ port:libxml2 \
+ port:iso-codes \
+ port:zlib
configure.args-append \
--enable-experimental \
--disable-examples \
- --disable-libvisual\
+ --disable-libvisual \
--disable-gst_v4l \
--disable-alsa \
--disable-cdparanoia \
+ --disable-gnome_vfs \
+ --disable-ogg \
+ --disable-vorbis \
+ --disable-theora \
--disable-ivorbis \
+ --without-x \
+ --disable-x \
+ --disable-xvideo \
+ --disable-xshm \
--disable-introspection
post-destroot {
@@ -53,31 +60,58 @@
system "touch ${destroot}${prefix}/include/gstreamer-0.10/gst/audio/audio-enumtypes.h"
}
-variant no_x11 {
- depends_lib-delete port:xorg-libice \
+# legacy variants +no_x11 +no_ogg +no_gnome_vfs may be removed after 5/2015
+
+variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
+
+variant x11 conflicts no_x11 {
+ depends_lib-append port:xorg-libice \
port:xorg-libsm \
port:xorg-libXv
- configure.args-append --without-x --disable-x --disable-xvideo --disable-xshm
+ configure.args-delete --without-x --disable-x --disable-xvideo --disable-xshm
}
-variant examples description {Build example programs} {
- PortGroup qt4 1.0
- depends_lib-append port:gtk2
- configure.args-delete --disable-examples
+if {[variant_isset no_x11]} {
+ default_variants -x11
+} else {
+ default_variants +x11
}
+variant no_ogg conflicts ogg description {Legacy compatibility variant} {}
+
+variant ogg conflicts no_ogg description {Build with support for libogg, libvorbis, libtheora} {
+ depends_lib-append port:libogg port:libvorbis port:libtheora
+ configure.args-delete --disable-ogg --disable-vorbis --disable-theora
+}
+
+if {[variant_isset no_ogg]} {
+ default_variants -ogg
+} else {
+ default_variants +ogg
+}
+
# users of qt4-x11, which depends on gst-plugins-base but has no use for its
# deeper gnome-related dependencies may wish to use this variant
-variant no_gnome_vfs description {Remove library dependency on gnome-vfs} {
- depends_lib-delete port:gnome-vfs
- configure.args-append --disable-gnome_vfs
+variant no_gnome_vfs conflicts gnome_vfs description {Legacy compatibility variant} {}
+
+variant gnome_vfs conflicts no_gnome_vfs description {Enable gnome-vfs support} {
+ depends_lib-append port:gnome-vfs
+ configure.args-delete --disable-gnome_vfs
}
-variant no_ogg description {Remove library dependency on libogg and its dependents} {
- depends_lib-delete port:libtheora
- configure.args-append --disable-ogg --disable-vorbis --disable-theora
+if {[variant_isset no_gnome_vfs]} {
+ default_variants -gnome_vfs
+} else {
+ default_variants +gnome_vfs
}
+
+variant examples description {Build example programs} {
+ PortGroup qt4 1.0
+ depends_lib-append port:gtk2
+ configure.args-delete --disable-examples
+}
+
#
# current cdparanoia port (cdparanoia III 10.2) appears to not be API compatible
# with gst-plugins-base. See #19843.
@@ -98,7 +132,7 @@
}
}
-if {[variant_isset universal]} {
+if {[variant_isset universal]} {
set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
set merger_host(i386) i686-apple-${os.platform}${os.major}
set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140504/28e561c4/attachment.html>
More information about the macports-changes
mailing list