From owner-svn-ports-head@freebsd.org Wed Sep 28 02:13:35 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79C1ABECA3A; Wed, 28 Sep 2016 02:13:35 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54EC2E05; Wed, 28 Sep 2016 02:13:35 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8S2DYOl009055; Wed, 28 Sep 2016 02:13:34 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8S2DX2i009044; Wed, 28 Sep 2016 02:13:33 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201609280213.u8S2DX2i009044@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 28 Sep 2016 02:13:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422840 - in head/multimedia: . kvazaar kvazaar-devel kvazaar-devel/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 02:13:35 -0000 Author: jbeich Date: Wed Sep 28 02:13:33 2016 New Revision: 422840 URL: https://svnweb.freebsd.org/changeset/ports/422840 Log: multimedia/kvazaar: add new port The purpose of this academic open-source project is to develop a video encoder for the emerging High Efficiency Video Coding (HEVC) standard. This Kvazaar HEVC encoder is being developed towards the following goals: 1. Coding efficiency close to HEVC reference encoder (HM) 2. Modular encoder structure to simplify its data flow modeling 3. Efficient support for different parallelization approaches 4. Easy portability to different platforms 5. Optimized encoding speed without sacrificing its coding efficiency, modularity, or portability 6. Reduced computation and memory resources without sacrificing its coding efficiency, modularity, or portability 7. Excellent software readability and implementation documentation Achieving these objectives requires encoder with design decisions that make this open-source encoder unique: 1. The encoder is developed from the scratch (HM used as a reference) 2. The implementation language is platform-independent C http://ultravideo.cs.tut.fi/#encoder Added: head/multimedia/kvazaar/ head/multimedia/kvazaar-devel/ head/multimedia/kvazaar-devel/Makefile (contents, props changed) head/multimedia/kvazaar-devel/distinfo (contents, props changed) head/multimedia/kvazaar-devel/files/ head/multimedia/kvazaar-devel/files/patch-src_strategies_x86__asm_picture-x86-asm.c (contents, props changed) head/multimedia/kvazaar-devel/pkg-plist (contents, props changed) head/multimedia/kvazaar/Makefile (contents, props changed) head/multimedia/kvazaar/distinfo (contents, props changed) head/multimedia/kvazaar/pkg-descr (contents, props changed) head/multimedia/kvazaar/pkg-plist (contents, props changed) Modified: head/multimedia/Makefile (contents, props changed) Modified: head/multimedia/Makefile ============================================================================== --- head/multimedia/Makefile Wed Sep 28 01:58:54 2016 (r422839) +++ head/multimedia/Makefile Wed Sep 28 02:13:33 2016 (r422840) @@ -168,6 +168,8 @@ SUBDIR += kmplayer-kde4 SUBDIR += kodi SUBDIR += kplayer-kde4 + SUBDIR += kvazaar + SUBDIR += kvazaar-devel SUBDIR += l-smash SUBDIR += libaacs SUBDIR += libass Added: head/multimedia/kvazaar-devel/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar-devel/Makefile Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,17 @@ +# $FreeBSD$ + +DISTVERSION= 0.8.3-275 +DISTVERSIONSUFFIX= -gcbfa824 +PORTREVISION= 0 +PKGNAMESUFFIX= -devel + +CONFLICTS_INSTALL= ${PORTNAME} + +MASTERDIR= ${.CURDIR}/../kvazaar +PATCHDIR= ${.CURDIR}/files +DISTINFO_FILE= ${.CURDIR}/distinfo +PLIST= ${.CURDIR}/pkg-plist + +OPTIONS_EXCLUDE= # + +.include "${MASTERDIR}/Makefile" Added: head/multimedia/kvazaar-devel/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar-devel/distinfo Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,5 @@ +TIMESTAMP = 1474878896 +SHA256 (ultravideo-kvazaar-v0.8.3-275-gcbfa824_GH0.tar.gz) = 536fec89646fbad9f9e92effb6a7cab0cfa931b8f6ef89b089a5836bd116f598 +SIZE (ultravideo-kvazaar-v0.8.3-275-gcbfa824_GH0.tar.gz) = 471195 +SHA256 (ultravideo-greatest-v0.9.2-78-g60e25ce_GH0.tar.gz) = d980debb49563021536ac51d956348c473f0622c2247717de5b325c9338a1cc2 +SIZE (ultravideo-greatest-v0.9.2-78-g60e25ce_GH0.tar.gz) = 11983 Added: head/multimedia/kvazaar-devel/files/patch-src_strategies_x86__asm_picture-x86-asm.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar-devel/files/patch-src_strategies_x86__asm_picture-x86-asm.c Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,22 @@ +./.libs/libkvazaar.so: undefined reference to `kvz_reg_sad_sse41' + +--- src/strategies/x86_asm/picture-x86-asm.c.orig 2016-09-27 17:49:45 UTC ++++ src/strategies/x86_asm/picture-x86-asm.c +@@ -81,13 +81,17 @@ static unsigned reg_sad_x86_asm(const kv + } + } + ++#if COMPILE_INTEL_SSE41 + if (width * height >= 16) { + // Call the vectorized general SAD SSE41 function when the block + // is big enough to make it worth it. + return kvz_reg_sad_sse41(data1, data2, width, height, stride1, stride2); + } else { ++#endif + return kvz_sad_other_avx(data1, data2, width, height, stride1); ++#if COMPILE_INTEL_SSE41 + } ++#endif + } + + #endif //defined(KVZ_COMPILE_ASM) Added: head/multimedia/kvazaar-devel/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar-devel/pkg-plist Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,11 @@ +bin/kvazaar +include/kvazaar.h +lib/libkvazaar.a +lib/libkvazaar.so +lib/libkvazaar.so.3 +lib/libkvazaar.so.3.12.0 +libdata/pkgconfig/kvazaar.pc +man/man1/kvazaar.1.gz +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/README.md Added: head/multimedia/kvazaar/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar/Makefile Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,60 @@ +# $FreeBSD$ + +PORTNAME= kvazaar +DISTVERSIONPREFIX= v +DISTVERSION?= 0.8.3 +PORTREVISION?= 0 +CATEGORIES= multimedia + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= H.265/HEVC encoder implementation written in C + +LICENSE= LGPL21+ + +USE_GITHUB= yes +GH_ACCOUNT= ultravideo +GH_PROJECT= greatest:greatest +GH_TAGNAME= v0.9.2-78-g60e25ce:greatest # 1.0.0 release actually +GH_SUBDIR= greatest:greatest + +CONFLICTS_INSTALL?= ${PORTNAME}-devel + +USES+= autoreconf compiler:c11 libtool pathfix +PATHFIX_MAKEFILEIN= Makefile.am +GNU_CONFIGURE= yes +TEST_TARGET= check +INSTALL_TARGET= install-strip +USE_LDCONFIG= yes + +OPTIONS_DEFINE= ASM CRYPTOPP +OPTIONS_DEFAULT=ASM +OPTIONS_EXCLUDE?=CRYPTOPP + +ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}} +ASM_BUILD_DEPENDS_amd64=yasm:devel/yasm +ASM_BUILD_DEPENDS_i386= yasm:devel/yasm +ASM_CONFIGURE_ENABLE= asm + +CRYPTOPP_DESC= Selective encryption via Crypto++ library +CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp +CRYPTOPP_USES= localbase pkgconfig +CRYPTOPP_CONFIGURE_ENV= cryptopp_CFLAGS=" " cryptopp_LIBS="-lcryptopp" +CRYPTOPP_CONFIGURE_WITH=cryptopp + +post-patch: + @${REINPLACE_CMD} 's/x86_64/&|amd64/' ${WRKSRC}/configure.ac + +post-patch-CRYPTOPP-on: +# XXX Force C++ linking to avoid error with Clang + @${ECHO_CMD} nodist_EXTRA_kvazaar_tests_SOURCES \ + = dummy.cpp >>${WRKSRC}/tests/Makefile.am + +post-patch-CRYPTOPP-off: +# XXX autoconf cannot ignore unexpanded but unused m4 macros + @${REINPLACE_CMD} -i .cryptopp.bak \ + -e '/PKG_CHECK_MODULES/,/^[[:space:]]*)/d' \ + ${WRKSRC}/configure.ac + +pre-install: do-test + +.include Added: head/multimedia/kvazaar/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar/distinfo Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,5 @@ +TIMESTAMP = 1474878896 +SHA256 (ultravideo-kvazaar-v0.8.3_GH0.tar.gz) = a5cebc313bc2edcf631684e67c33227e56d803bfbc940cf8c2f3906b4f543a12 +SIZE (ultravideo-kvazaar-v0.8.3_GH0.tar.gz) = 429852 +SHA256 (ultravideo-greatest-v0.9.2-78-g60e25ce_GH0.tar.gz) = d980debb49563021536ac51d956348c473f0622c2247717de5b325c9338a1cc2 +SIZE (ultravideo-greatest-v0.9.2-78-g60e25ce_GH0.tar.gz) = 11983 Added: head/multimedia/kvazaar/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar/pkg-descr Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,21 @@ +The purpose of this academic open-source project is to develop a video +encoder for the emerging High Efficiency Video Coding (HEVC) standard. +This Kvazaar HEVC encoder is being developed towards the following goals: + +1. Coding efficiency close to HEVC reference encoder (HM) +2. Modular encoder structure to simplify its data flow modeling +3. Efficient support for different parallelization approaches +4. Easy portability to different platforms +5. Optimized encoding speed without sacrificing its coding efficiency, + modularity, or portability +6. Reduced computation and memory resources without sacrificing its + coding efficiency, modularity, or portability +7. Excellent software readability and implementation documentation + +Achieving these objectives requires encoder with design decisions that +make this open-source encoder unique: + +1. The encoder is developed from the scratch (HM used as a reference) +2. The implementation language is platform-independent C + +WWW: http://ultravideo.cs.tut.fi/#encoder Added: head/multimedia/kvazaar/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kvazaar/pkg-plist Wed Sep 28 02:13:33 2016 (r422840) @@ -0,0 +1,10 @@ +bin/kvazaar +include/kvazaar.h +lib/libkvazaar.a +lib/libkvazaar.so +lib/libkvazaar.so.3 +lib/libkvazaar.so.3.2.0 +libdata/pkgconfig/kvazaar.pc +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/README.md