Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2013 19:20:55 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334694 - in head/multimedia/libxine: . files
Message-ID:  <201311231920.rANJKuON030472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sat Nov 23 19:20:55 2013
New Revision: 334694
URL: http://svnweb.freebsd.org/changeset/ports/334694

Log:
  - Fix LIBBLURAY and VAAPI knobs so they actually do something.
  - No PORTREVISION bump as these are non-default options.
  - Remove unused patchfiles.

Deleted:
  head/multimedia/libxine/files/extrapatch-vdpau-configure.ac
  head/multimedia/libxine/files/extrapatch-vdpau-src-vdr-input_vdr.c
  head/multimedia/libxine/files/extrapatch-vdpau-src-video_out-video_out_vdpau.c
  head/multimedia/libxine/files/ffmpeg-vaapi_xine-lib-1.2.2-defaultoff.diff
Modified:
  head/multimedia/libxine/Makefile
  head/multimedia/libxine/pkg-plist

Modified: head/multimedia/libxine/Makefile
==============================================================================
--- head/multimedia/libxine/Makefile	Sat Nov 23 18:41:39 2013	(r334693)
+++ head/multimedia/libxine/Makefile	Sat Nov 23 19:20:55 2013	(r334694)
@@ -191,14 +191,18 @@ CONFIGURE_ARGS+=	--without-wavpack
 
 .if ${PORT_OPTIONS:MVAAPI}
 LIB_DEPENDS+=	libva.so:${PORTSDIR}/multimedia/libva
+PLIST_SUB+=	VAAPI=""
+CONFIGURE_ARGS+=	--enable-vaapi
+.else
+PLIST_SUB+=	VAAPI="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MLIBBLURAY}
-CONFIGURE_OPTS+=	--enable-bluray
+CONFIGURE_ARGS+=	--enable-bluray
 LIB_DEPENDS+=	libbluray.so:${PORTSDIR}/multimedia/libbluray
 PLIST_SUB+=	LIBBLURAY=""
 .else
-CONFIGURE_OPTS+=	--disable-bluray
+CONFIGURE_ARGS+=	--disable-bluray
 PLIST_SUB+=	LIBBLURAY="@comment "
 .endif
 
@@ -217,7 +221,8 @@ CONFIGURE_ARGS+=	--disable-vidix
 
 post-patch:
 .if ${PORT_OPTIONS:MVAAPI}
-	#@${PATCH} ${PATCH_DIST_ARGS} <${FILESDIR}/ffmpeg-vaapi_xine-lib-1.2.2-defaultoff.diff
+	@${REINPLACE_CMD} -e 's|-ldl||' \
+		${WRKSRC}/src/video_out/Makefile.in
 .endif
 .for f in libtool ltmain.sh
 	@${REINPLACE_CMD} -e \

Modified: head/multimedia/libxine/pkg-plist
==============================================================================
--- head/multimedia/libxine/pkg-plist	Sat Nov 23 18:41:39 2013	(r334693)
+++ head/multimedia/libxine/pkg-plist	Sat Nov 23 19:20:55 2013	(r334694)
@@ -181,6 +181,7 @@ share/xine-lib/fonts/serif-64.xinefont.g
 %%PLUGINSDIR%%/xineplug_vo_out_xcbxv.so
 %%PLUGINSDIR%%/xineplug_vo_out_xshm.so
 %%PLUGINSDIR%%/xineplug_vo_out_xv.so
+%%VAAPI%%%%PLUGINSDIR%%/xineplug_vo_out_vaapi.so
 %%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xvmc.so
 %%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xxmc.so
 %%WITH_WAVPACK%%%%PLUGINSDIR%%/xineplug_wavpack.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311231920.rANJKuON030472>