aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2012-12-24 04:35:46 +0800
committernox <nox@FreeBSD.org>2012-12-24 04:35:46 +0800
commit669b01a987e6c279ab3951bc6eeb4f5c052387fa (patch)
tree2232574c1647c03f722a4cd7a7b85f5849c9e8af /multimedia
parenta3b3a55471246532eff44d95a35e34ecd379f4e4 (diff)
downloadfreebsd-ports-gnome-669b01a987e6c279ab3951bc6eeb4f5c052387fa.tar.gz
freebsd-ports-gnome-669b01a987e6c279ab3951bc6eeb4f5c052387fa.tar.zst
freebsd-ports-gnome-669b01a987e6c279ab3951bc6eeb4f5c052387fa.zip
Update to 2.0.5 .
Thanx to: several people on -multimedia for testing and feedback
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/Makefile35
-rw-r--r--multimedia/vlc/distinfo4
-rw-r--r--multimedia/vlc/files/patch-modules-access-dtv-linux.c31
-rw-r--r--multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c32
4 files changed, 27 insertions, 75 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 13286abaf4f3..adbf30dd4d3c 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= vlc
-DISTVERSION= 2.0.4
+DISTVERSION= 2.0.5
PORTEPOCH= 3
-PORTREVISION= 1
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/p/-pre/}/ \
http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION}/ \
@@ -29,11 +28,11 @@ OPTIONS_DEFINE= A52 AALIB ASS AVAHI CACA DBUS DIRAC DOCS DTS DVDREAD \
SAMBA SCHROED SDL SHOUTCAST SKINS STREAM SPEEX SQLITE SVG \
TAGLIB THEORA TWOLAME UPNP V4L VAAPI VCD VORBIS \
X11 X264 XCB XOSD XVIDEO ZVBI SERVER_ONLY DEBUG \
- NO_DVD
+ NO_DVD LIBBLURAY SAMPLERATE
OPTIONS_DEFAULT=A52 AVAHI DBUS DTS DVDREAD DVDNAV FAAD FLAC GLX GNUTLS \
HTTPD LUA MAD MATROSKA MPEG2 OGG OPUS PNG QT4 REALAUDIO \
SDL SKINS STREAM SPEEX TAGLIB THEORA TWOLAME V4L \
- VCD VORBIS X11 X264 XCB XVIDEO
+ VCD VORBIS X11 X264 XCB XVIDEO SAMPLERATE
ASS_DESC= ASS/SSA subtitle rendering
DTS_DESC= DTS DVD audio decoder
DVDREAD_DESC= DVD Playback support
@@ -274,10 +273,10 @@ CONFIGURE_ARGS+=--disable-glx
.endif
.if ${PORT_OPTIONS:MGNOMEVFS}
-USE_GNOME= gnomevfs2
+USE_GNOME+= gnomevfs2
CONFIGURE_ARGS+=--enable-gnomevfs
.else
-COFIGURE_ARGS+=--disable-gnomevfs
+CONFIGURE_ARGS+=--disable-gnomevfs
.endif
.if ${PORT_OPTIONS:MGNUTLS}
@@ -307,6 +306,13 @@ CONFIGURE_ARGS+=--enable-jack
CONFIGURE_ARGS+=--disable-jack
.endif
+.if ${PORT_OPTIONS:MLIBBLURAY}
+LIB_DEPENDS+= bluray:${PORTSDIR}/multimedia/libbluray
+CONFIGURE_ARGS+=--enable-bluray
+.else
+CONFIGURE_ARGS+=--disable-bluray
+.endif
+
.if ${PORT_OPTIONS:MLIRC}
CONFIGURE_ARGS+=--enable-lirc
LIB_DEPENDS+= lirc_client:${PORTSDIR}/comms/lirc
@@ -408,11 +414,12 @@ CONFIGURE_ARGS+=--enable-optimizations
.endif
.if ${PORT_OPTIONS:MOGG}
-LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg
-CONFIGURE_ARGS+=--enable-ogg
+LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg \
+ kate:${PORTSDIR}/multimedia/libkate
+CONFIGURE_ARGS+=--enable-ogg --enable-kate
.else
PORT_OPTIONS:= ${PORT_OPTIONS:NVORBIS}
-CONFIGURE_ARGS+=--disable-ogg
+CONFIGURE_ARGS+=--disable-ogg --disable-kate
.endif
.if ${PORT_OPTIONS:MOPUS}
@@ -463,6 +470,13 @@ CONFIGURE_ARGS+=--disable-real --disable-realrtsp
CONFIGURE_ARGS+=--enable-run-as-root
.endif
+.if ${PORT_OPTIONS:MSAMPLERATE}
+LIB_DEPENDS+= samplerate:${PORTSDIR}/audio/libsamplerate
+CONFIGURE_ARGS+=--enable-samplerate
+.else
+CONFIGURE_ARGS+=--disable-samplerate
+.endif
+
.if ${PORT_OPTIONS:MSAMBA}
LIB_DEPENDS+= smbclient:${PORTSDIR}/net/samba-libsmbclient
CONFIGURE_ARGS+=--enable-smb
@@ -584,6 +598,7 @@ CONFIGURE_ARGS+=--disable-libva
.endif
.if ${PORT_OPTIONS:MVCD}
+LIB_DEPENDS+= cddb:${PORTSDIR}/audio/libcddb
CONFIGURE_ARGS+=--enable-vcd --enable-libcddb
.else
CONFIGURE_ARGS+=--disable-vcd --disable-libcddb
@@ -770,7 +785,7 @@ pre-install:
.if ${PORT_OPTIONS:MNLS}
cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \
${SED} -e 's|^|share/locale/|' >> ${PLIST}
-.for locale in ach cgg bn_IN ckb co ff fur gd kk km kmr lg my oc ps tet tl zu
+.for locale in ach cgg bn_IN ckb co ff fur gd ia kk km kmr lg my oc ps tet tl zu
${ECHO_CMD} "@dirrmtry share/locale/${locale}/LC_MESSAGES" >> ${PLIST}
${ECHO_CMD} "@dirrmtry share/locale/${locale}" >> ${PLIST}
.endfor
diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo
index 549a2acab761..296dc94858c6 100644
--- a/multimedia/vlc/distinfo
+++ b/multimedia/vlc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (vlc-2.0.4.tar.xz) = 4e066ed0d48ddc85aa1f01964945af666b5713cb6230d76347aebbc9a6553db6
-SIZE (vlc-2.0.4.tar.xz) = 18518272
+SHA256 (vlc-2.0.5.tar.xz) = dff9eb00861bcd9f8446ff5cedbd3c5fd2bed460e6bfa84bd9e01f750ed96b6e
+SIZE (vlc-2.0.5.tar.xz) = 18369292
diff --git a/multimedia/vlc/files/patch-modules-access-dtv-linux.c b/multimedia/vlc/files/patch-modules-access-dtv-linux.c
deleted file mode 100644
index 87f569132883..000000000000
--- a/multimedia/vlc/files/patch-modules-access-dtv-linux.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- modules/access/dtv/linux.c.orig
-+++ modules/access/dtv/linux.c
-@@ -173,7 +173,14 @@ static int dvb_open_adapter (uint8_t ada
- char dir[20];
-
- snprintf (dir, sizeof (dir), "/dev/dvb/adapter%"PRIu8, adapter);
-+#ifdef O_CLOEXEC
- return open (dir, O_SEARCH|O_DIRECTORY|O_CLOEXEC);
-+#else
-+ int fd = open (dir, O_SEARCH|O_DIRECTORY);
-+ if (fd != -1)
-+ fcntl(fd, F_SETFD, FD_CLOEXEC);
-+ return fd;
-+#endif
- }
-
- /** Opens the DVB device node of the specified type */
-@@ -183,7 +190,13 @@ static int dvb_open_node (dvb_device_t *
- char path[strlen (type) + 4];
-
- snprintf (path, sizeof (path), "%s%u", type, d->device);
-+#ifdef O_CLOEXEC
- fd = openat (d->dir, path, flags|O_CLOEXEC);
-+#else
-+ fd = openat (d->dir, path, flags);
-+ if (fd != -1)
-+ fcntl(fd, F_SETFD, FD_CLOEXEC);
-+#endif
- if (fd != -1)
- fcntl (fd, F_SETFL, fcntl (fd, F_GETFL) | O_NONBLOCK);
- return fd;
diff --git a/multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c b/multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c
deleted file mode 100644
index 505438bfa1f0..000000000000
--- a/multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- modules/audio_output/vlcpulse.c.orig
-+++ modules/audio_output/vlcpulse.c
-@@ -113,10 +113,12 @@ pa_context *vlc_pa_connect (vlc_object_t
- struct passwd pwbuf, *pw;
- char buf[len];
-
-- if (getpwuid_r (getuid (), &pwbuf, buf, sizeof (buf), &pw) == 0
-- && pw != NULL)
-- pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_USER,
-- pw->pw_name);
-+ if (getpwuid_r (getuid (), &pwbuf, buf, sizeof (buf), &pw) == 0) {
-+ if (pw != NULL)
-+ pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_USER,
-+ pw->pw_name);
-+ break;
-+ }
- }
-
- for (size_t max = sysconf (_SC_HOST_NAME_MAX), len = max % 1024 + 1024;
-@@ -124,9 +126,11 @@ pa_context *vlc_pa_connect (vlc_object_t
- {
- char hostname[len];
-
-- if (gethostname (hostname, sizeof (hostname)) == 0)
-+ if (gethostname (hostname, sizeof (hostname)) == 0) {
- pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_HOST,
- hostname);
-+ break;
-+ }
- }
-
- const char *session = getenv ("XDG_SESSION_COOKIE");