pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libaom Add libaom version 1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c39c1742c41
branches: trunk
changeset: 385817:5c39c1742c41
user: maya <maya%pkgsrc.org@localhost>
date: Sun Sep 30 18:58:16 2018 +0000
description:
Add libaom version 1.0.0
AOMedia Video 1 (AV1), is an open, royalty-free video coding format designed
for video transmissions over the Internet.
AV1 is intended to be able to be used together with the audio format Opus in a
future version of the WebM container format for HTML5 web video and WebRTC.
diffstat:
multimedia/libaom/DESCR | 4 +
multimedia/libaom/Makefile | 33 ++++++
multimedia/libaom/PLIST | 15 ++
multimedia/libaom/buildlink3.mk | 12 ++
multimedia/libaom/distinfo | 8 +
multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake | 16 +++
multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake | 51 ++++++++++
7 files changed, 139 insertions(+), 0 deletions(-)
diffs (167 lines):
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/DESCR Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,4 @@
+AOMedia Video 1 (AV1), is an open, royalty-free video coding format designed
+for video transmissions over the Internet.
+AV1 is intended to be able to be used together with the audio format Opus in a
+future version of the WebM container format for HTML5 web video and WebRTC.
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/Makefile Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2018/09/30 18:58:16 maya Exp $
+
+PKGNAME= libaom-1.0.0
+DISTNAME= d14c5bb4f336ef1842046089849dee4a301fbbf0
+CATEGORIES= multimedia
+MASTER_SITES= https://aomedia.googlesource.com/aom/+archive/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://aomedia.googlesource.com/aom/+archive/
+COMMENT= Library for using AV1, video coding format
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ../
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL='ON'
+CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL='ON'
+CMAKE_ARGS+= -DENABLE_DECODE_PERF_TESTS:BOOL='OFF'
+CMAKE_ARGS+= -DENABLE_EXAMPLES:BOOL='ON'
+CMAKE_ARGS+= -DENABLE_DOCS:BOOL='ON'
+CMAKE_ARGS+= -DENABLE_GOMA:BOOL='OFF'
+CMAKE_ARGS+= -DENABLE_NASM:BOOL='ON'
+CMAKE_ARGS+= -DENABLE_TESTS:BOOL='OFF'
+CMAKE_ARGS+= -DENABLE_TOOLS:BOOL='ON'
+CMAKE_ARGS+= -DENABLE_WERROR:BOOL='OFF'
+
+BUILD_DEPENDS+= nasm>=2.13:../../devel/nasm
+
+.include "../../mk/bsd.pkg.mk"
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/PLIST Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/30 18:58:16 maya Exp $
+bin/aomdec
+bin/aomenc
+include/aom/aom.h
+include/aom/aom_codec.h
+include/aom/aom_decoder.h
+include/aom/aom_encoder.h
+include/aom/aom_frame_buffer.h
+include/aom/aom_image.h
+include/aom/aom_integer.h
+include/aom/aomcx.h
+include/aom/aomdx.h
+lib/libaom.so
+lib/libaom.so.0
+lib/pkgconfig/aom.pc
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/buildlink3.mk Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/09/30 18:58:16 maya Exp $
+
+BUILDLINK_TREE+= libaom
+
+.if !defined(LIBAOM_BUILDLINK3_MK)
+LIBAOM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libaom+= libaom>=1.0.0
+BUILDLINK_PKGSRCDIR.libaom?= ../../multimedia/libaom
+.endif # LIBAOM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libaom
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/distinfo Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/09/30 18:58:16 maya Exp $
+
+SHA1 (d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = ca5cf0245a551a19840e284b522d2522cce6a008
+RMD160 (d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = 08b56569ce101c47b67afdfd614ff2bd6318e6b0
+SHA512 (d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = c0be01d6e20ba507554b845da89d0dade6e05b19a0d7a116d9a8ebf6b9a199534a8b43eaa0a5b9a7f9d838652c7f38d886d9bdff98c22b61c3813cd210a3f7e5
+Size (d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = 2775438 bytes
+SHA1 (patch-build_cmake_aom__configure.cmake) = 618aa2bf047e89fbcf665ff65535d818327bb413
+SHA1 (patch-build_cmake_aom__optimization.cmake) = 56eda2e9e40cd20ce955ca311ded4a11f2ae3d1c
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.1 2018/09/30 18:58:16 maya Exp $
+
+Don't disable fortify just because it's a release build.
+
+--- build/cmake/aom_configure.cmake.orig 2018-09-28 20:57:38.000000000 +0000
++++ build/cmake/aom_configure.cmake
+@@ -290,9 +290,6 @@ else()
+ add_compiler_flag_if_supported("-Werror")
+ endif()
+
+- if("${CMAKE_BUILD_TYPE}" MATCHES "Rel")
+- add_compiler_flag_if_supported("-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0")
+- endif()
+ add_compiler_flag_if_supported("-D_LARGEFILE_SOURCE")
+ add_compiler_flag_if_supported("-D_FILE_OFFSET_BITS=64")
+ endif()
diff -r c2b42cf4edeb -r 5c39c1742c41 multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake Sun Sep 30 18:58:16 2018 +0000
@@ -0,0 +1,51 @@
+$NetBSD: patch-build_cmake_aom__optimization.cmake,v 1.1 2018/09/30 18:58:16 maya Exp $
+
+Assume everyone besides Darwin/Windows uses ELF.
+
+--- build/cmake/aom_optimization.cmake.orig 2018-09-28 20:57:38.000000000 +0000
++++ build/cmake/aom_optimization.cmake
+@@ -83,24 +83,20 @@ function(get_asm_obj_format out_format)
+ if("${AOM_TARGET_CPU}" STREQUAL "x86_64")
+ if("${AOM_TARGET_SYSTEM}" STREQUAL "Darwin")
+ set(objformat "macho64")
+- elseif("${AOM_TARGET_SYSTEM}" STREQUAL "Linux")
+- set(objformat "elf64")
+ elseif("${AOM_TARGET_SYSTEM}" STREQUAL "MSYS" OR "${AOM_TARGET_SYSTEM}"
+ STREQUAL "Windows")
+ set(objformat "win64")
+ else()
+- message(FATAL_ERROR "Unknown obj format: ${AOM_TARGET_SYSTEM}")
++ set(objformat "elf64")
+ endif()
+ elseif("${AOM_TARGET_CPU}" STREQUAL "x86")
+ if("${AOM_TARGET_SYSTEM}" STREQUAL "Darwin")
+ set(objformat "macho32")
+- elseif("${AOM_TARGET_SYSTEM}" STREQUAL "Linux")
+- set(objformat "elf32")
+ elseif("${AOM_TARGET_SYSTEM}" STREQUAL "MSYS" OR "${AOM_TARGET_SYSTEM}"
+ STREQUAL "Windows")
+ set(objformat "win32")
+ else()
+- message(FATAL_ERROR "Unknown obj format: ${AOM_TARGET_SYSTEM}")
++ set(objformat "elf32")
+ endif()
+ else()
+ message(FATAL_ERROR
+@@ -171,7 +167,7 @@ function(test_nasm)
+ message(FATAL_ERROR
+ "Unsupported nasm: macho32 object format not supported.")
+ endif()
+- elseif("${AOM_TARGET_SYSTEM}" STREQUAL "Linux")
++ else()
+ if(NOT "${nasm_helptext}" MATCHES "elf32")
+ message(FATAL_ERROR
+ "Unsupported nasm: elf32 object format not supported.")
+@@ -183,7 +179,7 @@ function(test_nasm)
+ message(FATAL_ERROR
+ "Unsupported nasm: macho64 object format not supported.")
+ endif()
+- elseif("${AOM_TARGET_SYSTEM}" STREQUAL "Linux")
++ else()
+ if(NOT "${nasm_helptext}" MATCHES "elf64")
+ message(FATAL_ERROR
+ "Unsupported nasm: elf64 object format not supported.")
Home |
Main Index |
Thread Index |
Old Index