summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gentoo.org>2004-01-19 08:48:17 +0000
committerTorben Hohn <torbenh@gentoo.org>2004-01-19 08:48:17 +0000
commita51abe3ea821b9a304f61fa7f94ffee3bd722df7 (patch)
tree6080f6e0642ce488f6f6681571e095343a7580a4 /media-sound/jmax
parentInitial Import (diff)
downloadhistorical-a51abe3ea821b9a304f61fa7f94ffee3bd722df7.tar.gz
historical-a51abe3ea821b9a304f61fa7f94ffee3bd722df7.tar.bz2
historical-a51abe3ea821b9a304f61fa7f94ffee3bd722df7.zip
Initial Import
Diffstat (limited to 'media-sound/jmax')
-rw-r--r--media-sound/jmax/Manifest6
-rw-r--r--media-sound/jmax/files/digest-jmax-4.0.21
-rw-r--r--media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch33
-rw-r--r--media-sound/jmax/jmax-4.0.2.ebuild49
-rw-r--r--media-sound/jmax/metadata.xml8
5 files changed, 95 insertions, 2 deletions
diff --git a/media-sound/jmax/Manifest b/media-sound/jmax/Manifest
index d7895a6b86c0..e0a031bb15b8 100644
--- a/media-sound/jmax/Manifest
+++ b/media-sound/jmax/Manifest
@@ -1,3 +1,5 @@
-MD5 66ea6387de45e7c3aaba76c3416209b4 jmax-4.0.2.ebuild 1102
-MD5 ce7938192f9fef7f13fa7fe709c6f3ad jmax-4.0.2-work_with_recent_alsa-lib.patch 991
+MD5 6fded07e239800cadd9c8d7f606795b5 jmax-4.0.2.ebuild 1258
+MD5 3be4f6e757e3057184136a002b0165f9 metadata.xml 221
+MD5 bd47df0e23fb7cf19d191b7310046f9f ChangeLog 381
MD5 52b60310d899a94c7402ebed98ca9c71 files/digest-jmax-4.0.2 63
+MD5 ce7938192f9fef7f13fa7fe709c6f3ad files/jmax-4.0.2-work_with_recent_alsa-lib.patch 991
diff --git a/media-sound/jmax/files/digest-jmax-4.0.2 b/media-sound/jmax/files/digest-jmax-4.0.2
new file mode 100644
index 000000000000..964240056ace
--- /dev/null
+++ b/media-sound/jmax/files/digest-jmax-4.0.2
@@ -0,0 +1 @@
+MD5 2214ae9bd18cc609177c6769fd3491a8 jmax-4.0.2.tar.gz 2535358
diff --git a/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch b/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch
new file mode 100644
index 000000000000..eae0d925e07b
--- /dev/null
+++ b/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch
@@ -0,0 +1,33 @@
+diff -u packages/alsa/c/src/alsaaudiomanager.c patches/alsaaudiomanager.c
+--- packages/alsa/c/src/alsaaudiomanager.c 2003-02-19 18:04:56.000000000 +0100
++++ patches/alsaaudiomanager.c 2004-01-17 18:27:39.115180703 +0100
+@@ -20,6 +20,10 @@
+ *
+ */
+
++ /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs.
++ * It has no effect on Alsa 0.9.x
++ */
++#define ALSA_PCM_OLD_HW_PARAMS_API 1
+
+ #include <stdio.h>
+ #include <stdlib.h>
+
+
+diff -u packages/alsa/c/src/alsaaudioport.c patches/alsaaudioport.c
+--- packages/alsa/c/src/alsaaudioport.c 2003-02-19 18:02:51.000000000 +0100
++++ patches/alsaaudioport.c 2004-01-17 18:27:59.896960871 +0100
+@@ -24,6 +24,12 @@
+ * This file include the jMax ALSA audio port.
+ */
+
++ /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs.
++ * It has no effect on Alsa 0.9.x
++ */
++#define ALSA_PCM_OLD_HW_PARAMS_API 1
++#define ALSA_PCM_OLD_SW_PARAMS_API 1
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
+
diff --git a/media-sound/jmax/jmax-4.0.2.ebuild b/media-sound/jmax/jmax-4.0.2.ebuild
new file mode 100644
index 000000000000..a1c8fc4d8e80
--- /dev/null
+++ b/media-sound/jmax/jmax-4.0.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jmax/jmax-4.0.2.ebuild,v 1.1 2004/01/19 08:47:46 torbenh Exp $
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="jMax is a visual programming environment for building interactive real-time music and multimedia applications."
+HOMEPAGE="http://freesoftware.ircam.fr/rubrique.php3?id_rubrique=2"
+SRC_URI="ftp://ftp.ircam.fr/pub/ircam/${PN}/releases/${PV}/${P}.tar.gz
+ http://umn.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+ http://switch.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+ http://keihanna.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND=">=virtual/jre-1.4
+ media-libs/alsa-lib"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/${P}
+ epatch ${FILESDIR}/${P}-work_with_recent_alsa-lib.patch
+}
+
+
+
+src_compile() {
+ cd ${S}
+ econf || die "configure failed"
+ make || die "compile failed"
+}
+
+
+
+src_install () {
+ einstall || die "install failed"
+
+ dodoc AUTHORS ChangeLog JMAX-VERSION LICENCE.fr LICENSE LISEZMOI README
+}
+
+
+
+pkg_postinst() {
+ echo
+ einfo "To get started, have a look at the tutorials"
+ einfo "in /usr/share/jmax/tutorials/basics"
+ echo
+}
diff --git a/media-sound/jmax/metadata.xml b/media-sound/jmax/metadata.xml
new file mode 100644
index 000000000000..d4ce46c038ab
--- /dev/null
+++ b/media-sound/jmax/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>torbenh@gentoo.org</email>
+</maintainer>
+</pkgmetadata>