# ChangeLog for media-video/jahshaka
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/jahshaka/ChangeLog,v 1.2 2004/09/03 01:01:14 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/jahshaka/ChangeLog,v 1.3 2004/11/10 13:29:02 zypher Exp $
+
+* jahshaka-1.9_alpha8.5 (08 Nov 2004)
+ 10 Nov 2004; Marc Hildebrand <zypher@gentoo.org> jahshaka-1.9_alpha85.ebuild:
+ Version bump.
03 Sep 2004; David Holm <dholm@gentoo.org> jahshaka-1.9_alpha5.ebuild:
Added to ~ppc.
-MD5 5a6733b71a4399af9cf75c381719c209 ChangeLog 524
-MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 8b2250db8257c6aeed7baeee9b525593 ChangeLog 660
MD5 809abae1ca35640ceb66f0f4a7c1533d jahshaka-1.9_alpha5.ebuild 1963
+MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
+MD5 abe46b34cd96505bb27ff96a5a3dbfb9 jahshaka-1.9_alpha85.ebuild 1930
+MD5 5e76200b1a1f5a51c08a49655b89880f files/digest-jahshaka-1.9_alpha85 69
MD5 eccbf141ba80b57f8127d38e4fcda2ec files/FT_Open_Flags.patch 489
MD5 313d2b2cfddddf54563e829bb1ffc688 files/digest-jahshaka-1.9_alpha5 67
MD5 c3cb7840c08ef0ced53f6b8d58442449 files/ftgl.h.patch 793
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBkhjNRPjscZbntocRAltaAJ0Q4ULTQkNBhg0TdJrYV9PUIpN0MQCfQyz8
+j2ZfiRtT7F5fw8PuDOm7d0Q=
+=Btjs
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/jahshaka/jahshaka-1.9_alpha85.ebuild,v 1.1 2004/11/10 13:29:02 zypher Exp $
+
+inherit eutils
+
+MY_P="${P/'-1.9_alpha8'/_1.9a8.}"
+DESCRIPTION="The worlds first OpenSource Realtime Editing and Effects System."
+HOMEPAGE="http://www.jahshaka.com"
+SRC_URI="http://www.jahshaka.com/downloads/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+IUSE=""
+
+DEPEND="virtual/x11
+ >=media-libs/glut-3.7.1
+ >=media-libs/freetype-2.1.4
+ >=x11-libs/qt-3"
+
+RDEPEND=${DEPEND}
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ einfo "Patcheing plugins.pro"
+ sed -e '/jitplugins/a csplugins \\' -i ${S}/plugins/plugins.pro
+}
+
+cflags_replacement() {
+ sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS} -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT:" -i $*
+ sed -e "s:^CXXFLAGS.*:CXXFLAGS = ${CXXFLAGS} -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT:" -i $*
+}
+
+src_compile() {
+ ./configure || die "configure failed"
+ make qmake_all || die "could not create the temaplate makefiles"
+ for Makefiles in $(grep -r -l '^CFLAGS' ${S}/*)
+ do
+ einfo "Patching "${Makefiles}
+ cflags_replacement ${Makefiles}
+ done
+ make || die
+}
+
+src_install() {
+
+ cd ${S}
+
+ # They do no harm but we don't like 'CVS' dirs in every subdir
+ for i in $(ls -la -R * | grep CVS | grep / | cut -f1 -d:)
+ do
+ rm -rf ${i}
+ done
+
+ local dirs="Pixmaps database docs fonts media scenes utils"
+ dodir /opt/${PN}
+ for i in $dirs ; do
+ cp -a ${i} ${D}/opt/${PN}/
+ done
+
+ dodir /opt/${PN}/plugins
+ local dirs="csplugins jfxplugins jitplugins rfxplugins ftplugins"
+ for i in $dirs ; do
+ dodir /opt/${PN}/plugins/${i}
+ cp -a ${S}/plugins/${i}/*.so ${D}/opt/${PN}/plugins/${i}/
+ done
+
+ cp -a jahshaka ${D}/opt/${PN}/
+
+ ln -s ${D}/opt/${PN}/jahshaka ${D}/usr/bin/jahshaka
+
+ dodoc README AUTHORS TODO
+}