summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-09-03 05:42:13 +0000
committerChris White <chriswhite@gentoo.org>2004-09-03 05:42:13 +0000
commite20c8e2ec510315396b777c2223e3abb7cbc5a3c (patch)
tree9e6417081065bb109ea03680b34723b999a66ac2 /media-libs
parentSDIF->sdif (diff)
downloadhistorical-e20c8e2ec510315396b777c2223e3abb7cbc5a3c.tar.gz
historical-e20c8e2ec510315396b777c2223e3abb7cbc5a3c.tar.bz2
historical-e20c8e2ec510315396b777c2223e3abb7cbc5a3c.zip
Re-Intial import into the tree. Fixed use_enable logic, removed myconf.
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdif/ChangeLog10
-rw-r--r--media-libs/sdif/Manifest5
-rw-r--r--media-libs/sdif/files/digest-sdif-3.8.62
-rw-r--r--media-libs/sdif/files/sdif-3.8.6-cflags.patch39
-rw-r--r--media-libs/sdif/metadata.xml14
-rw-r--r--media-libs/sdif/sdif-3.8.6.ebuild47
6 files changed, 117 insertions, 0 deletions
diff --git a/media-libs/sdif/ChangeLog b/media-libs/sdif/ChangeLog
new file mode 100644
index 000000000000..32e4e94ac24f
--- /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 05:42:13 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 into the tree.
+
diff --git a/media-libs/sdif/Manifest b/media-libs/sdif/Manifest
new file mode 100644
index 000000000000..df98416d75d3
--- /dev/null
+++ b/media-libs/sdif/Manifest
@@ -0,0 +1,5 @@
+MD5 eddf170039964fad42c3d19d7a63bf81 metadata.xml 497
+MD5 f6a0f8c0461665ed1c1a8c252d300bb7 sdif-3.8.6.ebuild 1323
+MD5 01f0319dddfc2e0d1c0702ff3220ecc0 ChangeLog 387
+MD5 3ba87254ca763ee63eef337f101a1138 files/digest-sdif-3.8.6 126
+MD5 dc3ba82219e697318a271e47a3694c00 files/sdif-3.8.6-cflags.patch 1369
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/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/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>
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..f44d9e922ea5
--- /dev/null
+++ b/media-libs/sdif/sdif-3.8.6.ebuild
@@ -0,0 +1,47 @@
+# 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 05:42:13 chriswhite Exp $
+
+inherit eutils
+
+MY_PN="${PN/sdif/SDIF}"
+MY_P=${MY_PN}-${PV}-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/${MY_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}/${MY_PN}-doc.tar.gz -C ${WORKDIR}/SDIF-doc
+
+ cd ${S}
+ #custom cflags...
+ epatch ${FILESDIR}/${P}-cflags.patch
+}
+
+src_compile() {
+ cd ${S}
+
+ econf $(use_enable debug) \
+ $(use_enable ftruncate) \
+ $(use_enable threads pthreads) \
+ || die "configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ use doc && dohtml -r ${WORKDIR}/SDIF-doc
+}