Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2016 08:49:02 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410509 - in head/graphics: . libyuv libyuv/files
Message-ID:  <201603070849.u278n2qe041860@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Mar  7 08:49:02 2016
New Revision: 410509
URL: https://svnweb.freebsd.org/changeset/ports/410509

Log:
  New port: graphics/libyuv
  
  libyuv is an open source project that includes YUV scaling and conversion
  functionality.
  
  - Prepare content for compression, with point, bilinear or box filter.
  - Convert to YUV from webcam formats.
  - Convert from YUV to formats for rendering/effects.
  - Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
  - Optimized versions for SSE2/SSSE3/AVX2 on x86/x64,
    Neon on Arm, DSP R2 Mips are possible.
  
  WWW: https://chromium.googlesource.com/libyuv/libyuv/
  
  PR:		205680, 204958
  Submitted by:	Corey Smith <corsmith@gmail.com>, numisemis@yahoo.com

Added:
  head/graphics/libyuv/
  head/graphics/libyuv/Makefile   (contents, props changed)
  head/graphics/libyuv/distinfo   (contents, props changed)
  head/graphics/libyuv/files/
  head/graphics/libyuv/files/patch-Makefile   (contents, props changed)
  head/graphics/libyuv/pkg-descr   (contents, props changed)
  head/graphics/libyuv/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Mon Mar  7 08:25:18 2016	(r410508)
+++ head/graphics/Makefile	Mon Mar  7 08:49:02 2016	(r410509)
@@ -540,6 +540,7 @@
     SUBDIR += libwmf-nox11
     SUBDIR += libwpg
     SUBDIR += libwpg03
+    SUBDIR += libyuv
     SUBDIR += lightzone
     SUBDIR += linplasma
     SUBDIR += linux-adobesvg

Added: head/graphics/libyuv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libyuv/Makefile	Mon Mar  7 08:49:02 2016	(r410509)
@@ -0,0 +1,18 @@
+# Created by: Corey Smith <corsmith@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	libyuv
+DISTVERSION=	0.0.1280
+CATEGORIES=	graphics
+MASTER_SITES=	http://files.freeswitch.org/downloads/libs/
+
+MAINTAINER=	corsmith@gmail.com
+COMMENT=	Library for freeswitch yuv graphics manipulation
+
+LICENSE=	BSD3CLAUSE
+
+MAKE_JOBS_UNSAFE=	yes
+CXXFLAGS+=		-fPIC
+USE_LDCONFIG=		yes
+
+.include <bsd.port.mk>

Added: head/graphics/libyuv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libyuv/distinfo	Mon Mar  7 08:49:02 2016	(r410509)
@@ -0,0 +1,2 @@
+SHA256 (libyuv-0.0.1280.tar.gz) = 97a30b87cbea5a35222cc1071ecb78562245b7c457baa26f41beba8af85861ef
+SIZE (libyuv-0.0.1280.tar.gz) = 297636

Added: head/graphics/libyuv/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libyuv/files/patch-Makefile	Mon Mar  7 08:49:02 2016	(r410509)
@@ -0,0 +1,26 @@
+--- Makefile.orig	2015-06-19 22:04:28 UTC
++++ Makefile
+@@ -1,9 +1,9 @@
+ # This is a generic makefile for libyuv for gcc.
+ # make -f linux.mk CXX=clang++
+ 
+-PREFIX:=/usr
+ EXEC_PREFIX:=$(PREFIX)
+ LIBDIR:=$(PREFIX)/lib/
++LIBDATA:=$(PREFIX)/libdata/
+ INCDIR:=$(PREFIX)/include/
+ 
+ CXX?=g++
+@@ -63,10 +63,10 @@ install: libyuv.a libyuv.so libyuv.pc
+ 	install -d -m 755 $(DESTDIR)/$(LIBDIR)
+ 	install -d -m 755 $(DESTDIR)/$(INCDIR)
+ 	install -d -m 755 $(DESTDIR)/$(INCDIR)/libyuv
+-	install -d -m 755 $(DESTDIR)/$(LIBDIR)/pkgconfig
++	install -d -m 755 $(DESTDIR)/$(LIBDATA)/pkgconfig
+ 	install -m 644 libyuv.a $(DESTDIR)/$(LIBDIR)
+ 	install -m 644 libyuv.so $(DESTDIR)/$(LIBDIR)
+-	install -m 644 libyuv.pc $(DESTDIR)/$(LIBDIR)/pkgconfig
++	install -m 644 libyuv.pc $(DESTDIR)/$(LIBDATA)/pkgconfig
+ 	install -m 644 include/libyuv.h $(DESTDIR)/$(INCDIR)
+ 	install -m 644 include/libyuv/* $(DESTDIR)/$(INCDIR)/libyuv
+ 

Added: head/graphics/libyuv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libyuv/pkg-descr	Mon Mar  7 08:49:02 2016	(r410509)
@@ -0,0 +1,11 @@
+libyuv is an open source project that includes YUV scaling and conversion
+functionality.
+
+- Prepare content for compression, with point, bilinear or box filter.
+- Convert to YUV from webcam formats.
+- Convert from YUV to formats for rendering/effects.
+- Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
+- Optimized versions for SSE2/SSSE3/AVX2 on x86/x64,
+  Neon on Arm, DSP R2 Mips are possible.
+
+WWW: https://chromium.googlesource.com/libyuv/libyuv/

Added: head/graphics/libyuv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libyuv/pkg-plist	Mon Mar  7 08:49:02 2016	(r410509)
@@ -0,0 +1,21 @@
+include/libyuv.h
+include/libyuv/basic_types.h
+include/libyuv/compare.h
+include/libyuv/convert.h
+include/libyuv/convert_argb.h
+include/libyuv/convert_from.h
+include/libyuv/convert_from_argb.h
+include/libyuv/cpu_id.h
+include/libyuv/mjpeg_decoder.h
+include/libyuv/planar_functions.h
+include/libyuv/rotate.h
+include/libyuv/rotate_argb.h
+include/libyuv/row.h
+include/libyuv/scale.h
+include/libyuv/scale_argb.h
+include/libyuv/scale_row.h
+include/libyuv/version.h
+include/libyuv/video_common.h
+lib/libyuv.a
+lib/libyuv.so
+libdata/pkgconfig/libyuv.pc



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