freebsd-ports/multimedia/vlc/Makefile

351 lines
11 KiB
Makefile
Raw Normal View History

# Created by: Brian Somers <brian@FreeBSD.org>
# $FreeBSD$
PORTNAME= vlc
DISTVERSION= 2.1.5
PORTREVISION= 13
PORTEPOCH= 4
- Update to 0.8.1 - Default X11 interface is now WxWindows (gtk2.0 version) - Removed Gtk 1.2 & Gnome 1.4 support. (depreciated to wxgtk) - Removed WITH_AUTODETECT, vlc is very modular at runtime - Add skins2 interface (similar to xmms) - Merge mad and id3lib support (can be disabled with WITHOUT_MAD) - Added support for a mozilla plugin Lots of stuff obtained from ports/www/mplayer-plugin and some help from marcus - Auto-generated pkg-plist (make life EASY :) ) - s/Linux/FreeBSD/ through out the program. - Statically link to libavcodec/libavformat from vlc's supported ffmpeg snapshot for greater performance. - Knob Changes or New Knobs: WITHOUT_FAAD (Enabled default) WITHOUT_FLAC (Enabled default) WITHOUT_DTS (Enabled default) WITHOUT_DVD (Enabled default) WITHOUT_CDROM (Enabled default, this is vcd & cddb support) WITHOUT_LAME (Enabled default) WITHOUT_MAD (Enabled default) WITHOUT_HTTPD (Enabled default) WITHOUT_VORBIS (Enabled default) WITHOUT_LIBMATROSKA (Enabled default) WITHOUT_LIVEMEDIA (Enabled default) WITHOUT_SDL (Enabled default) WITHOUT_SLP (Enabled default) WITHOUT_LIBMPEG2 (Enabled default) WITH_MOZILLA_PLUGIN (Disabled default, defaults to www/mozilla if defined) [mozilla|mozilla-devel|firefox] WITH_ARTS (Disabled default) WITH_TOOLAME (Disabled default) WITH_LIBCACA (Disabled default) WITH_LIBTREMOR (Disabled default) WITH_LIBTHEORA (Disabled defalut) WITH_OPENGL (Disabled default) WITH_SSL (Disabled default) WITH_SVG (Disabled default) WITH_SKINS (Disabled default) DEBUG (Disabled default) Note: WITH_ Knobs are disabled default unless auto-detected WITHOUT_ Knobs are enabled default unless defined Please read the first section of ports/multimedia/Makefile before building to tune VLC towards your personal preferences. ffmpeg-patch partly obtained from gentoo Changelog: http://developers.videolan.org/vlc/NEWS Approved by: pav (co mentor) -------------------------------------------------------------
2004-11-16 22:59:37 +01:00
CATEGORIES= multimedia audio ipv6 net www
2013-09-25 19:07:49 +02:00
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
ftp://ftp.crans.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Qt4 based multimedia player and streaming server
LICENSE= GPLv2
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libdvbpsi.so:${PORTSDIR}/multimedia/libdvbpsi \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
libfreetype.so:${PORTSDIR}/print/freetype2 \
libidn.so:${PORTSDIR}/dns/libidn
BUILD_DEPENDS= ffmpeg>=2.0:${PORTSDIR}/multimedia/ffmpeg
RUN_DEPENDS= ffmpeg>=2.0:${PORTSDIR}/multimedia/ffmpeg
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
USES= compiler:c11 desktop-file-utils gmake iconv libtool pathfix \
pkgconfig tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \
--enable-fontconfig --enable-freetype --enable-libgcrypt \
--enable-libxml2 --enable-oss --enable-postproc \
--enable-swscale --enable-vlc \
--disable-alsa --disable-chromaprint --disable-crystalhd \
--disable-dc1394 --disable-decklink --disable-directfb \
--disable-dv1394 --disable-egl --disable-fdkaac \
--disable-gles1 --disable-gles2 --disable-kai --disable-kva \
--disable-libvnc --disable-opencv --disable-projectm \
--disable-quicksync --disable-silent-rules --disable-telx \
--disable-tiger --disable-tremor --disable-udev \
--disable-update-check --disable-vcdx --disable-vsxu \
--disable-wasapi --disable-x26410b \
--with-kde-solid=${PREFIX}/share/apps/solid/actions \
ac_cv_search_pthread_rwlock_init=-pthread
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS_i386= -fomit-frame-pointer
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
OPTIONS_DEFINE= A52 AALIB ASS AVAHI CACA DBUS DCA DIRAC DOCS DVDREAD \
DVDNAV FAAD FLAC FLUID FREERDP FRIBIDI GME GNOMEVFS2 GNUTLS \
GOOM HTTPD JACK KATE LIBBLURAY LIBRSVG2 LIBSSH2 LIRC \
LIVEMEDIA LUA MAD MATROSKA MODPLUG \
MPEG2 MTP MUSEPACK NCURSES NLS NOTIFY OGG OPTIMIZED_CFLAGS \
OPUS PNG PULSEAUDIO QT4 REALRTSP RUNROOT SAMPLERATE \
SCHROEDINGER SDL SHOUTCAST SIDPLAY SKINS SMB STREAM SPEEX \
TAGLIB THEORA TWOLAME UPNP V4L VAAPI VCD VDPAU VORBIS \
X11 X264 ZVBI
OPTIONS_DEFAULT=A52 AVAHI DBUS DCA DVDREAD DVDNAV FAAD FLAC GNUTLS \
HTTPD LUA MAD MATROSKA MPEG2 OGG OPTIMIZED_CFLAGS OPUS PNG \
QT4 SAMPLERATE STREAM SPEEX TAGLIB THEORA TWOLAME V4L \
VCD VORBIS X11
OPTIONS_SUB= yes
ASS_DESC= ASS/SSA subtitle rendering
DVDREAD_DESC= DVD Playback support
DVDNAV_DESC= DVD menu navigation
FLUID_DESC= Fluidsynth MIDI support
FREERDP_DESC= RDP support
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
GME_DESC= Game Music Emu (libgme) support
GOOM_DESC= Goom visualisation plugin
KATE_DESC= Kate codec support
LIBSSH2_DESC= SCP/SFTP support via libssh2
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
REALRTSP_DESC= Real RTSP access module
RUNROOT_DESC= Enable running as root
SIDPLAY_DESC= C64 sid demux support
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
SKINS_DESC= Skins interface module
STREAM_DESC= stream output
TAGLIB_DESC= ID3 tag and Ogg comment support
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
VCD_DESC= Audio/Video CD support
ZVBI_DESC= VBI decoding support
A52_CONFIGURE_ENABLE= a52
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
A52_CONFIGURE_ON= --with-a52=${LOCALBASE}
A52_LIB_DEPENDS= liba52.so:${PORTSDIR}/audio/liba52
AALIB_LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib
AALIB_CONFIGURE_ENABLE= aa
ASS_LIB_DEPENDS= libass.so:${PORTSDIR}/multimedia/libass
ASS_CONFIGURE_ENABLE= libass
AVAHI_LIB_DEPENDS= libavahi-common.so:${PORTSDIR}/net/avahi-app
AVAHI_CONFIGURE_ENABLE= bonjour
CACA_LIB_DEPENDS= libcaca.so:${PORTSDIR}/graphics/libcaca
CACA_CONFIGURE_ENABLE= caca
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
DBUS_CONFIGURE_ENABLE= dbus
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
DCA_LIB_DEPENDS= libdca.so:${PORTSDIR}/multimedia/libdca
DCA_CONFIGURE_ENABLE= dca
DIRAC_LIB_DEPENDS= libdirac_decoder.so:${PORTSDIR}/multimedia/dirac
DIRAC_CONFIGURE_ENABLE= dirac
DVDREAD_LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread
DVDREAD_CONFIGURE_ENABLE= dvdread
DVDNAV_LIB_DEPENDS= libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
DVDNAV_CONFIGURE_ENABLE=dvdnav
FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad
FAAD_CONFIGURE_ENABLE= faad
FAAD_CONFIGURE_ENV= CPPFLAGS_faad="-I${LOCALBASE}/include" \
LIBS_faad="-L${LOCALBASE}/lib"
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
FLAC_CONFIGURE_ENABLE= flac
FLUID_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
FLUID_CONFIGURE_ENABLE= fluidsynth
FREERDP_LIB_DEPENDS= libfreerdp-core.so:${PORTSDIR}/net/freerdp
FREERDP_CONFIGURE_ENABLE= libfreerdp
FRIBIDI_LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi
FRIBIDI_CONFIGURE_ENABLE= fribidi
GME_LIB_DEPENDS= libgme.so:${PORTSDIR}/audio/libgme
GME_CONFIGURE_ENABLE= gme
2014-07-22 23:31:11 +02:00
GME_CONFIGURE_ENV= LIBS_gme="-L${LOCALBASE}/lib -lgme"
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
GNOMEVFS2_USE= GNOME=gnomevfs2
GNOMEVFS2_CONFIGURE_ENABLE= gnomevfs
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
GNUTLS_CONFIGURE_ENABLE=gnutls
GOOM_LIB_DEPENDS= libgoom2.so:${PORTSDIR}/graphics/goom
GOOM_CONFIGURE_ENABLE= goom
HTTPD_CONFIGURE_ENABLE= httpd
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
JACK_CONFIGURE_ENABLE= jack
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
KATE_LIB_DEPENDS= libkate.so:${PORTSDIR}/multimedia/libkate
KATE_CONFIGURE_ENABLE= kate
LIBBLURAY_LIB_DEPENDS= libbluray.so:${PORTSDIR}/multimedia/libbluray
LIBBLURAY_CONFIGURE_ENABLE= bluray
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
LIBRSVG2_USE= GNOME=librsvg2
LIBRSVG2_CONFIGURE_ENABLE= svg
LIBSSH2_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
LIBSSH2_CONFIGURE_ENABLE= sftp
LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc
LIRC_CONFIGURE_ENABLE= lirc
LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client"
LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:${PORTSDIR}/net/liveMedia
LIVEMEDIA_CONFIGURE_ENABLE= live555
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
LIVEMEDIA_CONFIGURE_ENV= \
LIVE555_CFLAGS="-I${LOCALBASE}/include/liveMedia \
-I${LOCALBASE}/include/UsageEnvironment \
-I${LOCALBASE}/include/groupsock \
-I${LOCALBASE}/include/BasicUsageEnvironment" \
LIVE555_LIBS="-L${LOCALBASE}/lib -lliveMedia \
-lgroupsock -lBasicUsageEnvironment \
-lUsageEnvironment"
LUA_USES= lua
LUA_CONFIGURE_ENABLE= lua
LUA_CONFIGURE_ON= LUAC=${LUAC_CMD} LUA_CFLAGS="-I${LUA_INCDIR}" \
LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
MAD_CONFIGURE_ENABLE= mad
MAD_CONFIGURE_ON= --with-mad=${LOCALBASE}
MATROSKA_LIB_DEPENDS= libmatroska.so:${PORTSDIR}/multimedia/libmatroska
MATROSKA_CONFIGURE_ENABLE= mkv
MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
MODPLUG_CONFIGURE_ENABLE= mod
MPEG2_LIB_DEPENDS= libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2
MPEG2_CONFIGURE_ENABLE= libmpeg2
2014-03-10 10:53:36 +01:00
MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp
MTP_CONFIGURE_ENABLE= mtp
MUSEPACK_LIB_DEPENDS= libmpcdec.so:${PORTSDIR}/audio/musepack
MUSEPACK_CONFIGURE_ENABLE= mpc
MUSEPACK_CONFIGURE_ENV= LIBS_mpc="-L${LOCALBASE}/lib -lmpcdec"
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
NCURSES_USES= ncurses
NCURSES_CONFIGURE_ENV= NCURSES_CFLAGS="-I${NCURSESINC}" \
NCURSES_LIBS="-L${NCURSESLIB} -lncursesw"
NCURSES_CONFIGURE_ENABLE= ncurses
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
NOTIFY_USE= GNOME=gtk20
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
NOTIFY_CONFIGURE_ENABLE=notify
OGG_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
OGG_CONFIGURE_ENABLE= ogg
OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations
OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus
OPUS_CONFIGURE_ENABLE= opus
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
PNG_CONFIGURE_ENABLE= png
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
QT4_CONFIGURE_ENABLE= qt
QT4_USE= QT4=gui,corelib,moc_build,rcc_build,uic_build
REALRTSP_CONFIGURE_ENABLE= realrtsp
RUNROOT_CONFIGURE_ENABLE= run-as-root
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
SAMPLERATE_CONFIGURE_ENABLE= samplerate
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:${PORTSDIR}/multimedia/schroedinger
SCHROEDINGER_CONFIGURE_ENABLE= schroedinger
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
SDL_USE= SDL=image
SDL_CONFIGURE_ENABLE= sdl sdl-image
SIDPLAY_LIB_DEPENDS= libsidplay2.so:${PORTSDIR}/audio/libsidplay2
SIDPLAY_LDFLAGS= -L${LOCALBASE}/lib/sidplay/builders
SIDPLAY_CONFIGURE_ENABLE= sid
SHOUTCAST_LIB_DEPENDS= libshout.so:${PORTSDIR}/audio/libshout
SHOUTCAST_CONFIGURE_ENABLE= shout
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
SMB_CONFIGURE_ENABLE= smbclient
STREAM_CONFIGURE_ENABLE=sout
SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex
SPEEX_CONFIGURE_ENABLE= speex
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
TAGLIB_CONFIGURE_ENABLE=taglib
THEORA_LIB_DEPENDS= libtheora.so:${PORTSDIR}/multimedia/libtheora
THEORA_CONFIGURE_ENABLE=theora
TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame
TWOLAME_CONFIGURE_ENABLE= twolame
UPNP_LIB_DEPENDS= libupnp.so:${PORTSDIR}/devel/upnp
UPNP_CONFIGURE_ENABLE= upnp
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
V4L_LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l
V4L_CONFIGURE_ENABLE= v4l2
VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva
VAAPI_CONFIGURE_ENABLE= libva
VCD_LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb
VCD_CONFIGURE_ENABLE= vcd libcddb
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau
VDPAU_CONFIGURE_ENABLE= vdpau
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_ENABLE=vorbis
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
X11_USE= GL=gl XORG=xcb,xproto
X11_LIB_DEPENDS= libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
X11_CONFIGURE_ENABLE= glx xcb xvideo
X11_CONFIGURE_WITH= x
X264_LIB_DEPENDS= libx264.so:${PORTSDIR}/multimedia/libx264
X264_CONFIGURE_ENABLE= x264
ZVBI_LIB_DEPENDS= libzvbi.so:${PORTSDIR}/devel/libzvbi
ZVBI_CONFIGURE_ENABLE= zvbi
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
PORTDATA= *
PORTDOCS= *
- Update to 0.8.1 - Default X11 interface is now WxWindows (gtk2.0 version) - Removed Gtk 1.2 & Gnome 1.4 support. (depreciated to wxgtk) - Removed WITH_AUTODETECT, vlc is very modular at runtime - Add skins2 interface (similar to xmms) - Merge mad and id3lib support (can be disabled with WITHOUT_MAD) - Added support for a mozilla plugin Lots of stuff obtained from ports/www/mplayer-plugin and some help from marcus - Auto-generated pkg-plist (make life EASY :) ) - s/Linux/FreeBSD/ through out the program. - Statically link to libavcodec/libavformat from vlc's supported ffmpeg snapshot for greater performance. - Knob Changes or New Knobs: WITHOUT_FAAD (Enabled default) WITHOUT_FLAC (Enabled default) WITHOUT_DTS (Enabled default) WITHOUT_DVD (Enabled default) WITHOUT_CDROM (Enabled default, this is vcd & cddb support) WITHOUT_LAME (Enabled default) WITHOUT_MAD (Enabled default) WITHOUT_HTTPD (Enabled default) WITHOUT_VORBIS (Enabled default) WITHOUT_LIBMATROSKA (Enabled default) WITHOUT_LIVEMEDIA (Enabled default) WITHOUT_SDL (Enabled default) WITHOUT_SLP (Enabled default) WITHOUT_LIBMPEG2 (Enabled default) WITH_MOZILLA_PLUGIN (Disabled default, defaults to www/mozilla if defined) [mozilla|mozilla-devel|firefox] WITH_ARTS (Disabled default) WITH_TOOLAME (Disabled default) WITH_LIBCACA (Disabled default) WITH_LIBTREMOR (Disabled default) WITH_LIBTHEORA (Disabled defalut) WITH_OPENGL (Disabled default) WITH_SSL (Disabled default) WITH_SVG (Disabled default) WITH_SKINS (Disabled default) DEBUG (Disabled default) Note: WITH_ Knobs are disabled default unless auto-detected WITHOUT_ Knobs are enabled default unless defined Please read the first section of ports/multimedia/Makefile before building to tune VLC towards your personal preferences. ffmpeg-patch partly obtained from gentoo Changelog: http://developers.videolan.org/vlc/NEWS Approved by: pav (co mentor) -------------------------------------------------------------
2004-11-16 22:59:37 +01:00
2009-12-19 23:08:17 +01:00
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPULSEAUDIO} && ${OSVERSION} <= 900044
IGNORE= Pulseaudio is unsupported with rtld prior to FreeBSD-9.x
.endif
.if ${PORT_OPTIONS:MSKINS}
.if ${PORT_OPTIONS:MQT4}
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
LIB_DEPENDS+= libminizip.so:${PORTSDIR}/archivers/minizip \
libtar.so:${PORTSDIR}/devel/libtar
USE_XORG+= xext xinerama xpm
CONFIGURE_ARGS+=--enable-skins2 --enable-libtar
.else
IGNORE= SKINS option requires QT4 option
.endif
.else
CONFIGURE_ARGS+=--disable-skins2 --disable-libtar
.endif
# Define these to override
# FreeBSD 9.x uses CAM devices
.if (${OSVERSION} > 900037)
WITH_CDROM_DEVICE?=/dev/cd0
WITH_DVD_DEVICE?=/dev/cd0
.else
WITH_CDROM_DEVICE?=/dev/acd0
WITH_DVD_DEVICE?=/dev/acd0
.endif
post-patch:
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
@${REINPLACE_CMD} \
-e '\|LIBS|s|-lrt||' \
-e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \
-e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
${WRKSRC}/src/libvlc-module.c
@${RM} -rf ${WRKSRC}/modules/access/v4l2/linux
- Remove libproxy dependency. I cannot find any references to it. - Add libidn dependency. It is always picked up when detected by configure. - Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional dependency but it is used by several other plugins. - Replace OSVERSION+clang tests with USES=compiler:c11. - Replace post-patch command with USES=pathfix. - Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure doesn't silently ignore problems with dependencies. - Add some more --disable-* flags to CONFIGURE_ARGS to make sure configure doesn't auto-enable them. - Specify the correct location of KDE Solid files in CONFIGURE_ARGS. ("Play with VLC" option when you insert a CD/DVD.) - Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to override the test for libpthread. It detects pthread_rwlock_init in our libc and assumes no threading library is needed, but libc doesn't have a real pthread implementation. - Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include which may contain gnutls2 headers. - Rename some options so more descriptions from bsd.options.desc.mk can be used. - Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this option only controls the "optimizations" configure option which is enabled by default by upstream. - Remove REALAUDIO from OPTIONS_DEFAULT. Old codec. - Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render video. The X11 option is better for this. - Remove SKINS from OPTIONS_DEFAULT. - Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and vlc is typically used as a player not as a video server. - Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't work with modern options framework. - Add a patch to fix some issues in the configure script, e.g. don't add -L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the linker command line causing installed vlc libraries to be linked in instead of freshly built ones. - With patched configure some options like A52 need include/library search paths now. - Some options have pkgconfig files now so remove include/library search paths where possible. - Separate KATE option from OGG. - Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11. - Implement NCURSES option with USES=ncurses. - Add VDPAU option. - Drop perl5 dependency. - Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS. - Add missing dependencies to SKINS option (libminizip, xorg) - Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE. - Only use auto-plist for the plugins directory. Use regular pkg-plist, PORTDATA and PORTDOCS for everything else. This is a lot simpler and makes it easier to detect library version changes. - Delete some unneeded patches. Approved by: bapt
2014-06-02 22:42:44 +02:00
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \
-type f -o -type l >> ${TMPPLIST})
@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s -d lib/vlc -type d | \
${SED} 's/^/@dirrm /' >> ${TMPPLIST})
.include <bsd.port.mk>