diff options
author | Frank van de Pol <fvdpol@gentoo.org> | 2004-08-13 22:30:18 +0000 |
---|---|---|
committer | Frank van de Pol <fvdpol@gentoo.org> | 2004-08-13 22:30:18 +0000 |
commit | 0743c9e56afe0e764a43fbdc22da22ca74d4a1b9 (patch) | |
tree | 9f42ff3515c95f09b60eb1fdbb786e9599b74445 /media-libs | |
parent | ~amd64 (Manifest recommit) (diff) | |
download | gentoo-2-0743c9e56afe0e764a43fbdc22da22ca74d4a1b9.tar.gz gentoo-2-0743c9e56afe0e764a43fbdc22da22ca74d4a1b9.tar.bz2 gentoo-2-0743c9e56afe0e764a43fbdc22da22ca74d4a1b9.zip |
New ebuild kindly submitted by Stefan Briesenick <sbriesen@gmx.de>. Closes bug #59064
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libsoundtouch/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libsoundtouch/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libsoundtouch/files/digest-libsoundtouch-1.2.1 | 1 | ||||
-rw-r--r-- | media-libs/libsoundtouch/libsoundtouch-1.2.1.ebuild | 42 | ||||
-rw-r--r-- | media-libs/libsoundtouch/metadata.xml | 8 |
5 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/libsoundtouch/ChangeLog b/media-libs/libsoundtouch/ChangeLog new file mode 100644 index 000000000000..415798fa2218 --- /dev/null +++ b/media-libs/libsoundtouch/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-libs/libsoundtouch +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.1 2004/08/13 22:30:18 fvdpol Exp $ + + 14 Aug 2004; <frank@gentoo.org> : + New ebuild kindly submitted by Stefan Briesenick <sbriesen@gmx.de>. Closes bug + #59064 + diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest new file mode 100644 index 000000000000..2abab9ee8557 --- /dev/null +++ b/media-libs/libsoundtouch/Manifest @@ -0,0 +1,4 @@ +MD5 79ddf122d555bc6ec50a5b23385cdaac libsoundtouch-1.2.1.ebuild 1321 +MD5 2f758c82434233f84f01f80f850a1112 metadata.xml 217 +MD5 3cba4c8f165a3c38ca27f895cf800519 ChangeLog 252 +MD5 3c9ded8dc9e9d37cf59b37200a04dd86 files/digest-libsoundtouch-1.2.1 66 diff --git a/media-libs/libsoundtouch/files/digest-libsoundtouch-1.2.1 b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.2.1 new file mode 100644 index 000000000000..ab13bf47f135 --- /dev/null +++ b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.2.1 @@ -0,0 +1 @@ +MD5 95bf7e05bcf2842d007f6e1f7580ded0 soundtouch_v1.2.1.zip 338788 diff --git a/media-libs/libsoundtouch/libsoundtouch-1.2.1.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.2.1.ebuild new file mode 100644 index 000000000000..0dd2a2b476bb --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-1.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.2.1.ebuild,v 1.1 2004/08/13 22:30:18 fvdpol Exp $ + +DESCRIPTION="Audio processing library for changing the tempo, pitch and playback rates." +HOMEPAGE="http://sky.prohosting.com/oparviai/soundtouch/" +SRC_URI="http://sky.prohosting.com/oparviai/soundtouch/soundtouch_v${PV}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +# FIXME: +# +# I wanted to use 'static' and 'pic' USE flags, but anything +# other than a static lib produces segfaults in soundstretch. :-( +# So I let alone the '$myconf' option, so one can test options +# easily with: myconf="--enable-foo" emerge libsoundtouch + +DEPEND="" +S="${WORKDIR}/SoundTouch-${PV}" + +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S} + + # change sample type from integer to float (more accurate) + sed -i -e "s|#define INTEGER_SAMPLES|//#define INTEGER_SAMPLES|g" \ + -e "s|//#define FLOAT_SAMPLES|#define FLOAT_SAMPLES|g" include/STTypes.h +} + +src_compile() { + econf $myconf || die "./configure failed" + # fixes C(XX)FLAGS from configure, so we can use *ours* + emake CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" || die "emake failed" +} + +src_install() { + make DESTDIR=${D} pkgdocdir=/usr/share/doc/${P} install || die + rm -f ${D}/usr/share/doc/${P}/COPYING.TXT # remove obsolete LICENCE file +} diff --git a/media-libs/libsoundtouch/metadata.xml b/media-libs/libsoundtouch/metadata.xml new file mode 100644 index 000000000000..d8913263a79e --- /dev/null +++ b/media-libs/libsoundtouch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> +<email>sound@gentoo.org</email> +</maintainer> +</pkgmetadata> |