Date: Fri, 16 May 2014 17:27:39 +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: r354247 - head/multimedia/libxine Message-ID: <201405161727.s4GHRdrd076080@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nox Date: Fri May 16 17:27:39 2014 New Revision: 354247 URL: http://svnweb.freebsd.org/changeset/ports/354247 QAT: https://qat.redports.org/buildarchive/r354247/ Log: - Fix plist with older nvidia-driver versions that don't support opengl 2.0 . - Bump PORTREVISION. Reported by: Garrett Garrison Modified: head/multimedia/libxine/Makefile Modified: head/multimedia/libxine/Makefile ============================================================================== --- head/multimedia/libxine/Makefile Fri May 16 17:21:44 2014 (r354246) +++ head/multimedia/libxine/Makefile Fri May 16 17:27:39 2014 (r354247) @@ -3,7 +3,7 @@ PORTNAME= xine PORTVERSION= 1.2.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib @@ -65,7 +65,8 @@ OPTIONS_DEFINE= CACA ESOUND JACK GNOMEVF DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput -PLIST_SUB= PLUGINSDIR="lib/xine/plugins/2.3" +PLUGINSDIR= lib/xine/plugins/2.3 +PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" .include <bsd.port.options.mk> @@ -226,4 +227,12 @@ post-patch: 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \ ${WRKSRC}/configure +# XXX older nvidia-driver versions don't support opengl 2.0 so this +# plugin might not get built: +post-install: +.if !exists(${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so) + ${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \ + ${TMPPLIST} +.endif + .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405161727.s4GHRdrd076080>