pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

+libyuv-git: project that includes YUV scaling and conversion functionality



Module Name:	pkgsrc-wip
Committed By:	AcidBear <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Tue Mar 2 03:43:57 2021 +0300
Changeset:	272aaef333e558c8cbd9d2ad481f300d4a67ce7c

Added Files:
	libyuv-git/DESCR
	libyuv-git/Makefile
	libyuv-git/PLIST
	libyuv-git/buildlink3.mk
	libyuv-git/distinfo

Log Message:
+libyuv-git: project that includes YUV scaling and conversion functionality

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=272aaef333e558c8cbd9d2ad481f300d4a67ce7c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libyuv-git/DESCR         |  9 +++++++++
 libyuv-git/Makefile      | 21 +++++++++++++++++++++
 libyuv-git/PLIST         | 26 ++++++++++++++++++++++++++
 libyuv-git/buildlink3.mk | 12 ++++++++++++
 libyuv-git/distinfo      |  6 ++++++
 5 files changed, 74 insertions(+)

diffs:
diff --git a/libyuv-git/DESCR b/libyuv-git/DESCR
new file mode 100644
index 0000000000..c58fc91073
--- /dev/null
+++ b/libyuv-git/DESCR
@@ -0,0 +1,9 @@
+libyuv is an open source project that includes YUV scaling and conversion functionality.
+
+* Scale YUV to prepare content for compression, with point, bilinear or box filter.
+* Convert to YUV from webcam formats for compression.
+* Convert to RGB formats for rendering/effects.
+* Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
+* Optimized for SSSE3/AVX2 on x86/x64.
+* Optimized for Neon on Arm.
+* Optimized for MSA on Mips.
diff --git a/libyuv-git/Makefile b/libyuv-git/Makefile
new file mode 100644
index 0000000000..f4047d416e
--- /dev/null
+++ b/libyuv-git/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+COMMIT=     a8c181050c202854ae32433164e6bd5d1e7c4368
+PKGNAME=    libyuv-git
+DISTNAME=	${COMMIT}
+CATEGORIES=	devel
+MASTER_SITES=	https://chromium.googlesource.com/libyuv/libyuv/+archive/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://chromium.googlesource.com/libyuv/libyuv/
+COMMENT=	project that includes YUV scaling and conversion functionality
+LICENSE=	modified-bsd AND mpl-2.0
+
+WRKSRC=		${WRKDIR}/
+USE_CMAKE=  yes
+USE_LANGUAGES= c c++
+
+.include "../../mk/jpeg.buildlink3.mk"
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff --git a/libyuv-git/PLIST b/libyuv-git/PLIST
new file mode 100644
index 0000000000..b9ce9f2952
--- /dev/null
+++ b/libyuv-git/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/yuvconvert
+include/libyuv.h
+include/libyuv/basic_types.h
+include/libyuv/compare.h
+include/libyuv/compare_row.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/macros_msa.h
+include/libyuv/mjpeg_decoder.h
+include/libyuv/planar_functions.h
+include/libyuv/rotate.h
+include/libyuv/rotate_argb.h
+include/libyuv/rotate_row.h
+include/libyuv/row.h
+include/libyuv/scale.h
+include/libyuv/scale_argb.h
+include/libyuv/scale_row.h
+include/libyuv/scale_uv.h
+include/libyuv/version.h
+include/libyuv/video_common.h
+lib/libyuv.a
+lib/libyuv.so
diff --git a/libyuv-git/buildlink3.mk b/libyuv-git/buildlink3.mk
new file mode 100644
index 0000000000..c00935a0e5
--- /dev/null
+++ b/libyuv-git/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libyuv
+
+.if !defined(LIBYUV_BUILDLINK3_MK)
+LIBYUV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libyuv+=	libyuv>=git
+BUILDLINK_PKGSRCDIR.libyuv?=	../../wip/libyuv-git
+.endif	# LIBYUV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libyuv
diff --git a/libyuv-git/distinfo b/libyuv-git/distinfo
new file mode 100644
index 0000000000..f9e65a2acc
--- /dev/null
+++ b/libyuv-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (a8c181050c202854ae32433164e6bd5d1e7c4368.tar.gz) = 17c01ee9f79456b7b781e160eef5b1e5bcb4f957
+RMD160 (a8c181050c202854ae32433164e6bd5d1e7c4368.tar.gz) = 56c8010f2a2d934f39bb9e97e5266d643db55e87
+SHA512 (a8c181050c202854ae32433164e6bd5d1e7c4368.tar.gz) = 41e46ce1ef2f964c6f38396ee9c810f5bfb797baca75fdb616722b38e9eaecd9c201b956dd236f9e4702288f6428a46abedcac1e3cf668389937fe3e4575fe40
+Size (a8c181050c202854ae32433164e6bd5d1e7c4368.tar.gz) = 502760 bytes


Home | Main Index | Thread Index | Old Index