Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 21:57:01 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335124 - in head: Mk multimedia multimedia/gstreamer1-vaapi
Message-ID:  <201311282157.rASLv1KU021322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Nov 28 21:57:01 2013
New Revision: 335124
URL: http://svnweb.freebsd.org/changeset/ports/335124

Log:
  Add gstreamer vaapi, plugin and support libraries to enable hardware
  accelerated video decoding through the VA-API library.

Added:
  head/multimedia/gstreamer1-vaapi/
  head/multimedia/gstreamer1-vaapi/Makefile   (contents, props changed)
  head/multimedia/gstreamer1-vaapi/distinfo   (contents, props changed)
  head/multimedia/gstreamer1-vaapi/pkg-descr   (contents, props changed)
  head/multimedia/gstreamer1-vaapi/pkg-plist   (contents, props changed)
Modified:
  head/Mk/bsd.gstreamer.mk
  head/multimedia/Makefile

Modified: head/Mk/bsd.gstreamer.mk
==============================================================================
--- head/Mk/bsd.gstreamer.mk	Thu Nov 28 21:56:19 2013	(r335123)
+++ head/Mk/bsd.gstreamer.mk	Thu Nov 28 21:57:01 2013	(r335124)
@@ -90,7 +90,7 @@ _GSTREAMER_PLUGINS+= \
 .if defined(USE_GSTREAMER1)
 _GSTREAMER_PLUGINS+= \
 		assrender curl dvdread kate libav modplug openjpeg png rtmp \
-		spandsp vpx webp x ximagesrc zbar
+		spandsp vaapi vpx webp x ximagesrc zbar
 .endif
 
 # other plugins
@@ -300,6 +300,8 @@ rtmp_DEPENDS=	multimedia/gstreamer1-plug
 
 v4l2_DEPENDS=	multimedia/gstreamer-plugins-v4l2
 
+vaapi_DEPENDS=	multimedia/gstreamer-plugins-vaapi
+
 vp8_DEPENDS=	multimedia/gstreamer-plugins-vp8
 
 vpx_DEPENDS=	multimedia/gstreamer-plugins-vpx

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Thu Nov 28 21:56:19 2013	(r335123)
+++ head/multimedia/Makefile	Thu Nov 28 21:57:01 2013	(r335124)
@@ -134,6 +134,7 @@
     SUBDIR += gstreamer1-plugins-v4l2
     SUBDIR += gstreamer1-plugins-vpx
     SUBDIR += gstreamer1-plugins-x264
+    SUBDIR += gstreamer1-vaapi
     SUBDIR += gstreamermm
     SUBDIR += gtk-recordmydesktop
     SUBDIR += gtk-youtube-viewer

Added: head/multimedia/gstreamer1-vaapi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer1-vaapi/Makefile	Thu Nov 28 21:57:01 2013	(r335124)
@@ -0,0 +1,38 @@
+# Created by: Koop Mast <kwm@rainbow-runner.nl>
+# $FreeBSD$
+
+PORTNAME=	gstreamer1-vaapi
+PORTVERSION=	0.5.7
+CATEGORIES=	multimedia
+MASTER_SITES=	http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/
+DISTNAME=	gstreamer-vaapi-${PORTVERSION}
+
+MAINTAINER=	multimedia@FreeBSD.org
+COMMENT=	GStreamer hardware video decoding via VA-API plug-in
+
+LICENSE=	LGPL21
+
+LIB_DEPENDS=	libva.so:${PORTSDIR}/multimedia/libva
+
+USE_BZIP2=	yes
+USE_LDCONFIG=	yes
+USE_GSTREAMER1=	yes
+GNU_CONFIGURE=	yes
+USE_GL=		gl
+USE_XORG=	x11 xrandr xrender xproto:build
+USES=		gmake pkgconfig
+CONFIGURE_ARGS=	--disable-wayland --with-gstreamer-api=1.2
+PATHFIX_MAKEFILEIN=	configure
+
+PLIST_SUB=	VERSION=1.2
+
+# manual since pathfix doesn't work.
+post-patch:
+	@${REINPLACE_CMD} -e 's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g' \
+		${WRKSRC}/configure
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst*-1.2.so.0
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0/libgstvaapi.so
+
+.include <bsd.port.mk>

Added: head/multimedia/gstreamer1-vaapi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer1-vaapi/distinfo	Thu Nov 28 21:57:01 2013	(r335124)
@@ -0,0 +1,2 @@
+SHA256 (gstreamer-vaapi-0.5.7.tar.bz2) = d5a71179669dfc1d529e0248e6929e5136c6b3bbe634826b796f559dae974b88
+SIZE (gstreamer-vaapi-0.5.7.tar.bz2) = 816828

Added: head/multimedia/gstreamer1-vaapi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer1-vaapi/pkg-descr	Thu Nov 28 21:57:01 2013	(r335124)
@@ -0,0 +1,8 @@
+gstreamer-vaapi is a collection of GStreamer plugins and helper
+libraries that allow hardware accelerated video decoding through
+VA-API. Depending on the underlying hardware, the following video
+decoders are supported: JPEG, MPEG-2, MPEG-4:2, H.264 and VC-1.
+Renderers are available for X11, GLX, Wayland and raw DRM for headless
+pipelines.
+
+WWW: https://gitorious.org/vaapi/gstreamer-vaapi

Added: head/multimedia/gstreamer1-vaapi/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer1-vaapi/pkg-plist	Thu Nov 28 21:57:01 2013	(r335124)
@@ -0,0 +1,52 @@
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder_h264.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder_jpeg.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder_mpeg2.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder_mpeg4.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidecoder_vc1.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidisplay.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidisplay_drm.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidisplay_glx.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidisplay_wayland.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapidisplay_x11.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapifilter.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiimage.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiimagepool.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiobject.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapipixmap.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapipixmap_x11.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiprofile.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapisubpicture.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapisurface.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapisurfacepool.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapisurfaceproxy.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapitexture.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapitypes.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapivalue.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapivideopool.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiwindow.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiwindow_drm.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiwindow_glx.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiwindow_wayland.h
+include/gstreamer-%%VERSION%%/gst/vaapi/gstvaapiwindow_x11.h
+include/gstreamer-%%VERSION%%/gst/vaapi/video-format.h
+lib/gstreamer-1.0/libgstvaapi.la
+lib/gstreamer-1.0/libgstvaapi.so
+lib/libgstvaapi-%%VERSION%%.a
+lib/libgstvaapi-%%VERSION%%.la
+lib/libgstvaapi-%%VERSION%%.so
+lib/libgstvaapi-%%VERSION%%.so.0
+lib/libgstvaapi-glx-%%VERSION%%.a
+lib/libgstvaapi-glx-%%VERSION%%.la
+lib/libgstvaapi-glx-%%VERSION%%.so
+lib/libgstvaapi-glx-%%VERSION%%.so.0
+lib/libgstvaapi-x11-%%VERSION%%.a
+lib/libgstvaapi-x11-%%VERSION%%.la
+lib/libgstvaapi-x11-%%VERSION%%.so
+lib/libgstvaapi-x11-%%VERSION%%.so.0
+libdata/pkgconfig/gstreamer-vaapi-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-vaapi-glx-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-vaapi-x11-%%VERSION%%.pc
+@dirrmtry include/gstreamer-%%VERSION%%/gst/vaapi
+@dirrmtry include/gstreamer-%%VERSION%%/gst
+@dirrmtry include/gstreamer-%%VERSION%%



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