summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-28 14:25:29 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-28 14:25:29 +0000
commit843baac321e063f80550fc0d51c73c1ca0f97b98 (patch)
tree2a807880ec73ef3896ddad124d9ac9504c1b9379 /media-sound/gsm
parentUpdate media-sound/gsm license file. (diff)
downloadgentoo-2-843baac321e063f80550fc0d51c73c1ca0f97b98.tar.gz
gentoo-2-843baac321e063f80550fc0d51c73c1ca0f97b98.tar.bz2
gentoo-2-843baac321e063f80550fc0d51c73c1ca0f97b98.zip
Version bump (license clarification only).
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/gsm')
-rw-r--r--media-sound/gsm/ChangeLog7
-rw-r--r--media-sound/gsm/gsm-1.0.13.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/media-sound/gsm/ChangeLog b/media-sound/gsm/ChangeLog
index 6b77a2a2fa49..d41cc77570a9 100644
--- a/media-sound/gsm/ChangeLog
+++ b/media-sound/gsm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/gsm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.37 2009/05/10 17:46:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.38 2009/08/28 14:25:29 ssuominen Exp $
+
+*gsm-1.0.13 (28 Aug 2009)
+
+ 28 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> +gsm-1.0.13.ebuild:
+ Version bump (license clarification only).
10 May 2009; Samuli Suominen <ssuominen@gentoo.org> gsm-1.0.12-r1.ebuild:
Rename license from OSI-Approved to gsm wrt #240392
diff --git a/media-sound/gsm/gsm-1.0.13.ebuild b/media-sound/gsm/gsm-1.0.13.ebuild
new file mode 100644
index 000000000000..e4cf6e23c039
--- /dev/null
+++ b/media-sound/gsm/gsm-1.0.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.13.ebuild,v 1.1 2009/08/28 14:25:29 ssuominen Exp $
+
+EAPI=2
+inherit eutils flag-o-matic multilib toolchain-funcs versionator
+
+DESCRIPTION="Lossy speech compression library and tool."
+HOMEPAGE="http://kbs.cs.tu-berlin.de/~jutta/toast.html"
+SRC_URI="http://www.cs.tu-berlin.de/~jutta/${PN}/${P}.tar.gz"
+
+LICENSE="gsm"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+S=${WORKDIR}/${PN}-"$(replace_version_separator 2 '-pl' )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.12-shared.patch \
+ "${FILESDIR}"/${PN}-1.0.12-memcpy.patch \
+ "${FILESDIR}"/${PN}-1.0.12-64bit.patch
+}
+
+src_compile() {
+ # From upstream Makefile. Define this if your host multiplies
+ # floats faster than integers, e.g. on a SPARCstation.
+ use sparc && append-flags -DUSE_FLOAT_MUL -DFAST
+
+ emake -j1 CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" \
+ LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" || die "emake failed."
+}
+
+src_install() {
+ dodir /usr/bin /usr/$(get_libdir) /usr/include/gsm /usr/share/man/man{1,3}
+
+ emake -j1 INSTALL_ROOT="${D}"/usr \
+ GSM_INSTALL_LIB="${D}"/usr/$(get_libdir) \
+ GSM_INSTALL_INC="${D}"/usr/include/gsm \
+ GSM_INSTALL_MAN="${D}"/usr/share/man/man3 \
+ TOAST_INSTALL_MAN="${D}"/usr/share/man/man1 \
+ install || die "emake install failed."
+
+ dolib lib/libgsm.so*
+
+ dosym ../gsm/gsm.h /usr/include/libgsm/gsm.h
+
+ dodoc ChangeLog* MACHINES MANIFEST README
+}