summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-07-03 00:09:11 +0300
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-23 16:43:51 +0200
commited1cb52a4622f1a2696a551149972bf786f9fb67 (patch)
tree7cd068a083b04aecb90a23e3a5fa98725b65a0c4 /media-libs/codec2
parentprofiles/desc/lcd_devices.desc: update list (diff)
downloadgentoo-ed1cb52a4622f1a2696a551149972bf786f9fb67.tar.gz
gentoo-ed1cb52a4622f1a2696a551149972bf786f9fb67.tar.bz2
gentoo-ed1cb52a4622f1a2696a551149972bf786f9fb67.zip
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@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16551 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/codec2')
-rw-r--r--media-libs/codec2/Manifest1
-rw-r--r--media-libs/codec2/codec2-0.9.2.ebuild24
-rw-r--r--media-libs/codec2/metadata.xml3
3 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/codec2/Manifest b/media-libs/codec2/Manifest
index 1e9ad62b0772..3e3f8bd59bde 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 000000000000..f48bd59ad5dd
--- /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 c870d0eef0ab..ee8bcd430a6d 100644
--- a/media-libs/codec2/metadata.xml
+++ b/media-libs/codec2/metadata.xml
@@ -5,4 +5,7 @@
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
+<upstream>
+ <remote-id type="github">drowe67/codec2</remote-id>
+</upstream>
</pkgmetadata>