[117408] trunk/dports/multimedia/VLC-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Feb 25 11:32:23 PST 2014
Revision: 117408
https://trac.macports.org/changeset/117408
Author: jeremyhu at macports.org
Date: 2014-02-25 11:32:23 -0800 (Tue, 25 Feb 2014)
Log Message:
-----------
VLC-devel: Simplify variants and update dependencies (#41725)
Modified Paths:
--------------
trunk/dports/multimedia/VLC-devel/Portfile
Modified: trunk/dports/multimedia/VLC-devel/Portfile
===================================================================
--- trunk/dports/multimedia/VLC-devel/Portfile 2014-02-25 18:28:14 UTC (rev 117407)
+++ trunk/dports/multimedia/VLC-devel/Portfile 2014-02-25 19:32:23 UTC (rev 117408)
@@ -6,7 +6,7 @@
name VLC-devel
version 2.1.99
-revision 5
+revision 6
categories multimedia
@@ -51,7 +51,14 @@
port:fluidsynth port:libsamplerate port:libupnp \
port:avahi path:lib/libavcodec.dylib:ffmpeg \
port:openjpeg15 port:libbluray \
- port:libdc1394 port:libmpeg2
+ port:libdc1394 port:libmpeg2 port:dirac port:libass port:libsdl \
+ port:libsdl_image port:schroedinger port:speex port:libmodplug \
+ port:libmpcdec port:fontconfig port:freetype port:fribidi port:libdvbpsi \
+ port:XviD port:bzip2 port:gettext port:glib2 port:gmp \
+ port:libgpg-error port:libiconv port:libidn port:libsndfile \
+ port:libusb port:nettle port:openssl port:orc port:p11-kit \
+ port:readline port:xorg-libX11 port:xorg-libXau port:xorg-libXdmcp \
+ port:xorg-libXext port:xorg-libXrandr port:xorg-libxcb port:xrender
# TODO: live555 opencv FreeRDP
@@ -121,38 +128,37 @@
configure.args-append \
--with-contrib=${worksrcpath}/contrib \
--disable-debug --disable-update-check --enable-gnutls \
- --disable-notify --disable-telepathy --disable-dbus \
+ --disable-notify --disable-dbus --enable-lua \
--disable-gnomevfs --disable-growl --disable-macosx-vlc-app \
- --enable-libproxy --enable-lua
# Input Plugins
# build fails when FreeRDP is installed
# build fails when opencv is installed
configure.args-append \
- --enable-dvdnav --enable-dvdread --disable-smb --disable-vcdx \
+ --enable-dvdnav --enable-dvdread --disable-smbclient --disable-vcdx \
--disable-macosx-qtkit --disable-macosx-eyetv --disable-realrtsp \
- --disable-freerdp --disable-opencv \
+ --disable-libfreerdp --disable-opencv \
--enable-sftp
# Mux/Demux Plugins
configure.args-append \
- --disable-dvbpsi --enable-ogg --enable-mux_ogg \
- --enable-mkv --disable-mod --disable-mpc --disable-shout
+ --enable-dvbpsi --enable-ogg --enable-mux_ogg \
+ --enable-mkv --enable-mod --enable-mpc --disable-shout
# Codec Plugins
configure.args-append \
--enable-a52 --enable-faad --enable-flac --disable-live555 \
- --enable-opus --enable-vorbis --enable-ogg --enable-mad --disable-libass \
+ --enable-opus --enable-vorbis --enable-ogg --enable-mad --enable-libass \
--enable-dca --enable-png --disable-quicktime --enable-twolame \
- --disable-speex --enable-theora --enable-x264 --enable-postproc \
+ --enable-speex --enable-theora --enable-x264 --enable-postproc \
--enable-avcodec --enable-avformat --enable-swscale \
- --enable-fluidsynth
+ --disable-fluidsynth --enable-dirac --enable-schroedinger
# Video Plugins
configure.args-append \
- --disable-caca --disable-sdl --disable-macosx-vout \
+ --disable-caca --enable-sdl --enable-sdl-image --disable-macosx-vout \
--without-x --disable-xcb --disable-xvideo --disable-glx \
- --disable-fontconfig --disable-freetype --disable-fribidi \
+ --enable-freetype --enable-fontconfig --enable-fribidi \
--disable-svg
# Audio Plugins
@@ -162,20 +168,20 @@
# Interface Plugins
configure.args-append \
--disable-macosx --disable-macosx-dialog-provider \
- --disable-qt4 --enable-ncurses --disable-skins2
+ --disable-qt --enable-ncurses --disable-skins2
# Visualisations and Video Filter Plugins
configure.args-append \
- --disable-goom --disable-glspectrum
+ --disable-goom
# Service Discovery Plugins
configure.args-append \
--enable-bonjour --enable-upnp
-variant jack description {Enable jack plugin for audio output} {
- depends_lib-append port:jack
- configure.args-delete --disable-jack
- configure.args-append --enable-jack
+variant jack description {Enable jack and fluidsynth plugins for audio output} {
+ depends_lib-append port:jack port:fluidsynth port:portaudio
+ configure.args-delete --disable-jack --disable-fluidsynth
+ configure.args-append --enable-jack --enable-fluidsynth
}
variant qtkit description {Enable qtcapture and qtaudio} {
@@ -183,24 +189,13 @@
configure.args-append --enable-macosx-qtkit
}
-variant eyetv description {Enable eyetv plugin} {
- configure.args-delete --disable-macosx-eyetv
- configure.args-append --enable-macosx-eyetv
-}
-
-variant speex description {Enable Speex decoder support} {
- depends_lib-append path:lib/libspeex.dylib:speex
- configure.args-delete --disable-speex
- configure.args-append --enable-speex
-}
-
variant svg description {Enable SVG support} {
depends_lib-append port:librsvg
configure.args-delete --disable-svg
configure.args-append --enable-svg
}
-variant shout description {Enable Shoutcast support} {
+variant shout description {Enable Shoutcast/Icecast streaming output support} {
depends_lib-append port:libshout2
configure.args-delete --disable-shout
configure.args-append --enable-shout
@@ -224,50 +219,14 @@
# configure.args-append --enable-vcdx
#}
-variant mod description {Enable MOD demuxer support} {
- depends_lib-append port:libmodplug
- configure.args-delete --disable-mod
- configure.args-append --enable-mod
-}
-
-variant mpc description {enable Musepack Decoder library support} {
- depends_lib-append port:libmpcdec
- configure.args-delete --disable-mpc
- configure.args-append --enable-mpc
-}
-
-variant dvb description {enable DVB Program Specific Information support} {
- depends_lib-append port:libdvbpsi
- configure.args-delete --disable-dvbpsi
- configure.args-append --enable-dvbpsi
-}
-
-variant osd description {Enable onscreen display and TrueType font support} {
- depends_lib-append port:fontconfig port:freetype
- configure.args-delete --disable-freetype --disable-fontconfig
- configure.args-append --enable-freetype --enable-fontconfig
-}
-
-variant fribidi requires osd description {Enable FriBidi Unicode support} {
- depends_lib-append port:fribidi
- configure.args-delete --disable-fribidi
- configure.args-append --enable-fribidi
-}
-
-variant sdl description {Enable SDL/SDL-Image support} {
- depends_lib-append port:libsdl port:libsdl_image
- configure.args-delete --disable-sdl
- configure.args-append --enable-sdl
-}
-
-variant smb description {Enable Samba 3 support} {
+variant smb description {Enable Samba 3 input support} {
depends_lib-append port:samba3
- configure.args-delete --disable-smb
- configure.args-append --enable-smb
+ configure.args-delete --disable-smbclient
+ configure.args-append --enable-smbclient
configure.ldflags-append -L${prefix}/lib/samba3
}
-variant x11 {
+variant x11 description {Build using X11 UI. Use at own risk} {
depends_lib-append \
port:mesa \
port:xorg-libXinerama \
@@ -276,14 +235,14 @@
port:xorg-xcb-util \
port:xorg-xcb-util-keysyms
- configure.args-delete --without-x --disable-xvideo --disable-glx --disable-glspectrum --disable-xcb
+ configure.args-delete --without-x --disable-xvideo --disable-glx --disable-xcb
configure.args-append --with-x --x-include=${prefix}/include --x-lib=${prefix}/lib \
- --enable-xvideo --enable-glx --enable-glspectrum --enable-xcb
+ --enable-xvideo --enable-glx --enable-xcb
}
-variant qt4 description {Build using QT4 UI. This will use qt4-mac} {
- configure.args-delete --disable-qt4
- configure.args-append --enable-qt4
+variant qt4 description {Build using QT4 UI. This will use qt4-mac. Experimental} {
+ configure.args-delete --disable-qt
+ configure.args-append --enable-qt
PortGroup qt4 1.0
@@ -300,10 +259,8 @@
configure.args-append --enable-macosx --enable-macosx-dialog-provider
}
-default_variants +mod +mpc +osd +quartz
-
variant huge \
- requires dvb eyetv fribidi jack mod mpc osd sdl shout speex svg vcd \
+ requires jack shout svg vcd \
description {Enable all variants except quartz, qt4, smb, and x11} {}
variant full \
@@ -311,14 +268,13 @@
description {Enable all variants} {}
platform macosx {
- default_variants-append +qtkit
+ default_variants-append +quartz +qtkit
configure.args-delete \
- --disable-macosx-vout --disable-macosx-audio \
+ --disable-macosx-vout --disable-macosx-audio --disable-macosx-eyetv
configure.args-append \
- --enable-macosx-vout --enable-macosx-audio \
- --with-macosx-sdk=/
+ --enable-macosx-vout --enable-macosx-audio --enable-macosx-eyetv
if {[variant_isset qt4] || [variant_isset quartz]} {
configure.args-delete --disable-macosx-vlc-app
@@ -328,14 +284,14 @@
post-patch {
reinplace "s/Appkit/AppKit/" ${worksrcpath}/configure.ac
reinplace "/Sparkle.framework/d" \
- ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
+ ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
reinplace "/SDKROOT/d" \
- ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
+ ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
reinplace "/Growl.framework/d" \
${worksrcpath}/extras/package/macosx/package.mak
reinplace "s:LD_LIBRARY_PATH:DYLD_LIBRARY_PATH:g" \
- ${worksrcpath}/Makefile.am
+ ${worksrcpath}/Makefile.am
reinplace "/argv/s/environ/*_NSGetEnviron()/" \
${worksrcpath}/modules/misc/inhibit/xdg.c \
@@ -355,7 +311,7 @@
eval file delete [glob ${destroot}${prefix}/lib/vlc/plugins/*/*.la]
if {[variant_isset qt4] || [variant_isset quartz]} {
- file rename ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
+ file copy ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
# These are already in ${prefix}, so we don't need to bundle them as well
file delete -force ${destroot}${applications_dir}/VLC.app/Contents/Frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140225/e27ab230/attachment.html>
More information about the macports-changes
mailing list