pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/vlc2 multimedia/vlc2: import vlc2-2.2.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/e1699327ddd8
branches: trunk
changeset: 379196:e1699327ddd8
user: kamil <kamil%pkgsrc.org@localhost>
date: Wed Apr 25 22:39:02 2018 +0000
description:
multimedia/vlc2: import vlc2-2.2.6
VideoLAN is a project of French students from the Ecole Centrale Paris
and developers from all over the world. Its main goals is MPEG streaming
on a network, but it also features a standalone multimedia player. The
VideoLAN Server can stream video read from a hard disk, a DVD player,
a satellite card or an MPEG 2 compression card, and unicast or multicast
it on a network. The VideoLAN Client can read the stream from the network
and display it. It can also be used to display video read locally on
the computer : DVDs, VCDs, MPEG and DivX files and from a satellite
card. It is multi-plaform : Linux, Windows, Mac OS X, BeOS, BSD, Solaris,
QNX, iPaq... The VideoLAN Client and Server now have a full IPv6 support.
This package ships the 2.2.x version of VLC.
diffstat:
multimedia/vlc2/DESCR | 12 +
multimedia/vlc2/Makefile | 199 +++
multimedia/vlc2/PLIST | 563 ++++++++++
multimedia/vlc2/PLIST.Linux | 8 +
multimedia/vlc2/buildlink3.mk | 13 +
multimedia/vlc2/distinfo | 32 +
multimedia/vlc2/hacks.mk | 15 +
multimedia/vlc2/options.mk | 180 +++
multimedia/vlc2/patches/patch-bin_override.c | 13 +
multimedia/vlc2/patches/patch-compat_Makefile.am | 25 +
multimedia/vlc2/patches/patch-compat_Makefile.in | 131 ++
multimedia/vlc2/patches/patch-configure | 24 +
multimedia/vlc2/patches/patch-include_vlc__common.h | 48 +
multimedia/vlc2/patches/patch-include_vlc__fixups.h | 54 +
multimedia/vlc2/patches/patch-include_vlc_atomic.h | 22 +
multimedia/vlc2/patches/patch-modules_access_directory.c | 25 +
multimedia/vlc2/patches/patch-modules_access_file.c | 23 +
multimedia/vlc2/patches/patch-modules_access_rtp_Makefile.am | 13 +
multimedia/vlc2/patches/patch-modules_gui_qt4_components_controller.cpp | 18 +
multimedia/vlc2/patches/patch-modules_gui_qt4_components_extended__panels.cpp | 34 +
multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.cpp | 24 +
multimedia/vlc2/patches/patch-modules_gui_qt4_components_interface__widgets.hpp | 16 +
multimedia/vlc2/patches/patch-modules_gui_qt4_dialogs_messages.cpp | 15 +
multimedia/vlc2/patches/patch-modules_gui_qt4_input__manager.cpp | 52 +
multimedia/vlc2/patches/patch-modules_gui_qt4_input__manager.hpp | 38 +
multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.cpp | 23 +
multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp | 25 +
multimedia/vlc2/patches/patch-modules_gui_qt4_util_input__slider.cpp | 16 +
multimedia/vlc2/patches/patch-modules_gui_qt4_util_input__slider.hpp | 25 +
multimedia/vlc2/patches/patch-modules_gui_skins2_src_theme__loader.cpp | 12 +
multimedia/vlc2/patches/patch-modules_misc_inhibit_xdg.c | 78 +
multimedia/vlc2/patches/patch-modules_services__discovery_mtp.c | 14 +
multimedia/vlc2/patches/patch-modules_video__output_sdl.c | 17 +
multimedia/vlc2/patches/patch-src_config_file.c | 25 +
34 files changed, 1832 insertions(+), 0 deletions(-)
diffs (truncated from 1968 to 300 lines):
diff -r afb2c64b6c1c -r e1699327ddd8 multimedia/vlc2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/vlc2/DESCR Wed Apr 25 22:39:02 2018 +0000
@@ -0,0 +1,12 @@
+VideoLAN is a project of French students from the Ecole Centrale Paris
+and developers from all over the world. Its main goals is MPEG streaming
+on a network, but it also features a standalone multimedia player. The
+VideoLAN Server can stream video read from a hard disk, a DVD player,
+a satellite card or an MPEG 2 compression card, and unicast or multicast
+it on a network. The VideoLAN Client can read the stream from the network
+and display it. It can also be used to display video read locally on
+the computer : DVDs, VCDs, MPEG and DivX files and from a satellite
+card. It is multi-plaform : Linux, Windows, Mac OS X, BeOS, BSD, Solaris,
+QNX, iPaq... The VideoLAN Client and Server now have a full IPv6 support.
+
+This package ships the 2.2.x version of VLC.
diff -r afb2c64b6c1c -r e1699327ddd8 multimedia/vlc2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/vlc2/Makefile Wed Apr 25 22:39:02 2018 +0000
@@ -0,0 +1,199 @@
+# $NetBSD: Makefile,v 1.70 2018/04/25 22:39:02 kamil Exp $
+
+DISTNAME= vlc-${VLC_VERSION}
+PKGNAME= ${DISTNAME:S/vlc/vlc2/}
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vlc/}
+MASTER_SITES+= http://download.videolan.org/pub/videolan/vlc/${VLC_VERSION}/
+EXTRACT_SUFX= .tar.xz
+
+VLC_VERSION= 2.2.6
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.videolan.org/
+COMMENT= VLC media player and streaming server
+LICENSE= gnu-gpl-v2
+
+CONFLICTS= vlc07-[0-9]* vlc08-[0-9]*
+
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake perl pkg-config
+
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-kde-solid=${PREFIX}/share/kde/apps/solid/actions
+PTHREAD_OPTS+= require
+USE_LANGUAGES= c99 c++
+PLIST_VARS+= altivec cdrom oss v4l2 x86simd
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.0
+BUILDLINK_API_DEPENDS.vcdimager+= vcdimager>=0.7.20nb1
+
+CONFIGURE_ARGS+= --enable-dvdread
+CONFIGURE_ARGS+= --enable-flac
+CONFIGURE_ARGS+= --enable-theora
+CONFIGURE_ARGS+= --disable-bluray
+CONFIGURE_ARGS+= --disable-bonjour
+CONFIGURE_ARGS+= --disable-caca
+CONFIGURE_ARGS+= --disable-chromaprint
+CONFIGURE_ARGS+= --disable-dc1394
+CONFIGURE_ARGS+= --disable-decklink
+CONFIGURE_ARGS+= --disable-dv1394
+CONFIGURE_ARGS+= --disable-freerdp
+CONFIGURE_ARGS+= --disable-goom
+CONFIGURE_ARGS+= --disable-gst-decode
+CONFIGURE_ARGS+= --disable-lua
+CONFIGURE_ARGS+= --disable-mfx
+CONFIGURE_ARGS+= --disable-mmal-codec
+CONFIGURE_ARGS+= --disable-notify
+CONFIGURE_ARGS+= --disable-opencv
+CONFIGURE_ARGS+= --disable-projectm
+CONFIGURE_ARGS+= --disable-samplerate
+CONFIGURE_ARGS+= --disable-sftp
+CONFIGURE_ARGS+= --disable-shine
+CONFIGURE_ARGS+= --disable-sid
+CONFIGURE_ARGS+= --disable-smbclient
+CONFIGURE_ARGS+= --disable-twolame
+CONFIGURE_ARGS+= --disable-udev
+CONFIGURE_ARGS+= --disable-vnc
+CONFIGURE_ARGS+= --disable-vsxu
+CONFIGURE_ARGS+= --disable-zvbi
+
+CFLAGS+= -fPIC
+CXXFLAGS+= -fPIC
+
+# which platforms support OSSv4?
+.if ${MACHINE_PLATFORM:MNetBSD-[789]*-*}
+PLIST.oss= yes
+.include "../../mk/oss.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-oss
+.endif
+
+# Build optimized modules
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+PLIST.x86simd= yes
+CONFIGURE_ARGS+= --enable-mmx \
+ --enable-sse
+.endif
+.if ${MACHINE_ARCH} == "powerpc"
+PLIST.altivec= yes
+CONFIGURE_ARGS+= --enable-altivec
+.endif
+
+# SunOS cdio interface is unsupported
+.if ${OPSYS} != "SunOS"
+PLIST.cdrom= yes
+.endif
+
+# Enable when cleanly builds
+.if exists(/usr/include/linux/videodev2.h) # || exists(/usr/include/sys/videoio.h)
+CONFIGURE_ARGS+= --enable-v4l2
+PLIST.v4l2= yes
+.else
+CONFIGURE_ARGS+= --disable-v4l2
+.endif
+
+INSTALLATION_DIRS+= share/vlc/http/dialogs share/vlc/http/images \
+ share/vlc/http/js share/vlc/http/old \
+ share/vlc/http/old/admin share/vlc/http/old/vlm \
+ share/vlc/http/requests share/vlc/osdmenu/default \
+ share/vlc/osdmenu/default/selected \
+ share/vlc/osdmenu/default/selection \
+ share/vlc/osdmenu/default/volume \
+ share/vlc/osdmenu/dvd/selected \
+ share/vlc/osdmenu/dvd/volume \
+ share/vlc/osdmenu/dvd/unselect \
+ share/vlc/osdmenu/dvd/selection \
+ share/vlc/skins2/fonts \
+ ${PKGMANDIR}/man1
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/vlc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+# Let's use dejavu-ttf as it has nice unicode support
+#
+ORIGFNT= /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
+ORIGMONOFNT= /usr/share/fonts/truetype/freefont/FreeMono.ttf
+DEFAULT_FONT?= ${PREFIX}/share/fonts/X11/TTF/DejaVuSans.ttf
+DEFAULT_MONO_FONT?= ${PREFIX}/share/fonts/X11/TTF/DejaVuSansMono.ttf
+DEPENDS+= dejavu-ttf>=2.26:../../fonts/dejavu-ttf
+
+SUBST_CLASSES+= oss
+SUBST_STAGE.oss= pre-configure
+SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+SUBST_FILES.oss+= modules/access/oss.c
+SUBST_FILES.oss+= modules/audio_output/oss.c
+SUBST_FILES.oss+= po/*.po
+SUBST_MESSAGE.oss= Fixing hardcoded audio device.
+
+SUBST_CLASSES+= fnt
+SUBST_STAGE.fnt= pre-configure
+SUBST_SED.fnt= -e "s,${ORIGFNT},${DEFAULT_FONT},"
+SUBST_SED.fnt+= -e "s,${ORIGMONOFNT},${DEFAULT_MONO_FONT},"
+SUBST_FILES.fnt= modules/text_renderer/platform_fonts.h
+SUBST_MESSAGE.fnt= Fixing hardcoded font paths.
+
+# VLC embeds the build environment info to help debuging.
+CHECK_WRKREF_SKIP= lib/libvlccore.a \
+ lib/libvlccore.so*
+
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../multimedia/libkate/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../audio/libshout/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/liba52/buildlink3.mk"
+.include "../../audio/libcddb/buildlink3.mk"
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/musepack/buildlink3.mk"
+.include "../../audio/speexdsp/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../devel/libmtp/buildlink3.mk"
+.include "../../misc/libcdio/buildlink3.mk"
+.include "../../multimedia/libass/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../devel/libebml/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+
+.include "../../multimedia/ffmpeg2/buildlink3.mk"
+.include "../../multimedia/libdvdplay/buildlink3.mk"
+.include "../../multimedia/libdvbpsi0/buildlink3.mk"
+.include "../../multimedia/libdvdnav/buildlink3.mk"
+.include "../../multimedia/libdvdread/buildlink3.mk"
+.include "../../multimedia/libmatroska/buildlink3.mk"
+.include "../../multimedia/libmpeg2/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../multimedia/schroedinger/buildlink3.mk"
+# libX11 should be built with xcb enabled
+BUILDLINK_API_DEPENDS.libX11+= libX11>=1.3.5
+.include "../../x11/libX11/buildlink3.mk"
+# needs x264_encoder_delayed_frames
+BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20100201
+.include "../../multimedia/x264-devel/buildlink3.mk"
+#.include "../../lang/lua/buildlink3.mk"
+.include "../../net/libupnp/buildlink3.mk"
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.if "${OPSYS}" == "Linux"
+. include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r afb2c64b6c1c -r e1699327ddd8 multimedia/vlc2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/vlc2/PLIST Wed Apr 25 22:39:02 2018 +0000
@@ -0,0 +1,563 @@
+@comment $NetBSD: PLIST,v 1.14 2018/04/25 22:39:02 kamil Exp $
+bin/cvlc
+${PLIST.x11}bin/qvlc
+bin/rvlc
+${PLIST.vlc-skins}bin/svlc
+bin/vlc
+bin/vlc-wrapper
+include/vlc/deprecated.h
+include/vlc/libvlc.h
+include/vlc/libvlc_events.h
+include/vlc/libvlc_media.h
+include/vlc/libvlc_media_discoverer.h
+include/vlc/libvlc_media_library.h
+include/vlc/libvlc_media_list.h
+include/vlc/libvlc_media_list_player.h
+include/vlc/libvlc_media_player.h
+include/vlc/libvlc_structures.h
+include/vlc/libvlc_version.h
+include/vlc/libvlc_vlm.h
+include/vlc/plugins/vlc_about.h
+include/vlc/plugins/vlc_access.h
+include/vlc/plugins/vlc_addons.h
+include/vlc/plugins/vlc_aout.h
+include/vlc/plugins/vlc_aout_volume.h
+include/vlc/plugins/vlc_arrays.h
+include/vlc/plugins/vlc_atomic.h
+include/vlc/plugins/vlc_avcodec.h
+include/vlc/plugins/vlc_bits.h
+include/vlc/plugins/vlc_block.h
+include/vlc/plugins/vlc_block_helper.h
+include/vlc/plugins/vlc_charset.h
+include/vlc/plugins/vlc_codec.h
+include/vlc/plugins/vlc_common.h
+include/vlc/plugins/vlc_config.h
+include/vlc/plugins/vlc_config_cat.h
+include/vlc/plugins/vlc_configuration.h
+include/vlc/plugins/vlc_cpu.h
+include/vlc/plugins/vlc_demux.h
+include/vlc/plugins/vlc_dialog.h
+include/vlc/plugins/vlc_epg.h
+include/vlc/plugins/vlc_es.h
+include/vlc/plugins/vlc_es_out.h
+include/vlc/plugins/vlc_events.h
+include/vlc/plugins/vlc_filter.h
+include/vlc/plugins/vlc_fingerprinter.h
+include/vlc/plugins/vlc_fourcc.h
+include/vlc/plugins/vlc_fs.h
+include/vlc/plugins/vlc_gcrypt.h
+include/vlc/plugins/vlc_http.h
+include/vlc/plugins/vlc_httpd.h
+include/vlc/plugins/vlc_image.h
+include/vlc/plugins/vlc_inhibit.h
+include/vlc/plugins/vlc_input.h
+include/vlc/plugins/vlc_input_item.h
+include/vlc/plugins/vlc_keys.h
+include/vlc/plugins/vlc_main.h
+include/vlc/plugins/vlc_md5.h
+include/vlc/plugins/vlc_media_library.h
+include/vlc/plugins/vlc_messages.h
+include/vlc/plugins/vlc_meta.h
+include/vlc/plugins/vlc_meta_fetcher.h
+include/vlc/plugins/vlc_mime.h
+include/vlc/plugins/vlc_modules.h
+include/vlc/plugins/vlc_mouse.h
+include/vlc/plugins/vlc_mtime.h
+include/vlc/plugins/vlc_network.h
+include/vlc/plugins/vlc_objects.h
+include/vlc/plugins/vlc_opengl.h
+include/vlc/plugins/vlc_picture.h
+include/vlc/plugins/vlc_picture_fifo.h
+include/vlc/plugins/vlc_picture_pool.h
+include/vlc/plugins/vlc_playlist.h
+include/vlc/plugins/vlc_plugin.h
+include/vlc/plugins/vlc_probe.h
+include/vlc/plugins/vlc_rand.h
+include/vlc/plugins/vlc_services_discovery.h
+include/vlc/plugins/vlc_sout.h
Home |
Main Index |
Thread Index |
Old Index