commit:     ed1cb52a4622f1a2696a551149972bf786f9fb67
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Jul  2 21:09:11 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 14:43:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1cb52a

media-libs/codec2: update to 0.9.2

Updated and simplified ebuild.
Closes: https://bugs.gentoo.org/707668
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16551
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/codec2/Manifest            |  1 +
 media-libs/codec2/codec2-0.9.2.ebuild | 24 ++++++++++++++++++++++++
 media-libs/codec2/metadata.xml        |  3 +++
 3 files changed, 28 insertions(+)

diff --git a/media-libs/codec2/Manifest b/media-libs/codec2/Manifest
index 1e9ad62b077..3e3f8bd59bd 100644
--- a/media-libs/codec2/Manifest
+++ b/media-libs/codec2/Manifest
@@ -1 +1,2 @@
 DIST codec2-0.8.1.tar.xz 8868212 BLAKE2B 
2c0ba40df02cc6791386243e75f97ce17026842b13384e4a330cf22ea4bef5db75ddbc764dd4045027a6e2bf2eeba9b509b372aeaef81bb235e3d6c2930b01fe
 SHA512 
4f2633d510ab68102b77b15492d87d25fe5fa96d90dc1ca6b3bf7deea04a3765382bfbbde981c9cac70d3e9d091c56b2099544b09b36a84ed62cb9087c9bb819
+DIST codec2-0.9.2.tar.gz 12244006 BLAKE2B 
b7fdff34e41f93f237235db5cf1352e7165565ae13bc88cfe41bc6eb280e16f49c71f6b9947ced81612b0fa6b2630a9f2f75fe257ff09bae5eef1a0b6b39c95b
 SHA512 
30a2eb95f7b0f47f0c0c7f08c9118f089acc32adf8b27f5b4354c89139efe80607d6d0ca5e0a9eefddf3640f02c483b9c804ad52c5dec6295968b7267f3a716c

diff --git a/media-libs/codec2/codec2-0.9.2.ebuild 
b/media-libs/codec2/codec2-0.9.2.ebuild
new file mode 100644
index 00000000000..f48bd59ad5d
--- /dev/null
+++ b/media-libs/codec2/codec2-0.9.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="Low bit rate speech codec"
+HOMEPAGE="https://freedv.org/ http://www.rowetel.com/?page_id=452";
+SRC_URI="https://github.com/drowe67/codec2/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples"
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DUNITTEST=OFF
+               -DINSTALL_EXAMPLES=$(usex examples)
+       )
+       cmake_src_configure
+}

diff --git a/media-libs/codec2/metadata.xml b/media-libs/codec2/metadata.xml
index c870d0eef0a..ee8bcd430a6 100644
--- a/media-libs/codec2/metadata.xml
+++ b/media-libs/codec2/metadata.xml
@@ -5,4 +5,7 @@
        <email>[email protected]</email>
        <name>Gentoo Sound project</name>
 </maintainer>
+<upstream>
+       <remote-id type="github">drowe67/codec2</remote-id>
+</upstream>
 </pkgmetadata>

Reply via email to