From 3c629cdfb4a786a952be3f33fda159e123ed36cf Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 27 Jun 2018 15:51:37 -0300 Subject: [PATCH] New package: libaom-1.0.0. --- common/shlibs | 1 + srcpkgs/libaom-devel | 1 + srcpkgs/libaom-tools | 1 + srcpkgs/libaom/template | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 120000 srcpkgs/libaom-devel create mode 120000 srcpkgs/libaom-tools create mode 100644 srcpkgs/libaom/template diff --git a/common/shlibs b/common/shlibs index d47028287c..ed5e764603 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3382,3 +3382,4 @@ libticalcs2.so.12 libticalcs2-1.1.9_1 libhtmlcxx.so.3 htmlcxx-0.86_1 libcss_parser_pp.so.0 htmlcxx-0.86_1 libcss_parser.so.0 htmlcxx-0.86_1 +libaom.so.0 libaom-1.0.0_1 diff --git a/srcpkgs/libaom-devel b/srcpkgs/libaom-devel new file mode 120000 index 0000000000..000d89f76f --- /dev/null +++ b/srcpkgs/libaom-devel @@ -0,0 +1 @@ +libaom \ No newline at end of file diff --git a/srcpkgs/libaom-tools b/srcpkgs/libaom-tools new file mode 120000 index 0000000000..000d89f76f --- /dev/null +++ b/srcpkgs/libaom-tools @@ -0,0 +1 @@ +libaom \ No newline at end of file diff --git a/srcpkgs/libaom/template b/srcpkgs/libaom/template new file mode 100644 index 0000000000..4863f56d28 --- /dev/null +++ b/srcpkgs/libaom/template @@ -0,0 +1,37 @@ +# Template file for 'libaom' +pkgname=libaom +version=1.0.0 +revision=1 +create_wrksrc=yes +build_style=cmake +configure_args="-DENABLE_DOCS=ON -DBUILD_SHARED_LIBS=ON" +hostmakedepends="yasm doxygen perl python" +short_desc="AV1 Codec library implementation" +maintainer="maxice8 " +license="BSD-2-Clause" +homepage="https://aomedia.org/" +changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG" +distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz" +checksum=@8a85b841d98dcebf0d74f1c61c11308746bcc1509c03a6f82e28fb688fb61124 + +post_install() { + vlicense LICENSE +} + +libaom-devel_package() { + depends="libaom-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} + +libaom-tools_package() { + short_desc+=" - utilities for enconding and decoding AV1" + pkg_install() { + vmove usr/bin/aomdec + vmove usr/bin/aomenc + } +}