diff options
author | Chris White <chriswhite@gentoo.org> | 2004-09-03 03:56:07 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-09-03 03:56:07 +0000 |
commit | 977af57fdd381a664adb188d0ded674e8ef401b5 (patch) | |
tree | b67e2a5cb195898323e4e24bd12e50e611beb393 /media-libs | |
parent | added ~ppc64, bug #62683 (Manifest recommit) (diff) | |
download | gentoo-2-977af57fdd381a664adb188d0ded674e8ef401b5.tar.gz gentoo-2-977af57fdd381a664adb188d0ded674e8ef401b5.tar.bz2 gentoo-2-977af57fdd381a664adb188d0ded674e8ef401b5.zip |
Initial commit to the portage tree.
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/SDIF/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/SDIF/Manifest | 2 | ||||
-rw-r--r-- | media-libs/SDIF/SDIF-3.8.6.ebuild | 46 | ||||
-rw-r--r-- | media-libs/SDIF/files/SDIF-3.8.6-cflags.patch | 39 | ||||
-rw-r--r-- | media-libs/SDIF/files/digest-SDIF-3.8.6 | 2 | ||||
-rw-r--r-- | media-libs/SDIF/metadata.xml | 14 |
6 files changed, 113 insertions, 0 deletions
diff --git a/media-libs/SDIF/ChangeLog b/media-libs/SDIF/ChangeLog new file mode 100644 index 000000000000..3e52c8a162c5 --- /dev/null +++ b/media-libs/SDIF/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/SDIF +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/SDIF/ChangeLog,v 1.1 2004/09/03 03:56:07 chriswhite Exp $ + +*SDIF-3.8.6 (03 Sep 2004) + + 03 Sep 2004; Chris White <chriswhite@gentoo.org> +metadata.xml, + +files/SDIF-3.8.6-cflags.patch, +SDIF-3.8.6.ebuild: + Initial import to the tree. + diff --git a/media-libs/SDIF/Manifest b/media-libs/SDIF/Manifest new file mode 100644 index 000000000000..ba0a66254b08 --- /dev/null +++ b/media-libs/SDIF/Manifest @@ -0,0 +1,2 @@ +MD5 394dfc58cb5500335a4581f17423c2af SDIF-3.8.6.ebuild 836 +MD5 3ba87254ca763ee63eef337f101a1138 files/digest-SDIF-3.8.6 126 diff --git a/media-libs/SDIF/SDIF-3.8.6.ebuild b/media-libs/SDIF/SDIF-3.8.6.ebuild new file mode 100644 index 000000000000..2f0d15fc34c0 --- /dev/null +++ b/media-libs/SDIF/SDIF-3.8.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/SDIF/SDIF-3.8.6.ebuild,v 1.1 2004/09/03 03:56:07 chriswhite Exp $ + +inherit eutils + +MY_P=${P}-src +DESCRIPTION="The Sound Description Interchange Format Library is a library that deals with audio and wave processing." +HOMEPAGE="http://www.ircam.fr/anasyn/sdif" +SRC_URI="http://www.ircam.fr/anasyn/sdif/download/${MY_P}.tar.gz + doc? ( http://www.ircam.fr/anasyn/sdif/download/${PN}-doc.tar.gz )" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc threads ftruncate debug" +DEPEND="" +S=${WORKDIR}/${MY_P} + +src_unpack() { + # a hack that I need to bother upstream about + # they don't want to use the "Package-Name-Docs/file1.html" format + # instead it's just file1.html :| + unpack ${MY_P}.tar.gz + mkdir ${WORKDIR}/SDIF-doc + use doc && tar xfz ${DISTDIR}/${PN}-doc.tar.gz -C ${WORKDIR}/SDIF-doc +} + +src_compile() { + cd ${S} + + #custom cflags... + epatch ${FILESDIR}/${P}-cflags.patch + + local myconf="" + myconf="${myconf} $(use_enable debug)" + myconf="${myconf} $(use_enable ftruncate)" + myconf="${myconf} $(use_enable threads pthreads)" + + econf ${myconf} || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die + use doc && dohtml -r ${WORKDIR}/SDIF-doc +} diff --git a/media-libs/SDIF/files/SDIF-3.8.6-cflags.patch b/media-libs/SDIF/files/SDIF-3.8.6-cflags.patch new file mode 100644 index 000000000000..27debd5b67c5 --- /dev/null +++ b/media-libs/SDIF/files/SDIF-3.8.6-cflags.patch @@ -0,0 +1,39 @@ +--- configure.old 2004-09-03 06:49:36.454205056 +0900 ++++ configure 2004-09-03 09:24:10.924271296 +0900 +@@ -19247,6 +19247,7 @@ + done + + ++CFLAGS="${CFLAGS}" + + # Check whether --enable-doc-compilation or --disable-doc-compilation was given. + if test "${enable_doc_compilation+set}" = set; then +@@ -19844,16 +19845,16 @@ + enableval="$enable_debug" + echo FEATURE enable-debug... $enableval; + if test "$enableval" = "yes"; then +- SELLIB=libsdif-debug.la; CFLAGS="-g2"; ++ SELLIB=libsdif-debug.la; CFLAGS="${CFLAGS} -g2"; + PROGLIST="querysdif-debug\$(EXEEXT) sdifextract-debug\$(EXEEXT) sdiftotext-debug\$(EXEEXT) tosdif-debug\$(EXEEXT)"; + + else +- SELLIB=libsdif.la; CFLAGS="-O3"; ++ SELLIB=libsdif.la; + PROGLIST="querysdif\$(EXEEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)"; + fi + else + +-SELLIB=libsdif.la; CFLAGS="-O3"; ++SELLIB=libsdif.la; + PROGLIST="querysdif\$(EXEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)"; + + fi; +@@ -19865,7 +19866,7 @@ + enableval="$enable_profile" + echo FEATURE enable-profile... $enableval; + if test "$enableval" = "yes"; then +- SELLIB=libsdif-profile.la; CFLAGS="-g -pg -fprofile-arcs"; ++ SELLIB=libsdif-profile.la; CFLAGS="${CFLAGS} -g -pg -fprofile-arcs"; + PROGLIST="querysdif-profile\$(EXEEXT) sdifextract-profile\$(EXEEXT) sdiftotext-profile\$(EXEEXT) tosdif-profile\$(EXEEXT)"; + fi + else diff --git a/media-libs/SDIF/files/digest-SDIF-3.8.6 b/media-libs/SDIF/files/digest-SDIF-3.8.6 new file mode 100644 index 000000000000..829c567d9ecd --- /dev/null +++ b/media-libs/SDIF/files/digest-SDIF-3.8.6 @@ -0,0 +1,2 @@ +MD5 489078e387fa8eb816b8dba1a99c67cb SDIF-3.8.6-src.tar.gz 786261 +MD5 b2415db45a513b85752ddb8d82059dcc SDIF-doc.tar.gz 534161 diff --git a/media-libs/SDIF/metadata.xml b/media-libs/SDIF/metadata.xml new file mode 100644 index 000000000000..5435ff2fedbb --- /dev/null +++ b/media-libs/SDIF/metadata.xml @@ -0,0 +1,14 @@ +<?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> +<longdescription> +The general idea of SDIF is to store information related to signal +processing and specifically of sound, in files, according to a common +format to all data types. Thus, it is possible to store results or +parameters of analyses, syntheses... +</longdescription> +</pkgmetadata> |