vp8: fix compilation with built-in libvpx.

Apply correct patch from fd.o #722760 to fix several issues: update the
license terms to LGPLv2.1+, fix dependencies to built-in libvpx and fix
make dist.
This commit is contained in:
Gwenole Beauchesne 2014-04-19 07:49:30 +02:00
parent b36eade7f3
commit 1ceef7d5b9
5 changed files with 38 additions and 42 deletions

View file

@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
SUBDIRS = debian.upstream gst-libs gst pkgconfig tests docs ext SUBDIRS = debian.upstream ext gst-libs gst pkgconfig tests docs
# Extra clean files so that maintainer-clean removes *everything* # Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \ MAINTAINERCLEANFILES = \

View file

@ -1 +1,2 @@
debian/tmp/usr/lib/libgstcodecparsers_vpx.so.*
debian/tmp/usr/lib/libgstvaapi-@GST_API_VERSION@.so.* debian/tmp/usr/lib/libgstvaapi-@GST_API_VERSION@.so.*

View file

@ -1,29 +1,22 @@
# Makefile.am - Rules for the built-in libvpx sources # Makefile.am - Rules for the built-in libvpx sources
# #
# INTEL CONFIDENTIAL, FOR INTERNAL USE ONLY
# Copyright (C) 2014 Intel Corporation # Copyright (C) 2014 Intel Corporation
# Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> # Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
# #
# @BEGIN_LICENSE@ # This library is free software; you can redistribute it and/or
# The source code contained or described herein and all documents # modify it under the terms of the GNU Library General Public
# related to the source code ("Material") are owned by Intel # License as published by the Free Software Foundation; either
# Corporation or its suppliers or licensors. Title to the Material # version 2 of the License, or (at your option) any later version.
# remains with Intel Corporation or its suppliers and licensors. The
# Material contains trade secrets and proprietary and confidential
# information of Intel or its suppliers and licensors. The Material
# is protected by worldwide copyright and trade secret laws and
# treaty provisions. No part of the Material may be used, copied,
# reproduced, modified, published, uploaded, posted, transmitted,
# distributed, or disclosed in any way without Intels prior express
# written permission.
# #
# No license under any patent, copyright, trade secret or other # This library is distributed in the hope that it will be useful,
# intellectual property right is granted to or conferred upon you by # but WITHOUT ANY WARRANTY; without even the implied warranty of
# disclosure or delivery of the Materials, either expressly, by # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# implication, inducement, estoppel or otherwise. Any license under # Library General Public License for more details.
# such intellectual property rights must be express and approved by #
# Intel in writing. # You should have received a copy of the GNU Library General Public
# @END_LICENSE@ # License along with this library; if not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.
lib_LTLIBRARIES = lib_LTLIBRARIES =
if USE_LOCAL_CODEC_PARSERS_VP8 if USE_LOCAL_CODEC_PARSERS_VP8
@ -102,6 +95,8 @@ vpx.configure.stamp:
cd .. && \ cd .. && \
touch $@ touch $@
$(gst_vpx_source_c): vpx.build
CLEANFILES = vpx.build.stamp CLEANFILES = vpx.build.stamp
# Files for packaging # Files for packaging
@ -127,7 +122,6 @@ vpx_sources = \
$(vpx_source_mak:%.mk=$(vpx_srcdir)/%.mk) \ $(vpx_source_mak:%.mk=$(vpx_srcdir)/%.mk) \
$(vpx_source_c:%.c=$(vpx_srcdir)/%.c) \ $(vpx_source_c:%.c=$(vpx_srcdir)/%.c) \
$(vpx_source_h:%.h=$(vpx_srcdir)/%.h) \ $(vpx_source_h:%.h=$(vpx_srcdir)/%.h) \
$(vpx_source_asm:%.asm=$(vpx_srcdir)/%.asm) \
$(NULL) $(NULL)
EXTRA_DIST = \ EXTRA_DIST = \
@ -137,5 +131,12 @@ EXTRA_DIST = \
$(vpx_versions) \ $(vpx_versions) \
$(NULL) $(NULL)
# Avoid implicit rule that tries to compile .asm.o to .asm
dist-hook:
for f in $(vpx_source_asm); do \
mkdir -p $(distdir)/$(vpx_upstream)/$$(dirname $$f); \
cp -fpR $(vpx_srcdir)/$$f $(distdir)/$(vpx_upstream)/$$f; \
done
# Extra clean files so that maintainer-clean removes *everything* # Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in vpx.configure.stamp MAINTAINERCLEANFILES = Makefile.in vpx.configure.stamp

View file

@ -1,29 +1,22 @@
# sources.frag - Generated list of source files for libvpx (-*- makefile -*-) # sources.frag - Generated list of source files for libvpx (-*- makefile -*-)
# #
# INTEL CONFIDENTIAL, FOR INTERNAL USE ONLY
# Copyright (C) 2014 Intel Corporation # Copyright (C) 2014 Intel Corporation
# Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> # Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
# #
# @BEGIN_LICENSE@ # This library is free software; you can redistribute it and/or
# The source code contained or described herein and all documents # modify it under the terms of the GNU Library General Public
# related to the source code ("Material") are owned by Intel # License as published by the Free Software Foundation; either
# Corporation or its suppliers or licensors. Title to the Material # version 2 of the License, or (at your option) any later version.
# remains with Intel Corporation or its suppliers and licensors. The
# Material contains trade secrets and proprietary and confidential
# information of Intel or its suppliers and licensors. The Material
# is protected by worldwide copyright and trade secret laws and
# treaty provisions. No part of the Material may be used, copied,
# reproduced, modified, published, uploaded, posted, transmitted,
# distributed, or disclosed in any way without Intels prior express
# written permission.
# #
# No license under any patent, copyright, trade secret or other # This library is distributed in the hope that it will be useful,
# intellectual property right is granted to or conferred upon you by # but WITHOUT ANY WARRANTY; without even the implied warranty of
# disclosure or delivery of the Materials, either expressly, by # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# implication, inducement, estoppel or otherwise. Any license under # Library General Public License for more details.
# such intellectual property rights must be express and approved by #
# Intel in writing. # You should have received a copy of the GNU Library General Public
# @END_LICENSE@ # License along with this library; if not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.
vpx_source_mak = \ vpx_source_mak = \
docs.mk \ docs.mk \

View file

@ -96,6 +96,7 @@ $(top_builddir)/ext/libvpx/libgstcodecparsers_vpx.la:
EXTRA_DIST = \ EXTRA_DIST = \
$(add_source_c) \ $(add_source_c) \
$(add_source_h) \
$(NULL) $(NULL)
DISTCLEANFILES = $(GENFILES) .timestamp.symlinks DISTCLEANFILES = $(GENFILES) .timestamp.symlinks