aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorqinxialei <xialeiqin@gmail.com>2020-10-29 09:38:08 +0800
committerqinxialei <xialeiqin@gmail.com>2020-10-29 09:38:08 +0800
commit4eb6d7873ba9e7b23a44f41cc3abb9326effcaf4 (patch)
tree5fa44533836e8c26b71dd5c6f1bb77226ef76501 /debian
downloadlibgav1-4eb6d7873ba9e7b23a44f41cc3abb9326effcaf4.tar.gz
libgav1-4eb6d7873ba9e7b23a44f41cc3abb9326effcaf4.tar.bz2
libgav1-4eb6d7873ba9e7b23a44f41cc3abb9326effcaf4.zip
Initial commit
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control40
-rw-r--r--debian/copyright28
-rw-r--r--debian/gav1_decode.162
-rw-r--r--debian/libgav1-0.install1
-rw-r--r--debian/libgav1-0.symbols28
-rw-r--r--debian/libgav1-bin.install1
-rw-r--r--debian/libgav1-bin.manpages1
-rw-r--r--debian/libgav1-dev.examples2
-rw-r--r--debian/libgav1-dev.install5
-rw-r--r--debian/patches/Unbundling-abseil.patch22
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata4
15 files changed, 214 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9be0c11
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libgav1 (0.16.0-1) unstable; urgency=medium
+
+ * Initial release (Closes: #973288)
+
+ -- qinxialei <xialeiqin@gmail.com> Wed, 28 Oct 2020 17:35:33 +0800
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..988c8f4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: libgav1
+Section: text
+Priority: optional
+Maintainer: qinxialei <xialeiqin@gmail.com>
+Build-Depends: debhelper-compat (= 13), cmake( >= 3.7.1),libabsl-dev
+Standards-Version: 4.5.0
+Homepage: https://chromium.googlesource.com/codecs/libgav1/
+Vcs-Browser: https://salsa.debian.org/multimedia-team/libgav1
+Vcs-Git: https://salsa.debian.org/multimedia-team/libgav1.git
+Rules-Requires-Root: no
+
+Package: libgav1-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: gav1 is an AV1 decoder developed by Google -- runtime library
+ This package contains the runtime, shared library of gav1. Gav1 is
+ a new decoder implementation for AV1 video encoding format (supporting
+ profiles 0 and 1).Libgav1 adopts advanced optimization based on
+ neon (ARM) and sse4.1 (x86) instruction set to achieve better performance
+ than aomdec (libaom)
+
+Package: libgav1-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libgav1-0 (= ${binary:Version})
+Description: gav1 is an AV1 decoder developed by Google -- development kit
+ This package contains the header file and development library of gav1.
+ Gav1 is A new decoder implementation for AV1 video encoding format (supporting
+ profiles 0 and 1).Libgav1 adopts advanced optimization based on
+ neon (ARM) and sse4.1 (x86) instruction set to achieve better performance
+ than aomdec (libaom)
+
+Package: libgav1-bin
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libabsl20200923
+Description: gav1_decode -- example application
+ An example application of gav1.gav1_decode can be used to decode IVF files.
+ see gav1_decode --help for options
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f26a054
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libgav1
+Upstream-Contact: gav1-devel@googlegroups.com
+Source: https://chromium.googlesource.com/codecs/libgav1/
+
+Files: *
+Copyright: 2019-2020 Google LLC
+ 2019-2020 The libgav1 Authors
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2020 qinxialei <qinxialei@gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of the
+ License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License, Version 2.0, can be
+ found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/gav1_decode.1 b/debian/gav1_decode.1
new file mode 100644
index 0000000..924d041
--- /dev/null
+++ b/debian/gav1_decode.1
@@ -0,0 +1,62 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
+.TH GAV1_DECODE 1 "23 Oct 2020" "gav1_decode, a libgav1 based AV1 decoder"
+.SH NAME
+gav1_decode, \- An example application of gav1.gav1_decode can be used to decode IVF files
+.SH SYNOPSIS
+.B gav1_decode
+[\fI\,options\/\fR] \fI\,<input file> \/\fR[\fI\,-o <output file>\/\fR]
+.SH OPTIONS
+.HP
+\fB\-h\fR, \fB\-\-help\fR This help message.
+.HP
+\fB\-\-threads\fR <positive integer> (Default 1).
+.HP
+\fB\-\-frame_parallel\fR.
+.HP
+\fB\-\-limit\fR <integer> Stop decoding after N frames (0 = all).
+.HP
+\fB\-\-skip\fR <integer> Skip initial N frames (Default 0).
+.HP
+\fB\-\-version\fR.
+.HP
+\fB\-\-y4m\fR (Default false).
+.HP
+\fB\-\-raw\fR (Default true).
+.HP
+\fB\-v\fR logging verbosity, can be used multiple times.
+.HP
+\fB\-\-all_layers\fR.
+.HP
+\fB\-\-operating_point\fR <integer between 0 and 31> (Default 0).
+.HP
+\fB\-\-frame_timing\fR <file> Output per\-frame timing to <file> in tsv format.
+.IP
+Yields meaningful results only when frame parallel is off.
+.SS "Advanced settings:"
+.HP
+\fB\-\-post_filter_mask\fR <integer> (Default 0x1f).
+.IP
+Mask indicating which post filters should be applied to the reconstructed
+frame. This may be given as octal, decimal or hexadecimal. From LSB:
+.IP
+Bit 0: Loop filter (deblocking filter)
+Bit 1: Cdef
+Bit 2: SuperRes
+Bit 3: Loop Restoration
+Bit 4: Film Grain Synthesis
+.PP
+libgav1 0.16.1
+max bitdepth: 10
+build configuration: Not available.
+.SH "SEE ALSO"
+The full documentation for
+.B gav1_decode,
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B gav1_decode,
+programs are properly installed at your site, the command
+.IP
+.B info gav1_decode,
+.PP
+should give you access to the complete manual.
diff --git a/debian/libgav1-0.install b/debian/libgav1-0.install
new file mode 100644
index 0000000..1d9b40b
--- /dev/null
+++ b/debian/libgav1-0.install
@@ -0,0 +1 @@
+usr/lib/*/libgav1.so.*
diff --git a/debian/libgav1-0.symbols b/debian/libgav1-0.symbols
new file mode 100644
index 0000000..464eae1
--- /dev/null
+++ b/debian/libgav1-0.symbols
@@ -0,0 +1,28 @@
+libgav1.so.0 libgav1-0 #MINVER#
+* Build-Depends-Package: libgav1-dev
+ Libgav1ComputeFrameBufferInfo@Base 0.16.0
+ Libgav1DecoderCreate@Base 0.16.0
+ Libgav1DecoderDequeueFrame@Base 0.16.0
+ Libgav1DecoderDestroy@Base 0.16.0
+ Libgav1DecoderEnqueueFrame@Base 0.16.0
+ Libgav1DecoderGetMaxBitdepth@Base 0.16.0
+ Libgav1DecoderSettingsInitDefault@Base 0.16.0
+ Libgav1DecoderSignalEOS@Base 0.16.0
+ Libgav1GetBuildConfiguration@Base 0.16.0
+ Libgav1GetErrorString@Base 0.16.0
+ Libgav1GetVersion@Base 0.16.0
+ Libgav1GetVersionString@Base 0.16.0
+ Libgav1SetFrameBuffer@Base 0.16.0
+ _ZN7libgav17Decoder12DequeueFrameEPPK20Libgav1DecoderBuffer@Base 0.16.0
+ _ZN7libgav17Decoder12EnqueueFrameEPKhmlPv@Base 0.16.0
+ _ZN7libgav17Decoder14GetMaxBitdepthEv@Base 0.16.0
+ _ZN7libgav17Decoder4InitEPKNS_15DecoderSettingsE@Base 0.16.0
+ _ZN7libgav17Decoder9SignalEOSEv@Base 0.16.0
+ _ZN7libgav17DecoderC1Ev@Base 0.16.0
+ _ZN7libgav17DecoderC2Ev@Base 0.16.0
+ _ZN7libgav17DecoderD1Ev@Base 0.16.0
+ _ZN7libgav17DecoderD2Ev@Base 0.16.0
+ _ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0
+ _ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0
+ _ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0
+ _ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0
diff --git a/debian/libgav1-bin.install b/debian/libgav1-bin.install
new file mode 100644
index 0000000..d3fd60b
--- /dev/null
+++ b/debian/libgav1-bin.install
@@ -0,0 +1 @@
+usr/bin/gav1_decode
diff --git a/debian/libgav1-bin.manpages b/debian/libgav1-bin.manpages
new file mode 100644
index 0000000..2fd6f22
--- /dev/null
+++ b/debian/libgav1-bin.manpages
@@ -0,0 +1 @@
+debian/gav1_decode.1
diff --git a/debian/libgav1-dev.examples b/debian/libgav1-dev.examples
new file mode 100644
index 0000000..a1e57eb
--- /dev/null
+++ b/debian/libgav1-dev.examples
@@ -0,0 +1,2 @@
+examples/*.h
+examples/*.cc
diff --git a/debian/libgav1-dev.install b/debian/libgav1-dev.install
new file mode 100644
index 0000000..0e71f2b
--- /dev/null
+++ b/debian/libgav1-dev.install
@@ -0,0 +1,5 @@
+usr/include/gav1/*
+usr/lib/*/*.a
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
+usr/share/cmake
diff --git a/debian/patches/Unbundling-abseil.patch b/debian/patches/Unbundling-abseil.patch
new file mode 100644
index 0000000..c33dcbe
--- /dev/null
+++ b/debian/patches/Unbundling-abseil.patch
@@ -0,0 +1,22 @@
+Unbundling abseil
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -97,7 +97,6 @@
+ libgav1_dump_options()
+ endif()
+
+-set(libgav1_abseil_build "${libgav1_build}/abseil")
+ set(libgav1_gtest_build "${libgav1_build}/gtest")
+
+ # Compiler/linker flags must be lists, but come in from the environment as
+@@ -109,8 +108,8 @@
+ separate_arguments(LIBGAV1_EXE_LINKER_FLAGS)
+ endif()
+
+-add_subdirectory("${libgav1_root}/third_party/abseil-cpp"
+- "${libgav1_abseil_build}" EXCLUDE_FROM_ALL)
++set(absl "/usr/lib/*/cmake/absl")
++find_package(absl REQUIRED)
+
+ libgav1_reset_target_lists()
+ libgav1_add_dsp_targets()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f1aaaf0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Unbundling-abseil.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..09ea32f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+
+include /usr/share/dpkg/buildflags.mk
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+CXXFLAGS += $(CPPFLAGS)
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DBUILD_SHARED_LIBS=ON
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..0b62ac4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://issuetracker.google.com/issues/new?component=750480&template=1355007
+Changelog: https://chromium.googlesource.com/codecs/libgav1/+log
+Repository-Browse: https://chromium.googlesource.com/codecs/libgav1
+Repository: https://chromium.googlesource.com/codecs/libgav1