From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 5 04:13:23 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F476106566C for ; Wed, 5 Jan 2011 04:13:23 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3202D8FC13 for ; Wed, 5 Jan 2011 04:13:22 +0000 (UTC) Received: by qyk36 with SMTP id 36so14534365qyk.13 for ; Tue, 04 Jan 2011 20:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=UwVs8smPMFyipctvRvI2pobkfazGpsksE/VZfL16yaI=; b=KM8dnRVj2Mqn6q/C3VgU/Cl9nFIg5MH6juea+uoO7TCBfKEyk1vfaZ9HuMwbxlgEQ8 C36R54LxMYyUEQ7Tcit9ZPlYNK39TbSPun83FQ7e4IPUelIiSLsVxJnFrQytJIWRK9Jn 7wLChilt5N9Vdjoq1/gjt2p2D2X6dofzAj7RQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; b=gemmqBr+pRSoAflOC6Y0+Bei8QZDauR5GUPirj02oLbRNXZxrgadI/JspBNnd+dG4B eyRmyGed2bOC4Zu2/n8xUsmIPABt98z31Ng4xlkaCtO686sxTr8Zi9nMKxnZNx2/rhXK mOfoaAXrOrQT2cL1brKwyHF3fpKlMe7bw/4l0= Received: by 10.224.28.213 with SMTP id n21mr21587374qac.64.1294200802312; Tue, 04 Jan 2011 20:13:22 -0800 (PST) Received: from localhost (anonymizer2.torservers.net [174.36.199.200]) by mx.google.com with ESMTPS id p13sm13302503qcu.17.2011.01.04.20.13.18 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Jan 2011 20:13:21 -0800 (PST) From: Anonymous To: freebsd-multimedia@freebsd.org References: <86zkrgniba.fsf@gmail.com> Date: Wed, 05 Jan 2011 07:13:03 +0300 In-Reply-To: <86zkrgniba.fsf@gmail.com> (Anonymous's message of "Wed, 05 Jan 2011 06:24:57 +0300") Message-ID: <86hbdong34.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: Re: multimedia/vlc + VDPAU X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 04:13:23 -0000 --=-=-= Content-Type: text/plain Anonymous 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 --=-=-=--