aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-04-11 11:44:39 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-04-11 11:44:39 +0800
commitfbd080146150eaf9967ae4c71364a0d4bd1a0318 (patch)
tree65af8a8ab0ad77970648160aad06baba98f06a36 /multimedia/vlc
parent22d3e09ab29fe29293f89c4466f6cbc2662c4251 (diff)
downloadfreebsd-ports-gnome-fbd080146150eaf9967ae4c71364a0d4bd1a0318.tar.gz
freebsd-ports-gnome-fbd080146150eaf9967ae4c71364a0d4bd1a0318.tar.zst
freebsd-ports-gnome-fbd080146150eaf9967ae4c71364a0d4bd1a0318.zip
- Update to 0.9.9a
- Revamp options and add some new ones PR: 133534 Submitted by: "Joseph S. Atkinson" <jsa at wickedmachine dot net> (maintainer)
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile114
-rw-r--r--multimedia/vlc/distinfo6
2 files changed, 72 insertions, 48 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index c046a2323562..fc318df9ff4f 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -9,8 +9,7 @@
#
PORTNAME= vlc
-DISTVERSION= 0.9.8a
-PORTREVISION= 4
+DISTVERSION= 0.9.9a
PORTEPOCH= 3
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
@@ -26,44 +25,46 @@ LIB_DEPENDS= tar.0:${PORTSDIR}/devel/libtar \
avcodec.1:${PORTSDIR}/multimedia/ffmpeg
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
-OPTIONS+= A52 "a52 audio support, many DVDs use this" On
-OPTIONS+= AALIB "Aalib Console Graphics Support" Off
-OPTIONS+= AVAHI "Avahi (Rendezvous/Bonjour (R) ) networking" On
-OPTIONS+= CACA "Libcaca Console Graphics Support" Off
-OPTIONS+= ARTS "Enable arts sound support" Off
-OPTIONS+= DEBUG "Enable debuging support" Off
-OPTIONS+= DTS "DTS decoder support, many DVDs use this" On
-OPTIONS+= ESOUND "Esound Support" Off
-OPTIONS+= FAAC "Faac audio encoder (mp4/aac) support" Off
-OPTIONS+= FAAD "Faad audio decoder (mp4/aac) support" On
-OPTIONS+= FLAC "Flac audio codec support" On
-OPTIONS+= HTTPD "Streaming media control via http" On
-OPTIONS+= LIVEMEDIA "Support for rstp/rtp/sdp protocols" On
-OPTIONS+= LUA "Enable lua scripting" Off
-OPTIONS+= MAD "Mad mp3 audio decoder support" On
-OPTIONS+= MATROSKA "Matroska Container Format support" On
-OPTIONS+= MPEG2 "Mpeg-2 audio/video decoder Support" On
-OPTIONS+= NCURSES "Enable ncurses (console) interface" Off
-OPTIONS+= OGG "Ogg audio decoder support" On
-OPTIONS+= QT4 "QT4 Interface" On
-OPTIONS+= REALAUDIO "Real audio(R) support" On
-OPTIONS+= SAMBA "SAMBA Access module" On
-OPTIONS+= SDL "SDL video output" On
-OPTIONS+= SVG "SVG graphics support" Off
-OPTIONS+= SVGALIB "SVGALIB video output" Off
-OPTIONS+= SHOUT "Shout2 support" Off
-OPTIONS+= SKINS "Enable winamp skins interface (requires QT4)" Off
-OPTIONS+= SPEEX "Speex voice codec support" On
-OPTIONS+= THEORA "OGG/Vorbis video codec support" On
-OPTIONS+= TWOLAME "Twolame mpeg2 audio encoder support" On
-OPTIONS+= VORBIS "Vorbis support" On
-OPTIONS+= WIN32_CODECS "win32 multimedia DLL's" Off
-OPTIONS+= X264 "Enable H.264/AVC codec support" On
+OPTIONS= A52 "a52 audio support, many DVDs use this" On \
+ AALIB "Aalib Console Graphics Support" Off \
+ ARTS "Enable arts sound support" Off \
+ AVAHI "Avahi (Rendezvous/Bonjour (R) ) networking" On \
+ CACA "Libcaca Console Graphics Support" Off \
+ DBUS "Enable D-Bus control support" On \
+ DEBUG "Enable debuging support" Off \
+ DTS "DTS decoder support, many DVDs use this" On \
+ ESOUND "Esound Support" Off \
+ FAAC "Faac audio encoder (mp4/aac) support" Off \
+ FAAD "Faad audio decoder (mp4/aac) support" On \
+ FLAC "Flac audio codec support" On \
+ GNOMEVFS "Gnome VFS support" On \
+ HTTPD "Streaming media control via http" On \
+ LIVEMEDIA "Support for rstp/rtp/sdp protocols" On \
+ LUA "Enable lua scripting" Off \
+ MAD "Mad mp3 audio decoder support" On \
+ MATROSKA "Matroska Container Format support" On \
+ MPEG2 "Mpeg-2 audio/video decoder Support" On \
+ NCURSES "Enable ncurses (console) interface" Off \
+ OGG "Ogg audio decoder support" On \
+ QT4 "QT4 Interface (requires X11)" On \
+ REALAUDIO "Real audio(R) support" On \
+ SAMBA "SAMBA Access module" On \
+ SDL "SDL video output" On \
+ SVG "SVG graphics support" Off \
+ SVGALIB "SVGALIB video output" Off \
+ SHOUT "Shout2 support" Off \
+ SKINS "Enable winamp skins interface (requires QT4)" Off \
+ SPEEX "Speex voice codec support" On \
+ THEORA "OGG/Vorbis video codec support" On \
+ TWOLAME "Twolame mpeg2 audio encoder support" On \
+ V4L "Enable Video for Linux" On\
+ VORBIS "Vorbis support" On \
+ WIN32_CODECS "win32 multimedia DLL's" Off \
+ X264 "Enable H.264/AVC codec support" On \
+ X11 "Enable X11 (disable for stream only server)" On
USE_BZIP2= yes
-USE_GETTEXT= yes
USE_GMAKE= yes
-USE_XORG= xpm
WANT_GNOME= yes
USE_GNOME= gnomehack gnometarget libxml2
WANT_SDL= yes
@@ -97,6 +98,21 @@ WITH_VLC_DEFAULT_FONT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
BROKEN= Does not compile with perl ${PERL_VERSION}
.endif
+.if !defined(WITHOUT_QT4)
+USE_QT_VER+= 4
+QT_COMPONENTS+= gui corelib moc rcc uic
+CONFIGURE_ARGS+=--enable-qt4
+.else
+CONFIGURE_ARGS+=--disable-qt4
+.endif
+
+.if defined(WITHOUT_DBUS)
+CONFIGURE_ARGS+=--disable-dbus
+.else
+LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
+CONFIGURE_ARGS+=--enable-dbus
+.endif
+
# compatible knobs.
.if defined(WITH_DEBUG)
DEBUG= yes
@@ -129,6 +145,8 @@ WITH_TREMOR=yes
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
+.else
+USE_GETTEXT= yes
.endif
.if defined(WITH_DVD_DEVICE)
@@ -150,14 +168,6 @@ DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
DEFAULT_CDROM_DEVICE=/dev/acd0
.endif
-.if !defined(WITHOUT_QT4)
-USE_QT_VER+= 4
-QT_COMPONENTS+= gui corelib moc rcc uic
-CONFIGURE_ARGS+=--enable-qt4
-.else
-CONFIGURE_ARGS+=--disable-qt4
-.endif
-
.if !defined(WITHOUT_LIBNOTIFY)
LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-notify
@@ -319,6 +329,7 @@ CONFIGURE_ARGS+=--disable-aa
.endif
.if (defined(WITH_DIRAC) || exists(${LOCALBASE}/lib/libdirac_decoder.a)) && !defined(WITHOUT_DIRAC)
+BROKEN= doesn't build with dirac
LIB_DEPENDS+= dirac_encoder.0:${PORTSDIR}/multimedia/dirac
CONFIGURE_ARGS+=--enable-dirac
CPPFLAGS+= -I${LOCALBASE}/include/dirac
@@ -575,5 +586,18 @@ CONFIGURE_ARGS+=--enable-release \
CONFIGURE_ARGS+=--enable-release
.endif
+.if defined(WITHOUT_V4L)
+CONFIGURE_ARGS+=--disable-v4l
+.else
+CONFIGURE_ARGS+=--enable-v4l
+.endif
+
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+=--disable-x11
+.else
+USE_XORG= xpm
+CONFIGURE_ARGS+=--enable-x11
+.endif
+
.include "${.CURDIR}/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo
index ce3c8cbf9b7f..ea0c229741c1 100644
--- a/multimedia/vlc/distinfo
+++ b/multimedia/vlc/distinfo
@@ -1,3 +1,3 @@
-MD5 (vlc-0.9.8a.tar.bz2) = 8ffa2ff763badd5de7592004d8d69a63
-SHA256 (vlc-0.9.8a.tar.bz2) = 197c29803790efc0273bb4577d54629d0769a3b49b091c6430eb6704fd69824f
-SIZE (vlc-0.9.8a.tar.bz2) = 17032727
+MD5 (vlc-0.9.9a.tar.bz2) = c8d832deeef7f4072a73506f8d033198
+SHA256 (vlc-0.9.9a.tar.bz2) = e5d0a168263f56bccc62d30031287d56f0b6a3447b552f3a5224132d0b597dd6
+SIZE (vlc-0.9.9a.tar.bz2) = 17500620