summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-02-26 19:43:35 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-02-26 19:43:35 +0000
commit550cd128119391945c08024598edb66209ca5381 (patch)
tree4804f5338da900e5432c2ab5b699b4c314b965da /media-libs/ccaudio2
parentAdd dev-libs/ucommon, bug #220597. Thanks to slepnoga (diff)
downloadhistorical-550cd128119391945c08024598edb66209ca5381.tar.gz
historical-550cd128119391945c08024598edb66209ca5381.tar.bz2
historical-550cd128119391945c08024598edb66209ca5381.zip
Add media-libs/ccaudio2, bug #109034. Thanks to slepnoga
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'media-libs/ccaudio2')
-rw-r--r--media-libs/ccaudio2/ChangeLog10
-rw-r--r--media-libs/ccaudio2/Manifest19
-rw-r--r--media-libs/ccaudio2/ccaudio2-2.0.5.ebuild36
-rw-r--r--media-libs/ccaudio2/files/disable_gsm_automagic.patch25
-rw-r--r--media-libs/ccaudio2/metadata.xml13
5 files changed, 103 insertions, 0 deletions
diff --git a/media-libs/ccaudio2/ChangeLog b/media-libs/ccaudio2/ChangeLog
new file mode 100644
index 000000000000..1f9f23c6b431
--- /dev/null
+++ b/media-libs/ccaudio2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/ccaudio2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ccaudio2/ChangeLog,v 1.1 2012/02/26 19:43:35 maksbotan Exp $
+
+*ccaudio2-2.0.5 (26 Feb 2012)
+
+ 26 Feb 2012; Maxim Koltsov <maksbotan@gentoo.org> +ccaudio2-2.0.5.ebuild,
+ +files/disable_gsm_automagic.patch, +metadata.xml:
+ Add media-libs/ccaudio2, bug #109034. Thanks to slepnoga
+
diff --git a/media-libs/ccaudio2/Manifest b/media-libs/ccaudio2/Manifest
new file mode 100644
index 000000000000..3d825afd2d24
--- /dev/null
+++ b/media-libs/ccaudio2/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX disable_gsm_automagic.patch 727 RMD160 eaf99c6846e027b3c6d4f43b68c853871bde0a81 SHA1 bc9a0ec0dcc4c1dbc3016dcdd46f5e7e646ab0a1 SHA256 1e64376eaee14e5b1e5994c946e3f82d4c7396d9db0fa3eea501ac15ecbc9ba9
+DIST ccaudio2-2.0.5.tar.gz 409732 RMD160 52cc3fdb2ca2c55bc62517c135ef59f3290abe1f SHA1 f724f394ca3cf3a88646cc0dbbe2944d90e3788d SHA256 0f9d0427e9edf11a87a7a15777d78701077f0baac1b87a0776703f968fd38acc
+EBUILD ccaudio2-2.0.5.ebuild 888 RMD160 d505da10434db963dd761c5a1e1c78d3bcb17dc5 SHA1 11d3e443dded337bce0087cbd1d89d4fbff98768 SHA256 e2ee9abcad9d072f57a1430f75c64207fb1917ccebb98bb68b1bc7db104efd61
+MISC ChangeLog 434 RMD160 5c3a88c9e80f418eba08772f5c80e1852649c60b SHA1 6c32a8c5dbcef264b0083f7d4a21559256665b43 SHA256 14e503f8f1adb23f0bbe7b4e4446f7136c1408c507bd81cb65495de57afd3527
+MISC metadata.xml 369 RMD160 553632e76f82f97c2581aed427d091d3d7d63bd7 SHA1 7a5e35413ba2a3e59779a956de5a01500085575a SHA256 fbf0c047dd8f31baf2319b73779aa528e5c22283e2eb6f1b68a826e42b7eedc7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPSovmAAoJEAmJmMX429repA8H/3k5UF0sagxlJNRKIFzTrVb0
+hTIsbmSpa87Kr8QXgLqMedzOOaAQssrh+Mb6b3TtkItfO6BVM5NTS5mjouncas7T
+FMwAc/959qmnzqjE2K2vaAD/TQmeT+hfBIgxbztUd/BvQAFh9aleRsz+udiS3eSV
+YSeyP6zshbmdPxiRytVSWj5al9O+ZM6OmFNmXNhPMEjfwJTGRgh5giHZJnCrNyk6
+Ceo9IWgD6I2ocLfPW0dYyjCUwsM8nxEHGfGPZo1HUAQ6OGTqnA7b5jW49Y2yh1jp
+rfUbyHw4goLG3EBg5R03hjE7xPQCKdedM/rU4HMMJcHJ84G25+yrxr6++rTNZrg=
+=kAKc
+-----END PGP SIGNATURE-----
diff --git a/media-libs/ccaudio2/ccaudio2-2.0.5.ebuild b/media-libs/ccaudio2/ccaudio2-2.0.5.ebuild
new file mode 100644
index 000000000000..52b33be57e5b
--- /dev/null
+++ b/media-libs/ccaudio2/ccaudio2-2.0.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ccaudio2/ccaudio2-2.0.5.ebuild,v 1.1 2012/02/26 19:43:35 maksbotan Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF="1"
+
+inherit autotools-utils
+
+DESCRIPTION="C++ class framework for manipulating audio data"
+HOMEPAGE="http://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"
+
+DEPEND="dev-libs/ucommon
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )"
+RDEPEND="${DEPEND}"
+
+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..60c7f53239ef
--- /dev/null
+++ b/media-libs/ccaudio2/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>andreis.vinogradovs@gmail.com</email>
+ <name>Andreis Vinogradovs</name>
+</maintainer>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>