[92690] trunk/dports/multimedia/VLC/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu May 3 16:18:59 PDT 2012


Revision: 92690
          https://trac.macports.org/changeset/92690
Author:   jeremyhu at macports.org
Date:     2012-05-03 16:18:59 -0700 (Thu, 03 May 2012)
Log Message:
-----------
VLC: Don't depend on BGHUDAppKit unless using the +quartz variant

Modified Paths:
--------------
    trunk/dports/multimedia/VLC/Portfile

Modified: trunk/dports/multimedia/VLC/Portfile
===================================================================
--- trunk/dports/multimedia/VLC/Portfile	2012-05-03 23:14:38 UTC (rev 92689)
+++ trunk/dports/multimedia/VLC/Portfile	2012-05-03 23:18:59 UTC (rev 92690)
@@ -39,7 +39,7 @@
 
 depends_build   port:pkgconfig
 
-depends_lib     port:lame port:a52dec port:libogg port:flac port:BGHUDAppKit \
+depends_lib     port:lame port:a52dec port:libogg port:flac \
                 port:libdca port:libcddb port:libcdio port:libmad \
                 port:libvorbis port:libmatroska port:libid3tag \
                 port:ncurses port:lua port:libpng port:jpeg \
@@ -242,9 +242,9 @@
 }
 
 variant sdl description {Enable SDL/SDL-Image support} {
-    depends_lib-append          path:lib/pkgconfig/sdl.pc:libsdl port:libsdl_image
-    configure.args-delete       --disable-sdl
-    configure.args-append       --enable-sdl
+    depends_lib-append      path:lib/pkgconfig/sdl.pc:libsdl port:libsdl_image
+    configure.args-delete   --disable-sdl
+    configure.args-append   --enable-sdl
 }
 
 variant smb description {Enable Samba 3 support} {
@@ -283,8 +283,8 @@
 }
 
 variant qt4 description {Build using QT4 UI.  This will use qt4-mac} {
-    configure.args-delete --disable-qt4
-    configure.args-append --enable-qt4
+    configure.args-delete   --disable-qt4
+    configure.args-append   --enable-qt4
 
     PortGroup qt4 1.0
 
@@ -295,12 +295,10 @@
     }
 }
 
-variant quartz description {Enable the OS X native UI} {
-    configure.args-delete \
-        --disable-macosx --disable-macosx-dialog-provider
-
-    configure.args-append \
-        --enable-macosx --enable-macosx-dialog-provider
+variant quartz {
+    depends_lib-append      port:BGHUDAppKit
+    configure.args-delete   --disable-macosx --disable-macosx-dialog-provider
+    configure.args-append   --enable-macosx --enable-macosx-dialog-provider
 }
 
 default_variants +dvd +ffmpeg +mod +mpc +osd +theora +twolame +x264 +quartz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120503/798d46ba/attachment.html>


More information about the macports-changes mailing list