pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/libvpx



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 12 20:47:14 UTC 2019

Modified Files:
        pkgsrc/multimedia/libvpx: Makefile distinfo
        pkgsrc/multimedia/libvpx/patches: patch-configure
Added Files:
        pkgsrc/multimedia/libvpx/patches: patch-build_make_Makefile
            patch-build_make_configure.sh patch-examples.mk patch-libs.mk
Removed Files:
        pkgsrc/multimedia/libvpx/patches: patch-aa patch-ab patch-ac patch-ad

Log Message:
libvpx: updated to 1.8.0

v1.8.0 "Northern Shoveler Duck"
  This release focused on encoding performance for realtime and VOD use cases.

  - Upgrading:
    This adds and improves several vp9 controls. Most are related to SVC:
      VP9E_SET_SVC_FRAME_DROP_LAYER:
        - Frame dropping in SVC.
      VP9E_SET_SVC_INTER_LAYER_PRED:
        - Inter-layer prediction in SVC.
      VP9E_SET_SVC_GF_TEMPORAL_REF:
        - Enable long term temporal reference in SVC.
      VP9E_SET_SVC_REF_FRAME_CONFIG/VP9E_GET_SVC_REF_FRAME_CONFIG:
        - Extend and improve this control for better flexibility in setting SVC
          pattern dynamically.
      VP9E_SET_POSTENCODE_DROP:
        - Allow for post-encode frame dropping (applies to non-SVC too).
      VP9E_SET_SVC_SPATIAL_LAYER_SYNC:
        - Enable spatial layer sync frames.
      VP9E_SET_SVC_LAYER_ID:
        - Extend api to specify temporal id for each spatial layers.
      VP9E_SET_ROI_MAP:
        - Extend Region of Interest functionality to VP9.

  - Enhancements:
    2 pass vp9 encoding has improved substantially. When using --auto-alt-ref=6,
    we see approximately 8% for VBR and 10% for CQ. When using --auto-alt-ref=1,
    the gains are approximately 4% for VBR and 5% for CQ.

    For real-time encoding, speed 7 has improved by ~5-10%. Encodes targeted at
    screen sharing have improved when the content changes significantly (slide
    sharing) or scrolls. There is a new speed 9 setting for mobile devices which
    is about 10-20% faster than speed 8.

  - Bug fixes:
    VP9 denoiser issue.
    VP9 partition issue for 1080p.
    VP9 rate control improvments.
    Postprocessing Multi Frame Quality Enhancement (MFQE) issue.
    VP8 multithread decoder issues.
    A variety of fuzzing issues.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/multimedia/libvpx/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/multimedia/libvpx/distinfo
cvs rdiff -u -r1.11 -r0 pkgsrc/multimedia/libvpx/patches/patch-aa
cvs rdiff -u -r1.9 -r0 pkgsrc/multimedia/libvpx/patches/patch-ab
cvs rdiff -u -r1.5 -r0 pkgsrc/multimedia/libvpx/patches/patch-ac
cvs rdiff -u -r1.23 -r0 pkgsrc/multimedia/libvpx/patches/patch-ad
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/multimedia/libvpx/patches/patch-build_make_Makefile \
    pkgsrc/multimedia/libvpx/patches/patch-build_make_configure.sh \
    pkgsrc/multimedia/libvpx/patches/patch-examples.mk \
    pkgsrc/multimedia/libvpx/patches/patch-libs.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/multimedia/libvpx/patches/patch-configure

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

Modified files:

Index: pkgsrc/multimedia/libvpx/Makefile
diff -u pkgsrc/multimedia/libvpx/Makefile:1.75 pkgsrc/multimedia/libvpx/Makefile:1.76
--- pkgsrc/multimedia/libvpx/Makefile:1.75      Wed Aug 22 09:45:49 2018
+++ pkgsrc/multimedia/libvpx/Makefile   Tue Feb 12 20:47:14 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.75 2018/08/22 09:45:49 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2019/02/12 20:47:14 adam Exp $
 
-DISTNAME=      libvpx-1.7.0
-PKGREVISION=   1
+DISTNAME=      libvpx-1.8.0
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=webmproject/}
 GITHUB_PROJECT=        libvpx

Index: pkgsrc/multimedia/libvpx/distinfo
diff -u pkgsrc/multimedia/libvpx/distinfo:1.36 pkgsrc/multimedia/libvpx/distinfo:1.37
--- pkgsrc/multimedia/libvpx/distinfo:1.36      Tue Jan 30 22:56:39 2018
+++ pkgsrc/multimedia/libvpx/distinfo   Tue Feb 12 20:47:14 2019
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.36 2018/01/30 22:56:39 jperkin Exp $
+$NetBSD: distinfo,v 1.37 2019/02/12 20:47:14 adam Exp $
 
-SHA1 (libvpx-1.7.0.tar.gz) = fb3d4b80596d1e3b1a7f53757d63e7d2b3eeb7c9
-RMD160 (libvpx-1.7.0.tar.gz) = 3af78fbfad1c3a2398054c6cf6df626216b67160
-SHA512 (libvpx-1.7.0.tar.gz) = 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0
-Size (libvpx-1.7.0.tar.gz) = 2679797 bytes
-SHA1 (patch-aa) = 0025e7eff1efbd44069f797d1c37c5efa19fb183
-SHA1 (patch-ab) = 53c166f48d0b83dc653b99b53b7ad5c2575ca81c
-SHA1 (patch-ac) = 17410f43ff9952d616be3211ca697f37c107610a
-SHA1 (patch-ad) = fd9985ee0b5bd4e62987a9ef6f3efc0eba1432e8
+SHA1 (libvpx-1.8.0.tar.gz) = 0a5ff6d36e592b404fae4435adc76a68e3d96afe
+RMD160 (libvpx-1.8.0.tar.gz) = 61337d9901ab0a2eb9d91163d11bfdeb3f3c1a40
+SHA512 (libvpx-1.8.0.tar.gz) = 77477ec7059de1d90f048c10783b4adce463a84c9c828f125686e533f5bc8c9eeab8a1747df5c928e0869ccf855a9af5608199c8c376a75d35659f719ee870ef
+Size (libvpx-1.8.0.tar.gz) = 2879302 bytes
+SHA1 (patch-build_make_Makefile) = 0025e7eff1efbd44069f797d1c37c5efa19fb183
+SHA1 (patch-build_make_configure.sh) = 6ef2a73aceeec910d1edce592f944cb46016010e
 SHA1 (patch-build_make_gen_asm_deps.sh) = c55bd4d0e12176b73ba62c3c4741b58de77923e6
-SHA1 (patch-configure) = 38136c386f2df5f28430776558cf7d79b2776854
+SHA1 (patch-configure) = 738871dc9ffa44a809e594849915a875a97ac40b
+SHA1 (patch-examples.mk) = 17410f43ff9952d616be3211ca697f37c107610a
+SHA1 (patch-libs.mk) = b718d5b18369a6af9e9dd92ddcc40082b0a98fa5

Index: pkgsrc/multimedia/libvpx/patches/patch-configure
diff -u pkgsrc/multimedia/libvpx/patches/patch-configure:1.7 pkgsrc/multimedia/libvpx/patches/patch-configure:1.8
--- pkgsrc/multimedia/libvpx/patches/patch-configure:1.7        Tue Jan 30 22:56:39 2018
+++ pkgsrc/multimedia/libvpx/patches/patch-configure    Tue Feb 12 20:47:14 2019
@@ -1,27 +1,21 @@
-$NetBSD: patch-configure,v 1.7 2018/01/30 22:56:39 jperkin Exp $
+$NetBSD: patch-configure,v 1.8 2019/02/12 20:47:14 adam Exp $
 
 Recognize sparc and powerpc linux (or BSD...) platforms.
 Don't do doxygen.
 Remove bogus diff check.
 
---- configure.orig     2018-01-24 22:25:44.000000000 +0000
+--- configure.orig     2019-02-04 17:02:33.000000000 +0000
 +++ configure
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/usr/pkg/bin/bash
- ##
- ##  configure
- ##
-@@ -113,6 +113,8 @@ all_platforms="${all_platforms} armv7-wi
+@@ -114,6 +114,8 @@ all_platforms="${all_platforms} armv7-wi
  all_platforms="${all_platforms} armv7s-darwin-gcc"
  all_platforms="${all_platforms} armv8-linux-gcc"
  all_platforms="${all_platforms} mips32-linux-gcc"
 +all_platforms="${all_platforms} powerpc-linux-gcc"
 +all_platforms="${all_platforms} sparc-linux-gcc"
  all_platforms="${all_platforms} mips64-linux-gcc"
- all_platforms="${all_platforms} ppc64-linux-gcc"
  all_platforms="${all_platforms} ppc64le-linux-gcc"
-@@ -170,9 +172,6 @@ for t in ${all_targets}; do
+ all_platforms="${all_platforms} sparc-solaris-gcc"
+@@ -166,9 +168,6 @@ for t in ${all_targets}; do
      [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
  done
  
@@ -31,7 +25,7 @@ Remove bogus diff check.
  
  if ! perl --version >/dev/null; then
      die "Perl is required to build"
-@@ -185,19 +184,6 @@ if [ "`cd \"${source_path}\" && pwd`" !=
+@@ -181,19 +180,6 @@ if [ "`cd \"${source_path}\" && pwd`" !=
    fi
  fi
  

Added files:

Index: pkgsrc/multimedia/libvpx/patches/patch-build_make_Makefile
diff -u /dev/null pkgsrc/multimedia/libvpx/patches/patch-build_make_Makefile:1.1
--- /dev/null   Tue Feb 12 20:47:14 2019
+++ pkgsrc/multimedia/libvpx/patches/patch-build_make_Makefile  Tue Feb 12 20:47:14 2019
@@ -0,0 +1,130 @@
+$NetBSD: patch-build_make_Makefile,v 1.1 2019/02/12 20:47:14 adam Exp $
+
+--- build/make/Makefile.orig   2017-01-12 20:27:27.000000000 +0000
++++ build/make/Makefile
+@@ -147,7 +147,7 @@ $(BUILD_PFX)%.c.d: %.c
+ $(BUILD_PFX)%.c.o: %.c
+       $(if $(quiet),@echo "    [CC] $@")
+       $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
+-      $(qexec)$(CC) $(INTERNAL_CFLAGS) $(CFLAGS) -c -o $@ $<
++      $(qexec)${LIBTOOL} --mode=compile $(CC) $(INTERNAL_CFLAGS) $(CFLAGS) -c -o $@ $<
+ 
+ $(BUILD_PFX)%.cc.d: %.cc
+       $(if $(quiet),@echo "    [DEP] $@")
+@@ -157,7 +157,7 @@ $(BUILD_PFX)%.cc.d: %.cc
+ $(BUILD_PFX)%.cc.o: %.cc
+       $(if $(quiet),@echo "    [CXX] $@")
+       $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
+-      $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
++      $(qexec)${LIBTOOL} --mode=compile $(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
+ 
+ $(BUILD_PFX)%.cpp.d: %.cpp
+       $(if $(quiet),@echo "    [DEP] $@")
+@@ -167,7 +167,7 @@ $(BUILD_PFX)%.cpp.d: %.cpp
+ $(BUILD_PFX)%.cpp.o: %.cpp
+       $(if $(quiet),@echo "    [CXX] $@")
+       $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
+-      $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
++      $(qexec)${LIBTOOL} --mode=compile $(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
+ 
+ $(BUILD_PFX)%.asm.d: %.asm
+       $(if $(quiet),@echo "    [DEP] $@")
+@@ -178,7 +178,8 @@ $(BUILD_PFX)%.asm.d: %.asm
+ $(BUILD_PFX)%.asm.o: %.asm
+       $(if $(quiet),@echo "    [AS] $@")
+       $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
+-      $(qexec)$(AS) $(ASFLAGS) -o $@ $<
++      $(qexec)${LIBTOOL} --mode=compile --tag=CC sh strip_fPIC.sh \
++              $(AS) $(ASFLAGS) -o $@ $<
+ 
+ $(BUILD_PFX)%.S.d: %.S
+       $(if $(quiet),@echo "    [DEP] $@")
+@@ -189,7 +190,8 @@ $(BUILD_PFX)%.S.d: %.S
+ $(BUILD_PFX)%.S.o: %.S
+       $(if $(quiet),@echo "    [AS] $@")
+       $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
+-      $(qexec)$(AS) $(ASFLAGS) -o $@ $<
++      $(qexec)${LIBTOOL} --mode=compile --tag=CC sh strip_fPIC.sh \
++              $(AS) $(ASFLAGS) -o $@ $<
+ 
+ .PRECIOUS: %.c.S
+ %.c.S: CFLAGS += -DINLINE_ASM
+@@ -254,13 +256,15 @@ define linker_template
+ $(1): $(filter-out -%,$(2))
+ $(1):
+       $(if $(quiet),@echo    "    [LD] $$@")
+-      $(qexec)$$(LD) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
++      $(qexec)${LIBTOOL} --mode=link $(CXX) $(LDFLAGS) -o $$@ \
++              $$(filter-out -lvpx,$(2)) libvpx.la $$(extralibs)
+ endef
+ define linkerxx_template
+ $(1): $(filter-out -%,$(2))
+ $(1):
+       $(if $(quiet),@echo    "    [LD] $$@")
+-      $(qexec)$$(CXX) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
++      $(qexec)${LIBTOOL} --mode=link ${CXX} $(LDFLAGS) -o $$@ \
++              $$(filter-out -lvpx,$(2)) libvpx.la $$(extralibs)
+ endef
+ # make-3.80 has a bug with expanding large input strings to the eval function,
+ # which was triggered in some cases by the following component of
+@@ -273,8 +277,12 @@ endef
+ define install_map_template
+ $(DIST_DIR)/$(1): $(2)
+       $(if $(quiet),@echo "    [INSTALL] $$@")
+-      $(qexec)mkdir -p $$(dir $$@)
+-      $(qexec)cp -p $$< $$@
++      $(qexec)${BSD_INSTALL_DATA} -d -m 755 $$(dir $$@)
++      $$(if $$(filter %.a,$$<), \
++      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} -c $$(patsubst %.a,%.la,$$<) $$(dir $$@), \
++      $$(if $$(filter %.h %.pc,$$<), \
++      ${BSD_INSTALL_DATA} -c -m 644 $$< $$(dir $$@), \
++      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} -c -s $$< $$(dir $$@)))
+ endef
+ 
+ define archive_template
+@@ -283,7 +291,9 @@ define archive_template
+ # for creating them.
+ $(1):
+       $(if $(quiet),@echo "    [AR] $$@")
+-      $(qexec)$$(AR) $$(ARFLAGS) $$@ $$^
++      $(qexec)${LIBTOOL} --mode=link $(CC) $(LDFLAGS) -Wl,-Bsymbolic -o $$(patsubst %.a,%.la,$$@) \
++              $$(patsubst %.o,%.lo,$$?) -rpath $(PREFIX)/lib $$(extralibs) \
++              -version-info $(VERSION_MAJOR):$(VERSION_MINOR):$(VERSION_PATCH)
+ endef
+ 
+ define so_template
+@@ -377,9 +387,9 @@ clean::
+       rm -f .bins .install-bins $(BINS)
+ 
+ LIBS=$(call enabled,LIBS)
+-.libs: $(LIBS)
++dot.libs: $(LIBS)
+       @touch $@
+-$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
++$(foreach lib,$(filter %.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
+ $(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
+ $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_template,$(lib))))
+ $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dll,$(LIBS)),$(eval $(call dll_template,$(lib))))
+@@ -388,11 +398,11 @@ INSTALL-LIBS=$(call cond_enabled,CONFIG_
+ ifeq ($(MAKECMDGOALS),dist)
+ INSTALL-LIBS+=$(call cond_enabled,CONFIG_INSTALL_LIBS,DIST-LIBS)
+ endif
+-.install-libs: .libs $(addprefix $(DIST_DIR)/,$(INSTALL-LIBS))
++.install-libs: dot.libs $(addprefix $(DIST_DIR)/,$(INSTALL-LIBS))
+       @touch $@
+ 
+ clean::
+-      rm -f .libs .install-libs $(LIBS)
++      rm -f dot.libs .install-libs $(LIBS)
+ 
+ ifeq ($(CONFIG_EXTERNAL_BUILD),yes)
+ PROJECTS=$(call enabled,PROJECTS)
+@@ -442,7 +452,7 @@ ifeq ($(CONFIG_EXTERNAL_BUILD),yes)
+     BUILD_TARGETS += .projects
+     INSTALL_TARGETS += .install-projects
+ endif
+-BUILD_TARGETS += .docs .libs .bins
++BUILD_TARGETS += .docs dot.libs .bins
+ INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
+ all: $(BUILD_TARGETS)
+ install:: $(INSTALL_TARGETS)
Index: pkgsrc/multimedia/libvpx/patches/patch-build_make_configure.sh
diff -u /dev/null pkgsrc/multimedia/libvpx/patches/patch-build_make_configure.sh:1.1
--- /dev/null   Tue Feb 12 20:47:14 2019
+++ pkgsrc/multimedia/libvpx/patches/patch-build_make_configure.sh      Tue Feb 12 20:47:14 2019
@@ -0,0 +1,72 @@
+$NetBSD: patch-build_make_configure.sh,v 1.1 2019/02/12 20:47:14 adam Exp $
+
+*BSD and qnx are identified as linux.
+Add another SDK path on Mac OS X.
+All sparc cpus can not do unaligned access.
+Detect NetBSD ARMv7 hardfloat toolchain.
+Recognize powerpc as a target ISA, so we don't end up with generic-gnu
+
+--- build/make/configure.sh.orig       2019-02-04 17:02:33.000000000 +0000
++++ build/make/configure.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/pkg/bin/bash
+ ##
+ ##  configure.sh
+ ##
+@@ -740,7 +740,7 @@ process_common_toolchain() {
+       aarch64*)
+         tgt_isa=arm64
+         ;;
+-      armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf)
++      armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf | armv7*-netbsd*-*hf)
+         tgt_isa=armv7
+         float_abi=hard
+         ;;
+@@ -766,6 +766,9 @@ process_common_toolchain() {
+       *mips32el*)
+         tgt_isa=mips32
+         ;;
++      *powerpc*)
++      tgt_isa=powerpc
++      ;;
+     esac
+ 
+     # detect tgt_os
+@@ -812,7 +815,7 @@ process_common_toolchain() {
+         [ -z "$tgt_isa" ] && tgt_isa=x86
+         tgt_os=win32
+         ;;
+-      *linux*|*bsd*)
++      *linux*|*bsd*|*qnx6*)
+         tgt_os=linux
+         ;;
+       *solaris2.10)
+@@ -858,6 +861,9 @@ process_common_toolchain() {
+     ppc*)
+       enable_feature ppc
+       ;;
++    sparc*)
++      disable_feature fast_unaligned
++      ;;
+   esac
+ 
+   # PIC is probably what we want when building shared libs
+@@ -1530,7 +1536,7 @@ EOF
+   check_cc <<EOF
+ unsigned int e = 'O'<<24 | '2'<<16 | 'B'<<8 | 'E';
+ EOF
+-    [ -f "${TMP_O}" ] && od -A n -t x1 "${TMP_O}" | tr -d '\n' |
++    [ -f "${TMP_O}" ] && od -t x1 "${TMP_O}" | tr -d '\n' |
+         grep '4f *32 *42 *45' >/dev/null 2>&1 && enable_feature big_endian
+ 
+     # Try to find which inline keywords are supported
+@@ -1547,7 +1553,7 @@ EOF
+         # bionic includes basic pthread functionality, obviating -lpthread.
+         ;;
+       *)
+-        check_header pthread.h && check_lib -lpthread <<EOF && add_extralibs -lpthread || disable_feature pthread_h
++        check_header pthread.h && check_lib ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} <<EOF && add_extralibs ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} || disable_feature pthread_h
+ #include <pthread.h>
+ #include <stddef.h>
+ int main(void) { return pthread_create(NULL, NULL, NULL, NULL); }
Index: pkgsrc/multimedia/libvpx/patches/patch-examples.mk
diff -u /dev/null pkgsrc/multimedia/libvpx/patches/patch-examples.mk:1.1
--- /dev/null   Tue Feb 12 20:47:14 2019
+++ pkgsrc/multimedia/libvpx/patches/patch-examples.mk  Tue Feb 12 20:47:14 2019
@@ -0,0 +1,13 @@
+$NetBSD: patch-examples.mk,v 1.1 2019/02/12 20:47:14 adam Exp $
+
+--- examples.mk.orig   2015-11-09 22:12:38.000000000 +0000
++++ examples.mk
+@@ -294,7 +294,7 @@ else
+ SHARED_LIB_SUF=.so
+ endif
+ endif
+-CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.a)
++CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.la)
+ $(foreach bin,$(BINS-yes),\
+     $(eval $(bin):$(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF))\
+     $(eval $(call linker_template,$(bin),\
Index: pkgsrc/multimedia/libvpx/patches/patch-libs.mk
diff -u /dev/null pkgsrc/multimedia/libvpx/patches/patch-libs.mk:1.1
--- /dev/null   Tue Feb 12 20:47:14 2019
+++ pkgsrc/multimedia/libvpx/patches/patch-libs.mk      Tue Feb 12 20:47:14 2019
@@ -0,0 +1,23 @@
+$NetBSD: patch-libs.mk,v 1.1 2019/02/12 20:47:14 adam Exp $
+
+--- libs.mk.orig       2019-02-04 17:02:33.000000000 +0000
++++ libs.mk
+@@ -163,7 +163,6 @@ INSTALL-LIBS-$(CONFIG_SHARED) += $(forea
+ endif
+ else
+ INSTALL-LIBS-$(CONFIG_STATIC) += $(LIBSUBDIR)/libvpx.a
+-INSTALL-LIBS-$(CONFIG_DEBUG_LIBS) += $(LIBSUBDIR)/libvpx_g.a
+ endif
+ 
+ CODEC_SRCS=$(call enabled,CODEC_SRCS)
+@@ -230,8 +229,8 @@ endif
+ else
+ LIBVPX_OBJS=$(call objs, $(filter-out $(ASM_INCLUDES), $(CODEC_SRCS)))
+ OBJS-yes += $(LIBVPX_OBJS)
+-LIBS-$(if yes,$(CONFIG_STATIC)) += $(BUILD_PFX)libvpx.a $(BUILD_PFX)libvpx_g.a
+-$(BUILD_PFX)libvpx_g.a: $(LIBVPX_OBJS)
++LIBS-$(if yes,$(CONFIG_STATIC)) += $(BUILD_PFX)libvpx.a
++$(BUILD_PFX)libvpx.a: $(LIBVPX_OBJS)
+ 
+ SO_VERSION_MAJOR := 6
+ SO_VERSION_MINOR := 0



Home | Main Index | Thread Index | Old Index