Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2012 06:43:05 GMT
From:      Manuel Creach <manuel.creach@icloud.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172843: [NEW PORT] multimedia/libva-intel-driver : intel driver for libva
Message-ID:  <201210180643.q9I6h525051063@red.freebsd.org>
Resent-Message-ID: <201210180650.q9I6o1nr026876@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172843
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/libva-intel-driver : intel driver for libva
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 18 06:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Creach
>Release:        9.1-RC2
>Organization:
>Environment:
FreeBSD j1 9.1-RC2 FreeBSD 9.1-RC2 #1 r241574: Mon Oct 15 10:52:07 CEST 2012     root@hpjm-bsd:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The libva-intel-driver provide the libva's driver for intel graphics cards
with hardware accelerated features for video encode/decode.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libva-intel-driver
#	libva-intel-driver/files
#	libva-intel-driver/files/patch-src-i965_decoder_utils.c
#	libva-intel-driver/files/patch-src-Makefile.am
#	libva-intel-driver/pkg-descr
#	libva-intel-driver/Makefile
#	libva-intel-driver/pkg-plist
#	libva-intel-driver/distinfo
#
echo c - libva-intel-driver
mkdir -p libva-intel-driver > /dev/null 2>&1
echo c - libva-intel-driver/files
mkdir -p libva-intel-driver/files > /dev/null 2>&1
echo x - libva-intel-driver/files/patch-src-i965_decoder_utils.c
sed 's/^X//' >libva-intel-driver/files/patch-src-i965_decoder_utils.c << 'b9b911e4a64744335030a7acc0692c7a'
X--- src/i965_decoder_utils.c.orig	2012-09-25 09:30:04.000000000 +0200
X+++ src/i965_decoder_utils.c	2012-09-25 09:30:18.000000000 +0200
X@@ -24,7 +24,7 @@
X #include <assert.h>
X #include <stddef.h>
X #include <string.h>
X-#include <alloca.h>
X+#include <stdlib.h>
X #include "intel_batchbuffer.h"
X #include "i965_decoder_utils.h"
X #include "i965_drv_video.h"
b9b911e4a64744335030a7acc0692c7a
echo x - libva-intel-driver/files/patch-src-Makefile.am
sed 's/^X//' >libva-intel-driver/files/patch-src-Makefile.am << 'cfb1c757136e6f2595eca6afd4144f6b'
X--- src/Makefile.am.orig	2012-10-18 06:25:24.000000000 +0000
X+++ src/Makefile.am	2012-10-18 06:25:36.000000000 +0000
X@@ -40,7 +40,7 @@
X 	$(NULL)
X 
X driver_libs = \
X-	-lpthread -ldl		\
X+	-lpthread		\
X 	$(DRM_LIBS) -ldrm_intel	\
X 	$(LIBVA_DEPS_LIBS)	\
X 	$(NULL)
cfb1c757136e6f2595eca6afd4144f6b
echo x - libva-intel-driver/pkg-descr
sed 's/^X//' >libva-intel-driver/pkg-descr << '1b8d0ff31c4b8a6dc27eb5be7e310f28'
XThe libva-intel-driver provide the libva's driver for intel graphics cards
Xwith hardware accelerated features for video encode/decode.
X
XWWW:	http://intellinuxgraphics.org/2012.07.html
1b8d0ff31c4b8a6dc27eb5be7e310f28
echo x - libva-intel-driver/Makefile
sed 's/^X//' >libva-intel-driver/Makefile << '8eb0421293055c6ba29ef700ed96f0ea'
X# New ports collection makefile for:	libva-intel-driver
X# Date created:				18.10.2012
X# Whom:					Manuel Creach <manuel.creach@icloud.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libva-intel-driver
XPORTVERSION=	1.0.18
XPORTREVISION=	1
XCATEGORIES=	multimedia
XMASTER_SITES=	http://cgit.freedesktop.org/vaapi/${DISTNAME}/snapshot/
XDISTNAME=	intel-driver
XDISTFILES=	${DISTNAME}-master.tar.gz
X
XMAINTAINER=	manuel.creach@icloud.com
XCOMMENT=	VAAPI intel driver
X
XLICENSE=	MIT
XLICENSE_FILE=	${WRKSRC}/COPYING
X
XLIB_DEPENDS=	drm.2:${PORTSDIR}/graphics/libdrm \
X		va:${PORTSDIR}/multimedia/libva
X
XWRKSRC=		${WRKDIR}/${DISTNAME}-master
X
XUSE_GMAKE=      yes
XUSE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
XACLOCAL_ARGS=	-I.
XAUTOMAKE_ARGS=	--add-missing
XUSE_LDCONFIG=	yes
X
XCPPFLAGS+=	-isystem${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X# prevent types conflict: videodev2.h vs. drm.h
XCFLAGS+=	-DHAVE_LINUX_INTEGER_TYPES -DNDEBUG
X
X.include <bsd.port.mk>
8eb0421293055c6ba29ef700ed96f0ea
echo x - libva-intel-driver/pkg-plist
sed 's/^X//' >libva-intel-driver/pkg-plist << '6e5ace299f55de78e48cf9f3808ba1e3'
Xlib/va/i965_drv_video.so
Xlib/va/i965_drv_video.la
6e5ace299f55de78e48cf9f3808ba1e3
echo x - libva-intel-driver/distinfo
sed 's/^X//' >libva-intel-driver/distinfo << '1691fa48d01ef8cdb2328fd6329c563e'
XSHA256 (intel-driver-master.tar.gz) = eeed29ffeb7cac70b3da1033a128ef86df8935b1941b5bf5959f053364f7e13a
XSIZE (intel-driver-master.tar.gz) = 437254
1691fa48d01ef8cdb2328fd6329c563e
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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