summaryrefslogtreecommitdiff
path: root/media-libs/ccaudio2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/ccaudio2
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/ccaudio2')
-rw-r--r--media-libs/ccaudio2/Manifest6
-rw-r--r--media-libs/ccaudio2/ccaudio2-2.1.3.ebuild39
-rw-r--r--media-libs/ccaudio2/files/disable_gsm_automagic.patch25
-rw-r--r--media-libs/ccaudio2/metadata.xml8
4 files changed, 78 insertions, 0 deletions
diff --git a/media-libs/ccaudio2/Manifest b/media-libs/ccaudio2/Manifest
new file mode 100644
index 000000000000..8b68a2140dae
--- /dev/null
+++ b/media-libs/ccaudio2/Manifest
@@ -0,0 +1,6 @@
+AUX disable_gsm_automagic.patch 727 SHA256 1e64376eaee14e5b1e5994c946e3f82d4c7396d9db0fa3eea501ac15ecbc9ba9 SHA512 053109cfcb960da417e061f9b9d6de0abf01322d9f3d20216e2358a4703dbc943e699c5f0a2da78c79a981bc47ac5c5b7ab8e82dfa8d085fe79bff3c1b5d8479 WHIRLPOOL 9c93ec415901cbc366c721b0ce351f452addea2d14ba23fed40ac8496c37cfac2d9f34c976e5e2204f6fac84f1b356ffea0ce469d6bf3fe2edcd23ed2b45efab
+DIST ccaudio2-2.1.3.tar.gz 443867 SHA256 b94a898c9a2ae55c812bde810fdf89f40bc44b94fb06c4dc3e40a5341eeec301 SHA512 3f6d80a503ddacb473b559450a6fac0cba7f1788a7c17a0326b1ef66918a1403a1c69c1578fbd2f382e75969d95a116c579dae810cdd3719da24a3e25027b9ae WHIRLPOOL 9028655b082b67d28734e78b2356a80fa1066ebaefaf15d9a9be44939034484dc822114029bf0685e54cea9a891c614d863e47df1b482f3aa3eacb46e083d803
+EBUILD ccaudio2-2.1.3.ebuild 796 SHA256 e095d8c6228e7a711576143f0d8e59ff19f89550345906d3746fa4c569188efb SHA512 6ad335ec3d20f143a175ef40ac01ca05069a1229bb5dff8e17e99acb60c8bbe3a4199449ac9b4aaf38f7fbf971e5d3c4e8c85b9244eee314256413ac31090ead WHIRLPOOL cf8f7ebcadfc4589ca3bb73728b81ce7dbac1dba69297e43fc9e5e2b1f494684f3d852e4ad4487ff80d0e08e2185b22dc0af0a6dd1eca1ae92ebda5ac3e4e6d3
+MISC ChangeLog 2623 SHA256 1e482838985400e81052cf0a04b1f2924e88a49aef363053feb4b51246182e00 SHA512 f9a24177817c27dda332bac7ac75e0c6b563da7f35afe32efbd23b5eefd56dd6bd97405d3acf16e9c193ca54a44316081b260c52a57e9c22dcebb9a652355c21 WHIRLPOOL fa2158a3b8d44ff9a51d1a126577c9755c59d14cb27833ce194ec2fe0a866071816f8681c7f4bb5a03e2d43c18cd0630e0163bd1dd1a715f4a5be07349f42375
+MISC ChangeLog-2015 737 SHA256 6c3af1b6e36ab8b327a4a702f362cf0027d6ca3a35ba659588793ebc986592f4 SHA512 3b67f1c537fddaf5d7d64bfae9528757965a5e3d9a0f052f9b1809c0cd9afdbe2427ac1243d53197c1187156b9b02921a176fb6054b72abc1a9c2f8056051061 WHIRLPOOL 97f5082f87ea43bddfe4021d2fd60ce0a778a046b93d0f3cef003534aa96055dce6f29cb6c6651bf852eb7fb8abfbfedc279b291ce303a3c92dfe0875d50158f
+MISC metadata.xml 245 SHA256 d8a2d603183590c960989695dbe8e1b40b18c4405314cc754b4a609ef266be7c SHA512 1c6cdb75d4cbbd8d3a5f2cc24950924c030db330e135cf2cacecdaaa99ee65117efd7abd9f8652bf5dfa8169d427f51ff84123aab11fa8ef82498a6834b0805a WHIRLPOOL 8d19cc9bf7a59c51d8a9e346f23576705184758bc5a732bafa587d4d51ce3ec01b77a6a1c06d6121b72342fe401a02f03935acf5d386cb48f7e5b14b197810d5
diff --git a/media-libs/ccaudio2/ccaudio2-2.1.3.ebuild b/media-libs/ccaudio2/ccaudio2-2.1.3.ebuild
new file mode 100644
index 000000000000..1c87c2187e6b
--- /dev/null
+++ b/media-libs/ccaudio2/ccaudio2-2.1.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+
+inherit autotools-utils
+
+DESCRIPTION="C++ class framework for manipulating audio data"
+HOMEPAGE="https://www.gnu.org/software/ccaudio"
+SRC_URI="mirror://gnu/ccaudio/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug static-libs +speex gsm"
+
+RDEPEND="dev-libs/ucommon
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ "
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ "
+
+PATCHES=("${FILESDIR}"/disable_gsm_automagic.patch)
+DOCS=(AUTHORS ChangeLog INSTALL NEWS README SUPPORT THANKS TODO)
+
+REQUIRED_USE="^^ ( gsm speex )"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable speex)
+ $(use_enable gsm)
+ )
+ autotools-utils_src_configure
+}
diff --git a/media-libs/ccaudio2/files/disable_gsm_automagic.patch b/media-libs/ccaudio2/files/disable_gsm_automagic.patch
new file mode 100644
index 000000000000..1ae6a79239c7
--- /dev/null
+++ b/media-libs/ccaudio2/files/disable_gsm_automagic.patch
@@ -0,0 +1,25 @@
+--- configure.ac.orig 2011-05-15 21:40:14.000000000 +0300
++++ configure.ac 2011-05-15 21:46:11.000000000 +0300
+@@ -138,6 +138,9 @@
+ ac_gsm_codec=false
+ ac_spx_codec=false
+
++AC_ARG_ENABLE(gsm, [ --disable-gsm disable gsm support])
++if test "$enable_gsm" != "no" ; then
++
+ AC_CHECK_HEADER(gsm/gsm.h, [
+ ac_gsm_codec=true
+ AC_DEFINE(HAVE_GSM_GSM_H, [1], [gsm header found])
+@@ -145,9 +148,11 @@
+ ],[
+ AC_CHECK_HEADER(gsm.h, [
+ AUDIO_LIBS="$AUDIO_LIBS -lgsm"
+- AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
++ AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
++
+ ])
+ ])
++fi
+
+ AC_ARG_ENABLE(speex, [ --disable-speex disable speex support])
+ if test "$enable_speex" != "no" ; then
diff --git a/media-libs/ccaudio2/metadata.xml b/media-libs/ccaudio2/metadata.xml
new file mode 100644
index 000000000000..c5adddd4b3e6
--- /dev/null
+++ b/media-libs/ccaudio2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>