From 814361ccc64b6e3fa3d0e0693377020dea597cd6 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 18 Sep 2018 23:46:20 -0300 Subject: [PATCH] New package: libopusenc-0.2 --- common/shlibs | 1 + srcpkgs/libopusenc-devel | 1 + srcpkgs/libopusenc/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/libopusenc-devel create mode 100644 srcpkgs/libopusenc/template diff --git a/common/shlibs b/common/shlibs index 788c6b8f82b..95d6957de6d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1202,6 +1202,7 @@ libconfig++.so.11 libconfig++-1.7.1_1 libconfig.so.11 libconfig-1.7.1_1 libopusfile.so.0 opusfile-0.2_1 libopusurl.so.0 opusfile-0.6_1 +libopusenc.so.0 libopusenc-0.2_1 libgtk-vnc-1.0.so.0 gtk2-vnc-0.4.4_2 libgranite.so.4 granite-0.5.0_1 libprotobuf-vala.so.0 libprotobuf-vala-0.1.0_1 diff --git a/srcpkgs/libopusenc-devel b/srcpkgs/libopusenc-devel new file mode 120000 index 00000000000..0da213be9b5 --- /dev/null +++ b/srcpkgs/libopusenc-devel @@ -0,0 +1 @@ +libopusenc \ No newline at end of file diff --git a/srcpkgs/libopusenc/template b/srcpkgs/libopusenc/template new file mode 100644 index 00000000000..4ed44d2afb7 --- /dev/null +++ b/srcpkgs/libopusenc/template @@ -0,0 +1,28 @@ +# Template file for 'libopusenc' +pkgname=libopusenc +version=0.2 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="opus-devel" +short_desc="Library for encoding .opus files" +maintainer="maxice8 " +license="BSD-3-Clause" +homepage="https://git.xiph.org/?p=libopusenc.git" +distfiles="https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz" +checksum=c79e95eeee43a0b965e9b2c59a243763a8f8b0a7e71441df2aa9084f6171c73a + +post_install() { + vlicense COPYING +} + +libopusenc-devel_package() { + depends="opus-devel libopusenc-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}