Compile issues, apply amd64 patch, bug 138908
authorSteve Dibb <beandog@gentoo.org>
Fri, 9 Mar 2007 03:17:53 +0000 (03:17 +0000)
committerSteve Dibb <beandog@gentoo.org>
Fri, 9 Mar 2007 03:17:53 +0000 (03:17 +0000)
Package-Manager: portage-2.1.2.2

media-sound/gsm/ChangeLog
media-sound/gsm/Manifest
media-sound/gsm/files/digest-gsm-1.0.10-r1 [new file with mode: 0644]
media-sound/gsm/gsm-1.0.10-r1.ebuild [new file with mode: 0644]

index fea4e8e494e5c4d029e92764917c07035088a1df..989a3be8e73652397b8a2e736a8b508ecf7c585e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-sound/gsm
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.14 2007/02/22 01:02:45 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.15 2007/03/09 03:17:53 beandog Exp $
+
+*gsm-1.0.10-r1 (09 Mar 2007)
+
+  09 Mar 2007; Steve Dibb <beandog@gentoo.org> +gsm-1.0.10-r1.ebuild:
+  Compile issues, apply amd64 patch, bug 138908
 
   22 Feb 2007; Piotr JaroszyƄski <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 89394eae780b6fd12bc24b845f960eb0e9493d22..66a51fa4ddd83823d4ac1fc416a981f44816d8c7 100644 (file)
@@ -3,14 +3,18 @@ MD5 cf99fa6ecbaddb1c554a36ba9ca4169f files/gsm-1.0.10-amd64.diff 591
 RMD160 f7837a5032e2fce7ac58cb810fe52cb8f468198c files/gsm-1.0.10-amd64.diff 591
 SHA256 88fbe05ffe7a3aacb3f25bd6d0218067edeaf402f4ecbd0c6bcbd751303eae7c files/gsm-1.0.10-amd64.diff 591
 DIST gsm-1.0.10.tar.gz 65928 RMD160 334f93ab232c0b5c1b3090ffa551af0ee0455ed0 SHA1 ee47a81f4137bf3ce933dc610cb2293055ce9c02 SHA256 ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069
+EBUILD gsm-1.0.10-r1.ebuild 1097 RMD160 209a4815276aebb4d3b49d04e976a4bcf57bc7b3 SHA1 7583530777d791e96a681dd0ef67c18f2b39bcb7 SHA256 e24ccf1452cb73a9daffb62c4a1da0b1d9bea2844264860309012b40f53f6469
+MD5 47ae37f7558d44dee646c93a6e223957 gsm-1.0.10-r1.ebuild 1097
+RMD160 209a4815276aebb4d3b49d04e976a4bcf57bc7b3 gsm-1.0.10-r1.ebuild 1097
+SHA256 e24ccf1452cb73a9daffb62c4a1da0b1d9bea2844264860309012b40f53f6469 gsm-1.0.10-r1.ebuild 1097
 EBUILD gsm-1.0.10.ebuild 1089 RMD160 a88be377feb51d4132f767ef9678dbbc095fb58e SHA1 973ce6cfb002aebf3e875ffa01a69bd8a99810c8 SHA256 7f010ff317c1409449982731f79761062c2108c2e9fb0d68dd913be7689342dd
 MD5 cfe69a54bb9e6f6aba1340ef78b329da gsm-1.0.10.ebuild 1089
 RMD160 a88be377feb51d4132f767ef9678dbbc095fb58e gsm-1.0.10.ebuild 1089
 SHA256 7f010ff317c1409449982731f79761062c2108c2e9fb0d68dd913be7689342dd gsm-1.0.10.ebuild 1089
-MISC ChangeLog 1361 RMD160 16d889e80d567b27ab5b3c02c7fe1a2fdb200e55 SHA1 ef05c3912b634fe5e2a45949afc53c578c189bbf SHA256 23548e4c87c865f8a04337adad49f40a9eee98d1590b186ced837b8e249e23d7
-MD5 61a96b59ad27b5bc35b65d25d3f87624 ChangeLog 1361
-RMD160 16d889e80d567b27ab5b3c02c7fe1a2fdb200e55 ChangeLog 1361
-SHA256 23548e4c87c865f8a04337adad49f40a9eee98d1590b186ced837b8e249e23d7 ChangeLog 1361
+MISC ChangeLog 1512 RMD160 e90f2cfa18f7294a6e1dff081fb0fe2d6ef43ce4 SHA1 3fce2fc1db711935228e97c22eb9d73585a23015 SHA256 3e43f0869a7e3e2f43c98d4d0d721584b8f0f0da3ecd26cdb74d0170e84be82e
+MD5 dbdba827f3055fba6942446064a55d86 ChangeLog 1512
+RMD160 e90f2cfa18f7294a6e1dff081fb0fe2d6ef43ce4 ChangeLog 1512
+SHA256 3e43f0869a7e3e2f43c98d4d0d721584b8f0f0da3ecd26cdb74d0170e84be82e ChangeLog 1512
 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
@@ -18,3 +22,6 @@ SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata
 MD5 a7837c9a31f6bbec1ad17fa27128323c files/digest-gsm-1.0.10 229
 RMD160 8485b05b98a997cca07b21757a6071a946b6a05b files/digest-gsm-1.0.10 229
 SHA256 cbaeb440c12022698c5e8af654fdd2e169773a6e2798968aea5e282c463323a4 files/digest-gsm-1.0.10 229
+MD5 a7837c9a31f6bbec1ad17fa27128323c files/digest-gsm-1.0.10-r1 229
+RMD160 8485b05b98a997cca07b21757a6071a946b6a05b files/digest-gsm-1.0.10-r1 229
+SHA256 cbaeb440c12022698c5e8af654fdd2e169773a6e2798968aea5e282c463323a4 files/digest-gsm-1.0.10-r1 229
diff --git a/media-sound/gsm/files/digest-gsm-1.0.10-r1 b/media-sound/gsm/files/digest-gsm-1.0.10-r1
new file mode 100644 (file)
index 0000000..b9697fe
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 4b148480f82e96d274248e13880ec873 gsm-1.0.10.tar.gz 65928
+RMD160 334f93ab232c0b5c1b3090ffa551af0ee0455ed0 gsm-1.0.10.tar.gz 65928
+SHA256 ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069 gsm-1.0.10.tar.gz 65928
diff --git a/media-sound/gsm/gsm-1.0.10-r1.ebuild b/media-sound/gsm/gsm-1.0.10-r1.ebuild
new file mode 100644 (file)
index 0000000..6b1a61c
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.10-r1.ebuild,v 1.1 2007/03/09 03:17:53 beandog Exp $
+
+IUSE=""
+
+inherit eutils versionator toolchain-funcs
+
+S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-pl' )"
+DESCRIPTION="Lossy speech compression library and tool."
+HOMEPAGE="http://kbs.cs.tu-berlin.de/~jutta/toast.html"
+SRC_URI="ftp://ftp.cs.tu-berlin.de/pub/local/kbs/tubmik/gsm/${P}.tar.gz"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="OSI-Approved"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       use amd64 && epatch ${FILESDIR}/${P}-amd64.diff
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" WAV49="-DWAV49" CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" || die
+}
+
+src_install() {
+       dodir /usr/bin /usr/lib /usr/include /usr/share/man/man{1,3}
+       make INSTALL_ROOT="${D}/usr" \
+               GSM_INSTALL_INC="${D}/usr/include" \
+               GSM_INSTALL_MAN="${D}/usr/share/man/man3" \
+               TOAST_INSTALL_MAN="${D}/usr/share/man/man1" \
+               install || die
+
+       dodoc ChangeLog* MACHINES MANIFEST README
+}