pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libaom libaom: do not build tools nor docs ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d478eb02c32
branches:  trunk
changeset: 314538:7d478eb02c32
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 30 17:30:15 2018 +0000

description:
libaom: do not build tools nor docs (these are not installed anyway); fix linking

diffstat:

 multimedia/libaom/Makefile                       |  22 ++++++------
 multimedia/libaom/distinfo                       |   3 +-
 multimedia/libaom/patches/patch-aom_exports__com |  39 ++++++++++++++++++++++++
 3 files changed, 52 insertions(+), 12 deletions(-)

diffs (94 lines):

diff -r 14cf4dd61d60 -r 7d478eb02c32 multimedia/libaom/Makefile
--- a/multimedia/libaom/Makefile        Tue Oct 30 15:22:53 2018 +0000
+++ b/multimedia/libaom/Makefile        Tue Oct 30 17:30:15 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/01 03:25:46 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/30 17:30:15 adam Exp $
 
 PKGNAME=       libaom-1.0.0
 DISTNAME=      aom-d14c5bb4f336ef1842046089849dee4a301fbbf0
@@ -18,16 +18,16 @@
 
 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'
+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=OFF
+CMAKE_ARGS+=   -DENABLE_GOMA:BOOL=OFF
+CMAKE_ARGS+=   -DENABLE_NASM:BOOL=ON
+CMAKE_ARGS+=   -DENABLE_TESTS:BOOL=OFF
+CMAKE_ARGS+=   -DENABLE_TOOLS:BOOL=OFF
+CMAKE_ARGS+=   -DENABLE_WERROR:BOOL=OFF
 
 BUILD_DEPENDS+=        nasm>=2.13:../../devel/nasm
 
diff -r 14cf4dd61d60 -r 7d478eb02c32 multimedia/libaom/distinfo
--- a/multimedia/libaom/distinfo        Tue Oct 30 15:22:53 2018 +0000
+++ b/multimedia/libaom/distinfo        Tue Oct 30 17:30:15 2018 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.3 2018/10/23 17:30:21 jperkin Exp $
+$NetBSD: distinfo,v 1.4 2018/10/30 17:30:15 adam Exp $
 
 SHA1 (aom-d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = deaf4f5420055cba0385a4e7dd91720211b7b97d
 RMD160 (aom-d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = 3f01d1408b715acb54537ba933bac4e03bc4f157
 SHA512 (aom-d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = 40e98a50fb470266229a43296d7217edadefd51a5e2faa64094f0dd23523c3f6877586880175731bca1056b26f5f393b95ae214e5c673bad63839859003b615c
 Size (aom-d14c5bb4f336ef1842046089849dee4a301fbbf0.tar.gz) = 2775350 bytes
+SHA1 (patch-aom_exports__com) = 23e24008c0e0ea08f0998d1553f880f64bcb4d3c
 SHA1 (patch-build_cmake_aom__configure.cmake) = e0dbccb5dd1b6137ff29f915a221fbae1c56b49b
 SHA1 (patch-build_cmake_aom__optimization.cmake) = 56eda2e9e40cd20ce955ca311ded4a11f2ae3d1c
 SHA1 (patch-build_cmake_exports.cmake) = b64a36404b96a8ede42ac7419c28d2075c910395
diff -r 14cf4dd61d60 -r 7d478eb02c32 multimedia/libaom/patches/patch-aom_exports__com
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libaom/patches/patch-aom_exports__com  Tue Oct 30 17:30:15 2018 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-aom_exports__com,v 1.1 2018/10/30 17:30:16 adam Exp $
+
+Add missing exports.
+
+--- aom/exports_com.orig       2018-10-01 03:20:04.000000000 +0000
++++ aom/exports_com
+@@ -9,15 +9,30 @@ text aom_codec_iface_name
+ text aom_codec_version
+ text aom_codec_version_extra_str
+ text aom_codec_version_str
++text aom_film_grain_table_append
++text aom_film_grain_table_free
++text aom_film_grain_table_write
++text aom_flat_block_finder_init
++text aom_flat_block_finder_run
+ text aom_img_alloc
++text aom_img_alloc_with_border
+ text aom_img_flip
+ text aom_img_free
+-text aom_img_plane_width
+ text aom_img_plane_height
++text aom_img_plane_width
+ text aom_img_set_rect
+ text aom_img_wrap
+-text aom_img_alloc_with_border
++text aom_malloc
++text aom_noise_model_get_grain_parameters
++text aom_noise_model_init
++text aom_noise_model_save_latest
++text aom_noise_model_update
++text aom_obu_type_to_string
++text aom_read_obu_header
+ text aom_uleb_decode
+ text aom_uleb_encode
+ text aom_uleb_encode_fixed_size
+ text aom_uleb_size_in_bytes
++text aom_wb_write_literal
++text av1_add_film_grain
++text av1_resize_frame420



Home | Main Index | Thread Index | Old Index