Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2011 07:13:03 +0300
From:      Anonymous <swell.k@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: multimedia/vlc + VDPAU
Message-ID:  <86hbdong34.fsf@gmail.com>
In-Reply-To: <86zkrgniba.fsf@gmail.com> (Anonymous's message of "Wed, 05 Jan 2011 06:24:57 %2B0300")
References:  <86zkrgniba.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Anonymous <swell.k@gmail.com> writes:

> Anyone already working on it? If no one then can you test?
>
>   1. install x11/nvidia-driver if you haven't yet
>   2. install multimedia/vdpau-video

Oops, I haven't tested with base compiler.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=b.diff

diff --git multimedia/libva/Makefile multimedia/libva/Makefile
index 48f4c2c..55d1d98 100644
--- multimedia/libva/Makefile
+++ multimedia/libva/Makefile
@@ -26,6 +26,12 @@ USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
 ACLOCAL_ARGS=	-I.
 AUTOMAKE_ARGS=	--add-missing
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+# prevent types conflict: videodev2.h vs. drm.h
+CFLAGS+=	-DHAVE_LINUX_INTEGER_TYPES
 
 .if !defined(WITH_DEBUG)
 CFLAGS+=	-DNDEBUG
diff --git multimedia/vdpau-video/Makefile multimedia/vdpau-video/Makefile
index a834074..055e343 100644
--- multimedia/vdpau-video/Makefile
+++ multimedia/vdpau-video/Makefile
@@ -22,6 +22,9 @@ LICENSE_FILE_GPLv2=${WRKSRC}/COPYING
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+=	-I${LOCALBASE}/include
 
 .include <bsd.port.pre.mk>
 

--=-=-=--



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