blob: 4bbc55b5571d2417064187fe2cbfee42185fff3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/jmax/jmax-4.1.0.ebuild,v 1.5 2005/03/17 21:55:55 luckyduck Exp $
IUSE="alsa jack doc"
inherit eutils libtool
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="mirror://sourceforge/${PN}/${P}.tar.gz
mirror://gentoo/jmax-m4-1.0.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
#-amd64, -sparc: 4.1.0: fts/linux.c has only code for ppc and ix86
KEYWORDS="x86 -amd64 -sparc"
RDEPEND=">=virtual/jre-1.4
jack? ( media-sound/jack-audio-connection-kit )
alsa? ( media-libs/alsa-lib )"
DEPEND="${RDEPEND}
>=virtual/jdk-1.4
doc? ( app-doc/doxygen )
sys-devel/autoconf"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
unpack jmax-m4-1.0.tar.bz2
epatch ${FILESDIR}/${P}-otherArch.patch
epatch ${FILESDIR}/${P}-gcc34.patch
# fixed 57691
epatch ${FILESDIR}/${P}-fix-java-check.patch
export WANT_AUTOMAKE=1.6
export WANT_AUTOCONF=2.5
touch INSTALL NEWS
aclocal -I m4 || die
automake # this will fail because of bad upstream Makefile.am
autoconf || die
libtoolize --copy --force
}
src_compile() {
econf \
`use_enable jack` || die "econf failed"
# -j2 fails. See bug #47978
emake -j1 || die "emake failed"
}
src_install () {
make DESTDIR="${D}" install || die
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
}
|