[Midnightbsd-cvs] mports [21967] trunk/multimedia: add x265
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 29 18:17:02 EDT 2016
Revision: 21967
http://svnweb.midnightbsd.org/mports/?rev=21967
Author: laffer1
Date: 2016-09-29 18:17:01 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
add x265
Modified Paths:
--------------
trunk/multimedia/Makefile
Added Paths:
-----------
trunk/multimedia/x265/
trunk/multimedia/x265/Makefile
trunk/multimedia/x265/distinfo
trunk/multimedia/x265/files/
trunk/multimedia/x265/files/patch-md5
trunk/multimedia/x265/pkg-descr
trunk/multimedia/x265/pkg-plist
Modified: trunk/multimedia/Makefile
===================================================================
--- trunk/multimedia/Makefile 2016-09-29 22:12:14 UTC (rev 21966)
+++ trunk/multimedia/Makefile 2016-09-29 22:17:01 UTC (rev 21967)
@@ -105,6 +105,7 @@
SUBDIR += webcamd
SUBDIR += win32-codecs
SUBDIR += x264
+SUBDIR += x265
SUBDIR += xanim
SUBDIR += xine
SUBDIR += xmms
Added: trunk/multimedia/x265/Makefile
===================================================================
--- trunk/multimedia/x265/Makefile (rev 0)
+++ trunk/multimedia/x265/Makefile 2016-09-29 22:17:01 UTC (rev 21967)
@@ -0,0 +1,32 @@
+# $MidnightBSD$
+# $FreeBSD: head/multimedia/x265/Makefile 412348 2016-04-01 14:16:16Z mat $
+
+PORTNAME= x265
+PORTVERSION= 1.9
+CATEGORIES= multimedia
+MASTER_SITES= http://bitbucket.org/multicoreware/${PORTNAME}/get/
+DISTNAME= ${PORTVERSION}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= H.265/High Efficiency Video Coding (HEVC) format
+
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/../COPYING
+
+BUILD_DEPENDS= yasm:devel/yasm
+
+USES= cmake pathfix tar:bzip2
+USE_LDCONFIG= yes
+CMAKE_ARGS= -DENABLE_TESTS=on -DPLATFORM_LIBS=md
+EXTRACT_AFTER_ARGS+= --exclude "md5*"
+
+WRKSRC= ${WRKDIR}/multicoreware-${PORTNAME}-1d3b6e448e01/source
+
+do-test:
+ ${WRKSRC}/test/TestBench
+
+post-install:
+ ${CP} ${PREFIX}/lib/pkgconfig/x265.pc ${PREFIX}/libdata/pkgconfig/
+
+.include <bsd.port.mk>
Property changes on: trunk/multimedia/x265/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/x265/distinfo
===================================================================
--- trunk/multimedia/x265/distinfo (rev 0)
+++ trunk/multimedia/x265/distinfo 2016-09-29 22:17:01 UTC (rev 21967)
@@ -0,0 +1,2 @@
+SHA256 (x265/1.9.tar.bz2) = e1e4de6ead44e21c15378675e09c39ef192f2b7c844dd369d2ba1e979aca1ebb
+SIZE (x265/1.9.tar.bz2) = 774118
Property changes on: trunk/multimedia/x265/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/x265/files/patch-md5
===================================================================
--- trunk/multimedia/x265/files/patch-md5 (rev 0)
+++ trunk/multimedia/x265/files/patch-md5 2016-09-29 22:17:01 UTC (rev 21967)
@@ -0,0 +1,33 @@
+Use FreeBSD's MD5-implementation instead of yet another bundled one.
+
+ -mi
+
+--- common/CMakeLists.txt 2016-01-25 00:16:50.000000000 -0500
++++ common/CMakeLists.txt 2016-02-02 17:57:52.620700000 -0500
+@@ -109,5 +109,4 @@
+ threadpool.cpp threadpool.h
+ wavefront.h wavefront.cpp
+- md5.cpp md5.h
+ bitstream.h bitstream.cpp
+ yuv.cpp yuv.h
+--- common/picyuv.h 2016-01-25 00:16:50.000000000 -0500
++++ common/picyuv.h 2016-02-02 21:52:24.690114000 -0500
+@@ -25,6 +25,8 @@
+ #define X265_PICYUV_H
+
++#include <sys/types.h>
++#include <md5.h>
++
+ #include "common.h"
+-#include "md5.h"
+ #include "x265.h"
+
+--- encoder/frameencoder.cpp 2016-01-25 00:16:50.000000000 -0500
++++ encoder/frameencoder.cpp 2016-02-02 18:06:58.918647000 -0500
+@@ -667,5 +667,5 @@
+ m_seiReconPictureDigest.m_method = SEIDecodedPictureHash::MD5;
+ for (int i = 0; i < planes; i++)
+- MD5Final(&m_state[i], m_seiReconPictureDigest.m_digest[i]);
++ MD5Final(m_seiReconPictureDigest.m_digest[i], &m_state[i]);
+ }
+ else if (m_param->decodedPictureHashSEI == 2)
Property changes on: trunk/multimedia/x265/files/patch-md5
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/x265/pkg-descr
===================================================================
--- trunk/multimedia/x265/pkg-descr (rev 0)
+++ trunk/multimedia/x265/pkg-descr 2016-09-29 22:17:01 UTC (rev 21967)
@@ -0,0 +1,16 @@
+High Efficiency Video Coding (HEVC) is the latest generation video compression
+standard.
+
+ * This standard was developed by the ISO/IEC Moving Picture Experts Group
+ (MPEG) and ITU-T Video Coding Experts Group (VCEG), through their Joint
+ Collaborative Team on Video Coding (JCT-VC)
+
+ * HEVC is also known as ISO/IEC 23008-2 MPEG-H Part 2 and ITU-T H.265
+
+ * HEVC provides superior video quality and up to twice the data compression
+ as the previous standard (H.264/MPEG-4 AVC)
+
+ * HEVC can support 8K Ultra High Definition video, with a picture size up to
+ 8192x4320 pixels
+
+WWW: http://www.x265.org/
Property changes on: trunk/multimedia/x265/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/multimedia/x265/pkg-plist
===================================================================
--- trunk/multimedia/x265/pkg-plist (rev 0)
+++ trunk/multimedia/x265/pkg-plist 2016-09-29 22:17:01 UTC (rev 21967)
@@ -0,0 +1,7 @@
+bin/x265
+include/x265.h
+include/x265_config.h
+lib/libx265.a
+lib/libx265.so
+lib/libx265.so.79
+libdata/pkgconfig/x265.pc
Property changes on: trunk/multimedia/x265/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list