aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc-devel
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2009-01-20 01:53:26 +0000
committerBeech Rintoul <beech@FreeBSD.org>2009-01-20 01:53:26 +0000
commit62cf7dc4092e78f9ff0602ef3cd0a2b77162a036 (patch)
tree8a60656d647692fbdbc7e5116891940bfa4a5ea4 /multimedia/vlc-devel
parent647a23e66872dcf1cab24aa83b77d184d53cfb92 (diff)
downloadports-62cf7dc4092e78f9ff0602ef3cd0a2b77162a036.tar.gz
ports-62cf7dc4092e78f9ff0602ef3cd0a2b77162a036.zip
Notes
Diffstat (limited to 'multimedia/vlc-devel')
-rw-r--r--multimedia/vlc-devel/Makefile580
-rw-r--r--multimedia/vlc-devel/Makefile.inc322
-rw-r--r--multimedia/vlc-devel/distinfo3
-rw-r--r--multimedia/vlc-devel/files/patch-v4l86
-rw-r--r--multimedia/vlc-devel/files/qvlc.desktop10
-rw-r--r--multimedia/vlc-devel/files/svlc.desktop10
-rw-r--r--multimedia/vlc-devel/pkg-descr8
7 files changed, 0 insertions, 1019 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
deleted file mode 100644
index 4f43d67f388e..000000000000
--- a/multimedia/vlc-devel/Makefile
+++ /dev/null
@@ -1,580 +0,0 @@
-# New ports collection makefile for: vlc
-# Date created: 3rd August 2001
-# Whom: Brian Somers <brian@FreeBSD.org>
-#
-# $FreeBSD$
-# $MCom: ports-stable/multimedia/vlc-devel/Makefile,v 1.11 2009/01/09 23:41:21 mezz Exp $
-# $Id: Makefile 6 2006-09-27 14:05:34Z buhnux $
-# *** PLEASE READ Makefile.inc for more information on knobs ***
-#
-
-PORTNAME= vlc
-DISTVERSION= 0.9.8a
-PORTREVISION= 1
-PORTEPOCH= 3
-CATEGORIES= multimedia audio ipv6 net www
-MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
- http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION}/ \
- ftp://ftp.crans.org/pub/videolan/${PORTNAME}/${DISTVERSION}/
-PKGNAMESUFFIX= -devel
-
-MAINTAINER= jsa@wickedmachine.net
-COMMENT= Multimedia streaming server and player for various audio/video formats
-
-BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
-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
-
-CONFLICTS= vlc-[0-9]*
-
-USE_BZIP2= yes
-USE_GETTEXT= yes
-USE_GMAKE= yes
-WANT_GNOME= yes
-USE_GNOME= gnometarget libxml2
-WANT_SDL= yes
-USE_ICONV= yes
-USE_PERL5_BUILD=yes
-
-FAKEDIR= ${WRKDIR}/fake/${PREFIX}
-PLIST= ${WRKDIR}/plist
-
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${FAKEDIR}/include -I${WRKSRC}/include ${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/ffmpeg ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} -L${FAKEDIR}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lc" \
- LIBS="-lc"
-
-CONFIGURE_ARGS+= --enable-vlc \
- --enable-avcodec \
- --enable-avformat \
- --enable-postproc \
- --without-dv-raw1394 \
- --disable-dv
-
-MAN1= vlc.1 \
- vlc-config.1
-
-.include <bsd.port.pre.mk>
-
-WITH_VLC_DEFAULT_FONT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
-
-.if ${PERL_LEVEL} < 500800
-BROKEN= Does not compile with perl ${PERL_VERSION}
-.endif
-
-# compatible knobs.
-.if defined(WITH_DEBUG)
-DEBUG= yes
-.endif
-
-.if defined(WITH_LIBMPEG2)
-WITH_MPEG2=yes
-.endif
-
-.if defined(WITH_LIBCACA)
-WITH_CACA=yes
-.endif
-
-.if defined(WITH_LIBA52)
-WITH_A52=yes
-.endif
-
-.if defined(WITH_SMB)
-WITH_SAMBA=yes
-.endif
-
-.if defined(WITH_LIBMATROSKA)
-WITH_MATROSKA=yes
-.endif
-
-.if defined(WITH_LIBTREMOR)
-WITH_TREMOR=yes
-.endif
-# end compatible knobs
-
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-.endif
-
-.if defined(WITH_DVD_DEVICE)
-DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
-.else
-DEFAULT_DVD_DEVICE=/dev/acd0
-.endif
-
-.if !defined(WITHOUT_GNOMEVFS)
-USE_GNOME+= gnomevfs2
-CONFIGURE_ARGS+= --enable-gnomevfs
-.else
-CONFIGURE_ARGS+= --disable-gnomevfs
-.endif
-
-.if defined(WITH_CDROM_DEVICE)
-DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
-.else
-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
-.else
-CONFIGURE_ARGS+=--disable-notify
-.endif
-
-.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS) && !defined(WITHOUT_QT4)
-CONFIGURE_ARGS+=--enable-skins2
-.else
-CONFIGURE_ARGS+=--disable-skins2
-.endif
-
-.if ${ARCH}=="i386" && defined(WITH_WIN32_CODECS)
-RUN_DEPENDS+= ${LOCALBASE}/lib/win32/wmv8ds32.ax:${PORTSDIR}/multimedia/win32-codecs
-CONFIGURE_ARGS+=--enable-loader
-.else
-CONFIGURE_ARGS+=--disable-loader
-.endif
-
-.if defined(WITH_JACK) && !defined(WITHOUT_JACK)
-LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
-CONFIGURE_ARGS+=--enable-jack
-.else
-CONFIGURE_ARGS+=--disable-jack
-.endif
-
-.if defined(WITH_REMOTE_OSD)
-LIB_DEPENDS+= gcrypt.16:${PORTSDIR}/security/libgcrypt
-CONFIGURE_ARGS+=--enable-remoteosd
-.else
-CONFIGURE_ARGS+=--disable-remoteosd
-.endif
-
-.if defined(WITH_PULSEAUDIO) && !defined(WITHOUT_PULSEAUDIO)
-LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
-CONFIGURE_ARGS+=--enable-pulse
-.else
-CONFIGURE_ARGS+=--disable-pulse
-.endif
-
-.if defined(WITH_FLUIDSYNTH) && !defined(WITHOUT_FLUIDSYNTH)
-LIB_DEPENDS+= fluidsynth.2:${PORTSDIR}/audio/fluidsynth
-CONFIGURE_ARGS+=--enable-fluidsynth
-.else
-CONFIGURE_ARGS+=--disable-fluidsynth
-.endif
-
-.if !defined(WITHOUT_ZVBI)
-LIB_DEPENDS+= zvbi.13:${PORTSDIR}/devel/libzvbi
-CONFIGURE_ARGS+=--enable-zvbi
-.else
-CONFIGURE_ARGS+=--disable-zvbi
-.endif
-
-.if !defined(WITHOUT_HAL)
-LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
-CONFIGURE_ARGS+=--enable-hal
-.else
-CONFIGURE_ARGS+=--disable-hal
-.endif
-
-.if (defined(WITH_ARTS) || exists(${LOCALBASE}/lib/libartsc.so)) && !defined(WITHOUT_ARTS)
-LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
-CONFIGURE_ARGS+= --enable-arts
-.else
-CONFIGURE_ARGS+= --disable-arts
-.endif
-
-.if !defined(WITHOUT_AVAHI)
-LIB_DEPENDS+= avahi-common.3:${PORTSDIR}/net/avahi-app
-CONFIGURE_ARGS+= --enable-bonjour
-.else
-CONFIGUE_ARGS+= --disable-bonjour
-.endif
-
-.if !defined(WITHOUT_CDROM)
-LIB_DEPENDS+= vcdinfo.2:${PORTSDIR}/multimedia/vcdimager \
- cdio.8:${PORTSDIR}/sysutils/libcdio
-CONFIGURE_ARGS+=--enable-vcd \
- --enable-libcddb \
- --disable-cddax
-.else
-CONFIGURE_ARGS+=--disable-vcd \
- --disable-libcddb \
- --disable-libcdio \
- --disable-cddax
-.endif
-
-.if !defined(WITHOUT_CDPARANOIA) && !defined(WITHOUT_CDROM)
-LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia
-CONFIGURE_ARGS+=--enable-cdda \
- --enable-cddax
-.else
-CONFIGURE_ARGS+=--disable-cdda \
- --disable-cddax
-.endif
-
-.if !defined(WITHOUT_DVBPSI)
-LIB_DEPENDS+= dvbpsi.5:${PORTSDIR}/multimedia/libdvbpsi
-CONFIGURE_ARGS+=--enable-dvbpsi \
- --with-dvbpsi=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-dvbpsi
-.endif
-
-.if !defined(WITHOUT_DVDNAV)
-LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav
-CONFIGURE_ARGS+=--enable-dvdnav
-.else
-CONFIGURE_ARGS+=--disable-dvdnav
-.endif
-
-.if defined(WITH_DVDREAD) && !defined(WITHOUT_DVDREAD)
-LIB_DEPENDS+= dvdread.5:${PORTSDIR}/multimedia/libdvdread
-CONFIGURE_ARGS+=--enable-dvdread
-.else
-CONFIGURE_ARGS+=--disable-dvdread
-.endif
-
-.if (defined(WITH_ESOUND) || ${HAVE_GNOME:Mesound}!="") && !defined(WITHOUT_ESOUND)
-USE_GNOME+= esound
-CONFIGURE_ARGS+=--enable-esd
-.else
-CONFIGURE_ARGS+=--disable-esd
-.endif
-
-.if defined(WITH_FAAC) && !defined(WITHOUT_FAAC)
-CONFIGURE_ARGS+=--with-ffmpeg-faac
-LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
-.endif
-
-.if (defined(WITH_FAAD) || exists(${LOCALBASE}/lib/libfaad.a)) && !defined(WITHOUT_FAAD)
-LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
-CONFIGURE_ARGS+=--enable-faad
-.else
-CONFIGURE_ARGS+=--disable-faad
-.endif
-
-.if (defined(WITH_FLAC) || exists(${LOCALBASE}/lib/libFLAC.a)) && !defined(WITHOUT_FLAC)
-LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
-CONFIGURE_ARGS+=--enable-flac
-.else
-CONFLGIRE_ARGS+=--disable-flac
-.endif
-
-.if (defined(WITH_FRIBIDI) || exists(${LOCALBASE}/bin/fribidi-config)) && !defined(WITHOUT_FRIBIDI)
-LIB_DEPENDS+= fribidi.0:${PORTSDIR}/converters/fribidi
-CONFIGURE_ARGS+=--enable-fribidi
-.else
-CONFIGURE_ARGS+=--disable-fribidi
-.endif
-
-.if (defined(WITH_AALIB) || exists(${LOCALBASE}/lib/libaa.so.1)) && !defined(WITHOUT_AALIB)
-LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
-CONFIGURE_ARGS+=--enable-aa
-.else
-CONFIGURE_ARGS+=--disable-aa
-.endif
-
-.if (defined(WITH_DIRAC) || exists(${LOCALBASE}/lib/libdirac_decoder.a)) && !defined(WITHOUT_DIRAC)
-LIB_DEPENDS+= dirac_encoder.0:${PORTSDIR}/multimedia/dirac
-CONFIGURE_ARGS+=--enable-dirac
-CPPFLAGS+= -I${LOCALBASE}/include/dirac
-.else
-CONFIGURE_ARGS+=--disable-dirac
-.endif
-
-.if defined(WITH_SCHROEDINGER) && !defined(WITHOUT_SCHROEDINGER)
-LIB_DEPENDS+= schroedinger-1.0.1:${PORTSDIR}/multimedia/schroedinger
-CONFIGURE_ARGS+=--enable-schroedinger
-.else
-CONFIGURE_ARGS+=--disable-schroedinger
-.endif
-
-.if !defined(WITHOUT_X264)
-CONFIGURE_ARGS+=--enable-x264
-LIB_DEPENDS+= x264.50:${PORTSDIR}/multimedia/x264
-.else
-CONFIGURE_ARGS+=--disable-x264
-.endif
-
-.if (defined(WITH_LUA) || exists(${LOCALBASE}/lib/lua51/liblua.a)) && !defined(WITHOUT_LUA)
-USE_LUA=5.1+
-WANT_LUA_VER=5.1
-CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
-CONFIGURE_ARGS+=--enable-lua
-.else
-CONFIGURE_ARGS+=--disable-lua
-.endif
-
-.if (defined(WITH_CACA) || exists(${LOCALBASE}/lib/libcaca.a)) && !defined(WITHOUT_CACA)
-.if !defined(WITHOUT_AALIB)
-WITH_AALIB= yes
-LIB_DEPENDS+= caca.0:${PORTSDIR}/graphics/libcaca
-CONFIGURE_ARGS+=--enable-caca
-.endif
-.else
-CONFIGURE_ARGS+=--disable-caca
-.endif
-
-.if !defined(WITHOUT_DTS)
-LIB_DEPENDS+= dca.0:${PORTSDIR}/multimedia/libdca
-CONFIGURE_ARGS+=--enable-dca
-.else
-CONFIGURE_ARGS+=--disable-dca
-.endif
-
-.if defined(WITHOUT_HTTPD)
-CONFIGURE_ARGS+=--disable-httpd
-.endif
-
-.if (defined(WITH_GGI) || exists(${LOCALBASE}/lib/libggi.a)) && !defined(WITHOUT_GGI)
-LIB_DEPENDS+= ggi.2:${PORTSDIR}/graphics/libggi
-CONFIGURE_ARGS+=--enable-ggi
-.else
-CONFIGURE_ARGS+=--disable-ggi
-.endif
-
-.if !defined(WITHOUT_MATROSKA)
-LIB_DEPENDS+= matroska.0:${PORTSDIR}/multimedia/libmatroska
-CONFIGURE_ARGS+=--enable-mkv
-.else
-CONFIGURE_ARGS+=--disable-mkv
-.endif
-
-.if !defined(WITHOUT_A52)
-LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
-CONFIGURE_ARGS+=--enable-a52
-.else
-CONFIGURE_ARGS+=--disable-a52
-.endif
-
-.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
-USE_GECKO= firefox mozilla seamonkey nvu
-USE_WEBPLUGINS= gecko*
-WEBPLUGINS_FILES=libvlcplugin.so
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
-CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
- XPIDL="${XPIDL}" \
- XPIDL_INCL="${XPIDL_INCL}"
-CONFIGURE_ARGS+=--enable-mozilla
-.endif
-
-.if !defined(WITHOUT_MPEG2)
-LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
-CONFIGURE_ARGS+=--enable-libmpeg2
-.else
-CONFIGURE_ARGS+=--disable-libmpeg2
-.endif
-
-.if !defined(WITHOUT_REALAUDIO)
-CONFIGURE_ARGS+= --enable-real \
- --enable-realrtsp
-.endif
-
-.if (defined(WITH_SHOUT) || exists(${LOCALBASE}/lib/libshout.a)) && !defined(WITHOUT_SHOUT)
-LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
-CONFIGURE_ARGS+= --enable-shout
-.endif
-
-.if (defined(WITH_THEORA) || exists(${LOCALBASE}/lib/libtheora.a)) && !defined(WITHOUT_THEORA)
-LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora
-CONFIGURE_ARGS+=--enable-theora
-.else
-CONFIGURE_ARGS+=--disable-theora
-.endif
-
-.if (defined(WITH_LIVEMEDIA) || exists(${LOCALBASE}/live/liveMedia/libliveMedia.a)) && !defined(WITHOUT_LIVEMEDIA)
-BUILD_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
-CONFIGURE_ARGS+=--enable-live555 \
- --with-live555-tree=${LOCALBASE}/live
-.else
-CONFIGURE_ARGS+=--disable-live555
-.endif
-
-.if !defined(WITHOUT_TAGLIB)
-LIB_DEPENDS+= tag.6:${PORTSDIR}/audio/taglib
-CONFIGURE_ARGS+=--enable-taglib
-.else
-CONFIGURE_ARGS+=--disable-taglib
-.endif
-
-.if !defined(WITHOUT_MAD)
-LIB_DEPENDS+= id3tag.0:${PORTSDIR}/audio/libid3tag \
- mad.2:${PORTSDIR}/audio/libmad
-CONFIGURE_ARGS+=--enable-mad \
- --with-mad=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-mad
-.endif
-
-.if !defined(WITHOUT_MODDEMUX)
-LIB_DEPENDS+= modplug.0:${PORTSDIR}/audio/libmodplug
-CONFIGURE_ARGS+=--enable-mod
-.else
-CONFIGURE_ARGS+=--disable-mod
-.endif
-
-.if !defined(WITHOUT_MPCDEMUX)
-LIB_DEPENDS+= mpcdec.5:${PORTSDIR}/audio/libmpcdec
-CONFIGURE_ARGS+=--enable-mpc
-.else
-CONFIGURE_ARGS+=--disable-mpc
-.endif
-
-.if !defined(WITHOUT_OGG)
-LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg
-CONFIGURE_ARGS+=--enable-ogg
-.else
-CONFIGURE_ARGS+=--disable-ogg
-WITHOUT_VORBIS= yes
-.endif
-
-.if defined(WITH_NCURSES) && !defined(WITHOUT_NCURSES)
-CONFIGURE_ARGS+=--enable-ncurses
-.endif
-
-.if defined(WITH_OPENGL) && !defined(WITHOUT_OPENGL)
-USE_GL= yes
-CONFIGURE_ARGS+=--enable-galaktos
-.else
-CONFIGURE_ARGS+=--disable-galaktos
-.endif
-
-.if !defined(WITHOUT_SAMBA)
-LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
-CONFIGURE_ARGS+=--enable-smb
-.else
-CONFIGURE_ARGS+=--disable-smb
-.endif
-
-.if !defined(WITHOUT_SDL)
-USE_SDL= image
-CONFIGURE_ARGS+=--enable-sdl
-.else
-CONFIGURE_ARGS+=--disable-sdl
-.endif
-
-.if defined(WITH_TRANSCODE) || exists(${LOCALBASE}/bin/transcode)
-RUN_DEPENDS+= transcode:${PORTSDIR}/multimedia/transcode
-.endif
-
-.if !defined(WITHOUT_HTTPD)
-LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+=--enable-gnutls
-.else
-CONFIGURE_ARGS+=--disable-gnutls
-.endif
-
-.if !defined(WITHOUT_SPEEX)
-LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
-CONFIGURE_ARGS+=--enable-speex
-CPPFLAGS+=-I${LOCALBASE}/include/speex
-.else
-CONFIGURE_ARGS+=--disable-speex
-.endif
-
-.if defined(WITHOUT_STREAM_PLUGINS)
-CONFIGURE_ARGS+=--disable-sout
-.endif
-
-.if (defined(WITH_SVG) || ${HAVE_GNOME:Mlibrsvg2}!="") && !defined(WITHOUT_SVG)
-USE_GNOME+= librsvg2
-CONFIGURE_ARGS+=--enable-svg
-.else
-CONFIGURE_ARGS+=--disable-svg
-.endif
-
-.if (defined(WITH_SVGALIB) || exists(${LOCALBASE}/lib/lib/vga.a)) && !defined(WITHOUT_SVGALIB)
-LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
-CONFIGURE_ARGS+=--enable-svgalib
-.else
-CONFIGURE_ARGS+=--disable-svgalib
-.endif
-
-.if (defined(WITH_TREMOR) || exists(${LOCALBASE}/lib/libvorbisidec.a)) && !defined(WITHOUT_TREMOR)
-LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor
-.else
-CONFIGURE_ARGS+=--disable-tremor
-.endif
-
-.if (defined(WITH_TWOLAME) || exists(${LOCALBASE}/lib/libtwolame.a)) && !defined(WITHOUT_TWOLAME)
-LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame
-CONFIGURE_ARGS+= --enable-twolame
-.else
-CONFIGURE_ARGS+= --disable-twolame
-.endif
-
-.if !defined(WITHOUT_VORBIS)
-LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
-CONFIGURE_ARGS+=--enable-vorbis
-.else
-CONFIGURE_ARGS+=--disable-vorbis
-.endif
-
-.if (defined(WITH_XOSD) || exists(${LOCALBASE}/lib/libxosd.a)) && !defined(WITHOUT_XOSD)
-LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
-CONFIGURE_ARGS+=--enable-xosd
-.else
-CONFIGURE_ARGS+=--disable-xosd
-.endif
-
-.if defined(DEBUG)
-CONFIGURE_ARGS+=--enable-debug
-.else
-CONFIGURE_ARGS+=--enable-release
-.endif
-
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O2 -ffast-math -fomit-frame-pointer
-CONFIGURE_ARGS+=--enable-release \
- --enable-optimizations
-.else
-CONFIGURE_ARGS+=--enable-release
-.endif
-
-.include "${.CURDIR}/Makefile.inc"
-.include <bsd.port.post.mk>
diff --git a/multimedia/vlc-devel/Makefile.inc b/multimedia/vlc-devel/Makefile.inc
deleted file mode 100644
index 9d55b991499a..000000000000
--- a/multimedia/vlc-devel/Makefile.inc
+++ /dev/null
@@ -1,322 +0,0 @@
-# NOTES about VLC Knobs:
-# Below you will see a number of knobs, if it starts with WITHOUT_ it is
-# enabled by default, if it starts with WITH_ it is disabled by default
-# and will be autodetected to enable
-#
-# $FreeBSD$
-# $MCom: ports-stable/multimedia/vlc-devel/Makefile.inc,v 1.4 2009/01/09 23:41:21 mezz Exp $
-# $Id: Makefile.inc 6 2006-09-27 14:05:34Z buhnux $
-# If you define for example WITH_FAAD and WITHOUT_FAAD
-# the WITHOUT_ will always over ride the WITH_.
-#
-# Interface Knobs:
-#
-# WITH_NCURSES=yes
-# Ncurses (console) interface
-#
-# WITH_SKINS
-# This Interface supports a skinned interface usable with winamp 2.x skins
-# Skins can be found at http://www.videolan.org/vlc/download-skins.html
-#
-# Audio Knobs:
-#
-# WITH_ARTS=yes
-# Arts Support
-#
-# WITHOUT_DTS=yes
-# DTS decoder Support
-# useful for many dvds
-#
-# WITH_ESOUND=yes
-# Esound Support
-#
-# WITH_FAAC=yes
-# Faac audio encoder (mp4/aac) Support
-# ** Only enable this if you compiled multimedia/ffmpeg with WITH_FAAC knob **
-#
-# WITH_FAAD=yes
-# Faad audio decoder (mp4/aac) Support
-#
-# WITH_FLAC=yes
-# Flac Support
-#
-# WITHOUT_A52=yes
-# liba52 audio support
-#
-# WITHOUT_MODDEMUX
-# ModPlug mod-like music support
-#
-# WITHOUT_MPCDEMUX
-# Musepack audio compression support
-#
-# WITHOUT_REALAUDIO
-# Real audio(R) support
-#
-# WITH_SHOUT
-# Libshout2 support
-#
-# WITH_TREMOR
-# Interger-only Ogg Vorbis decoder
-# !!experimental!!
-#
-# WITHOUT_MAD=yes
-# Mad mp3 audio decoder Support
-#
-# WITHOUT_OGG=yes
-# Ogg audio decoder Support
-#
-# WITHOUT_SPEEX=yes
-# Speex voice codec Support
-#
-# WITH_TWOLAME=yes
-# Twolame Mpeg layer 2 audio Support
-#
-# WITHOUT_VORBIS=yes
-# Vorbis Support
-#
-# Graphics Knobs:
-#
-# WITH_AALIB=yes
-# Console Graphics Support
-#
-# WITH_CACA=yes
-# Console Graphics Support (implies WITH_AALIB)
-#
-# WITH_FRIBIDI=yes
-#
-# WITH_GGI=yes
-#
-# WITHOUT_SDL=yes
-# SDL video output
-#
-# WITH_SVG=yes
-#
-# WITH_SVGALIB=yes
-# SVGAlib video output
-#
-# WITH_XOSD=yes
-#
-
-# Multimedia Knobs:
-#
-# WITH_DIRAC
-# Enable dirac general-purpose video codec
-#
-# WITHOUT_X264
-# Enable H.264/AVC Video Support
-#
-# WITHOUT_MATROSKA=yes
-# Matroska Container Format Support
-#
-# WITHOUT_MPEG2=yes
-# Mpeg-2 A/V Decoder Support
-#
-# WITH_THEORA=yes
-# Video codec for OGG/Vorbis Support
-#
-# Streaming Knobs:
-#
-# WITHOUT_HTTPD=yes
-# Web interface to control streaming media
-#
-# WITH_LIVEMEDIA=yes
-# Support for rstp/rtp/sdp protocols
-# Only versions 2004.11.11 and higher are supported.
-#
-# WITHOUT_STREAM_PLUGINS=yes
-# Disable build and install of Streaming plugins
-#
-# WITH_WIN32_CODECS=yes
-# Support for win32 multimedia DLL's
-#
-# Other Knobs:
-#
-# WITHOUT_LUA=yes
-# Support for lua scripting (interfaces, HTML parsers for video websites...)
-#
-# WITHOUT_AVAHI=yes
-# Avahi (Rendezvous/Bonjour (R) ) networking
-#
-# WITHOUT_DBUS=yes
-# Disable d-bus support
-#
-# WITH_DEBUG=yes
-# Enable debuging support
-#
-# WITHOUT_CDROM=yes
-# Disable cddb and vcd support
-# and other cdrom support
-#
-# WITHOUT_CDPARANOIA=yes
-# Disable Cdparanoia support
-#
-# WITHOUT_DVBPSI=yes
-# TS MUX and DEMUX support
-#
-# WITHOUT_DVDNAV=yes
-# Disable DVD (dvd menus) support
-#
-# WITH_DVDREAD=yes
-# Enable Regular DVD support (non-menu)
-#
-# WITH_GECKO= [firefox|mozilla|seamonkey|nvu]
-# WITH_VLC_MOZILLA_PLUGIN= yes
-# Enable A mozilla plugin for VLC
-# See http://www.videolan.org/doc/vlc-user-guide/en/ch07.html#id2529837
-# for more info on using this plugin.
-# defaults to www/mozilla
-#
-# NOTE: The www/mplayer-plugin is much more complete.
-#
-# WITHOUT_GNOMEVFS
-# GnomeVFS support
-#
-# WITHOUT_HAL=yes
-# Disable HAL support
-#
-# WITH_OPENGL=yes
-# Enable OpenGL visual plugin (not playback, play back is default with X11)
-#
-# WITHOUT_SAMBA=yes
-# Enable SAMBA Access module
-#
-# WITH_SSL=yes
-# Enable TLS/SSL Support for web (httpd) interface
-#
-# WITH_OPTIMIZED_CFLAGS=yes
-# Compile with -O2 -ffast-math -fomit-frame-pointer
-#
-# WITH_DVD_DEVICE=/dev/somedevice
-# default 5.x and above: /dev/acd0
-# default 4.x and below: /dev/acd0c
-# This option changes the default dvd device
-#
-# WITH_CDROM_DEVICE=/dev/somedevice
-# default 5.x and above: /dev/acd0
-# default 4.x and below: /dev/acd0c
-# This option changes the default cdrom device
-#
-# WITHOUT_NLS=yes
-# Disable Languarge Support
-#
-# WITHOUT_STREAM_PLUGINS=yes
-# Disable ALL streaming plugins.
-#
-# WITH_VLC_DEFAULT_FONT=/path/to/font
-# default: ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
-# This option lets you change the default font for subtitles
-#
-# NOPORTDOCS=yes
-# Do not install Vlc's Documents
-#
-
-post-patch:
-# Do not assume LOCALBASE is /usr/local
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
-# Subtitle default font
- @${REINPLACE_CMD} -e \
- 's|/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf|${WITH_VLC_DEFAULT_FONT}|' \
- ${WRKSRC}/modules/misc/freetype.c
-# mozilla plugin
- @${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${FAKEDIR}/mozilla|; \
- s|$$(libdir)/mozilla/components|${FAKEDIR}/mozilla|' \
- ${WRKSRC}/projects/mozilla/Makefile.in
-# cdrom/dvd support
- @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|; \
- s|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
- ${WRKSRC}/include/vlc_config.h
-# binary decoders
- @${REINPLACE_CMD} -e 's|-DWIN32_PATH=\\"\\"|-DWIN32_PATH=\\"${LOCALBASE}/lib/win32\\"|' \
- ${WRKSRC}/libs/loader/Makefile.in
- @${REINPLACE_CMD} -e 's|/usr/lib/win32|${LOCALBASE}/lib/win32|' \
- ${WRKSRC}/libs/loader/module.c
-
-pre-install: build
- ${RM} -rf ${PLIST} ${FAKEDIR}
- ${MKDIR} ${FAKEDIR}
- ${TOUCH} -f ${PLIST}
- ${ECHO_CMD} "share/applications/vlc.desktop" >> ${PLIST}
-.if !defined(WITHOUT_QT4)
- ${ECHO_CMD} "share/pixmaps/qvlc.png" >> ${PLIST}
- ${ECHO_CMD} "share/applications/qvlc.desktop" >> ${PLIST}
-.endif
-.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
- ${ECHO_CMD} "share/pixmaps/gvlc.png" >> ${PLIST}
- ${ECHO_CMD} "share/applications/svlc.desktop" >> ${PLIST}
-.endif
-.if defined(WITH_SKINS) || !defined(WITHOUT_QT)
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
-.endif
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} prefix=${FAKEDIR}
- ${RM} -f ${FAKEDIR}/share/locale/locale.alias
- cd ${FAKEDIR}/bin && ${FIND} -s * | \
- ${SED} -e 's|^|bin/|' >> ${PLIST}
- cd ${FAKEDIR}/include && ${FIND} -s * -type f -o -type l | \
- ${SED} -e 's|^|include/|' >> ${PLIST} \
- && ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm include/|' >> ${PLIST}
- cd ${FAKEDIR}/lib && ${FIND} -s * -type f -o -type l| \
- ${SED} -e 's|^|lib/|' >> ${PLIST} \
- && ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm lib/|' >> ${PLIST}
-.for dir in vlc
- cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
- ${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
- && ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm share/${dir}/|' >> ${PLIST}
-.endfor
-.if !defined(NOPORTDOCS)
- cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \
- ${SED} -e 's|^|share/doc/|' >> ${PLIST} \
- && ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm share/doc/|' >> ${PLIST}
-.else
- ${RM} -rf ${FAKEDIR}/share/doc
-.endif
- ${ECHO_MSG} "@dirrm share/vlc" >> ${PLIST}
-.if !defined(WITHOUT_NLS)
- cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \
- ${SED} -e 's|^|share/locale/|' >> ${PLIST}
-.endif
-.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
- cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
- ${SED} -e 's|^|%%WEBPLUGINS_DIR%%/|' >> ${PLIST}
- ${ECHO_CMD} "@dirrmtry %%WEBPLUGINS_DIR%%" >> ${PLIST}
-.endif
-.for locale in co fur my oc ps tet tl
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale} 2>/dev/null || ${TRUE}" >> ${PLIST}
-.endfor
-
-do-install:
- cd ${FAKEDIR}/bin && ${FIND} . | \
- ${CPIO} -vpdm -R ${BINOWN}:${BINGRP} ${PREFIX}/bin
- cd ${FAKEDIR}/include && ${FIND} . | \
- ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include
- cd ${FAKEDIR}/lib && ${FIND} . | \
- ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib
- cd ${FAKEDIR}/share && ${FIND} . | \
- ${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
-.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
- @${MKDIR} ${WEBPLUGINS_DIR}
- ${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${WEBPLUGINS_DIR}
-.endif
- ${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
-.if (defined(WITH_SKINS) && defined(WITHOUT_SKINS)) || !defined(WITHOUT_QT4)
- if [ ! -d ${PREFIX}/share/applications ]; then \
- ${MKDIR} ${PREFIX}/share/applications ; \
- fi
- if [ ! -d ${PREFIX}/share/pixmaps ]; then \
- ${MKDIR} ${PREFIX}/share/pixmaps ; \
- fi
-.if !defined(WITHOUT_QT4)
- ${INSTALL_DATA} ${FILESDIR}/qvlc.desktop ${PREFIX}/share/applications
- ${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/qvlc.png
-.endif
-.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
- ${INSTALL_DATA} ${FILESDIR}/svlc.desktop ${PREFIX}/share/applications
- ${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/gvlc.png
-.endif
-.endif
diff --git a/multimedia/vlc-devel/distinfo b/multimedia/vlc-devel/distinfo
deleted file mode 100644
index ce3c8cbf9b7f..000000000000
--- a/multimedia/vlc-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (vlc-0.9.8a.tar.bz2) = 8ffa2ff763badd5de7592004d8d69a63
-SHA256 (vlc-0.9.8a.tar.bz2) = 197c29803790efc0273bb4577d54629d0769a3b49b091c6430eb6704fd69824f
-SIZE (vlc-0.9.8a.tar.bz2) = 17032727
diff --git a/multimedia/vlc-devel/files/patch-v4l b/multimedia/vlc-devel/files/patch-v4l
deleted file mode 100644
index 54e855434bfb..000000000000
--- a/multimedia/vlc-devel/files/patch-v4l
+++ /dev/null
@@ -1,86 +0,0 @@
---- modules/access/v4l.c.orig Mon Jun 12 09:41:08 2006
-+++ modules/access/v4l.c Mon Jun 12 10:19:59 2006
-@@ -555,7 +555,7 @@
- int i_noframe = -1;
- ioctl( p_sys->fd_video, MJPIOC_QBUF_CAPT, &i_noframe );
- }
--
-+#if 0
- if( p_sys->p_video_mmap && p_sys->p_video_mmap != MAP_FAILED )
- {
- if( p_sys->b_mjpeg )
-@@ -564,7 +564,7 @@
- else
- munmap( p_sys->p_video_mmap, p_sys->vid_mbuf.size );
- }
--
-+#endif
- free( p_sys );
- }
-
-@@ -1267,6 +1267,15 @@
- }
- else
- {
-+ struct video_window vid_win = { 0 };
-+ vid_win.width = p_sys->i_width;
-+ vid_win.height = p_sys->i_height;
-+
-+ if( ioctl( i_fd, VIDIOCSWIN, &vid_win ) < 0 )
-+ {
-+ msg_Err( p_demux, "cannot set win (%s)", strerror( errno ) );
-+ goto vdev_failed;
-+ }
- /* Fill in picture_t fields */
- vout_InitPicture( VLC_OBJECT(p_demux), &p_sys->pic, p_sys->i_fourcc,
- p_sys->i_width, p_sys->i_height, p_sys->i_width *
-@@ -1287,7 +1296,7 @@
- p_sys->i_video_frame_size );
- msg_Dbg( p_demux, "v4l device uses chroma: %4.4s",
- (char*)&p_sys->i_fourcc );
--
-+#if 0
- /* Allocate mmap buffer */
- if( ioctl( i_fd, VIDIOCGMBUF, &p_sys->vid_mbuf ) < 0 )
- {
-@@ -1316,6 +1325,7 @@
- msg_Err( p_demux, "chroma selection failed" );
- goto vdev_failed;
- }
-+#endif
- }
- return i_fd;
-
-@@ -1577,18 +1587,15 @@
- if( p_sys->i_video_pts + i_dur > mdate() ) return 0;
- }
-
-- if( p_sys->b_mjpeg ) p_frame = GrabMJPEG( p_demux );
-- else p_frame = GrabCapture( p_demux );
--
-- if( !p_frame ) return 0;
--
- if( !( p_block = block_New( p_demux, p_sys->i_video_frame_size ) ) )
- {
- msg_Warn( p_demux, "cannot get block" );
- return 0;
- }
-
-- memcpy( p_block->p_buffer, p_frame, p_sys->i_video_frame_size );
-+ if(read(p_sys->fd_video, p_block->p_buffer, p_sys->i_video_frame_size) <= 0)
-+ return 0;
-+
- p_sys->i_video_pts = p_block->i_pts = p_block->i_dts = mdate();
-
- return p_block;
---- configure.orig Mon Jun 12 10:44:45 2006
-+++ configure Mon Jun 12 10:46:11 2006
-@@ -39400,7 +39400,7 @@
- enableval="$enable_v4l"
- fi
-
--if test "${enable_v4l}" = "yes"
-+if true
- then
-
- # Check whether --with-v4l or --without-v4l was given.
diff --git a/multimedia/vlc-devel/files/qvlc.desktop b/multimedia/vlc-devel/files/qvlc.desktop
deleted file mode 100644
index f13214212548..000000000000
--- a/multimedia/vlc-devel/files/qvlc.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=VideoLAN (QT4) Media Player
-Comment=Video and Audio player and server
-Icon=qvlc.png
-Exec=qvlc
-TryExec=qvlc
-Terminal=false
-Type=Application
-Categories=Application;AudioVideo;
diff --git a/multimedia/vlc-devel/files/svlc.desktop b/multimedia/vlc-devel/files/svlc.desktop
deleted file mode 100644
index e7ed9a3eeb96..000000000000
--- a/multimedia/vlc-devel/files/svlc.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=VideoLAN (skins) Media Player
-Comment=Video and Audio player and server
-Icon=gvlc.png
-Exec=vlc --intf skins2
-TryExec=svlc
-Terminal=false
-Type=Application
-Categories=Application;AudioVideo;
diff --git a/multimedia/vlc-devel/pkg-descr b/multimedia/vlc-devel/pkg-descr
deleted file mode 100644
index c34f35b7070d..000000000000
--- a/multimedia/vlc-devel/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-VLC media player is a highly portable multimedia player for various
-audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, and
-more) as well as DVD's, VCD's, and various streaming protocols. It
-can also be used as a server to stream in unicast or multicast in
-IPv4 or IPv6 on a high-bandwidth network. VLC also has the ability
-to transcode media on-the-fly for streaming or saving to disk.
-
-WWW: http://www.videolan.org/