summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-05-15 08:47:43 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-05-15 08:47:43 +0000
commit07732be3fcf905263dbf702846d995aca16541d3 (patch)
tree2bdb783968c72ac2fec371ca442869f59f64679d /dev-java/jmf
parentInitial import. (diff)
downloadgentoo-2-07732be3fcf905263dbf702846d995aca16541d3.tar.gz
gentoo-2-07732be3fcf905263dbf702846d995aca16541d3.tar.bz2
gentoo-2-07732be3fcf905263dbf702846d995aca16541d3.zip
Initial import.
Diffstat (limited to 'dev-java/jmf')
-rw-r--r--dev-java/jmf/ChangeLog10
-rw-r--r--dev-java/jmf/Manifest11
-rw-r--r--dev-java/jmf/files/digest-jmf-2.1.1e0
-rw-r--r--dev-java/jmf/files/jmfcustomizer31
-rw-r--r--dev-java/jmf/files/jmfinit31
-rw-r--r--dev-java/jmf/files/jmfregistry31
-rw-r--r--dev-java/jmf/files/jmstudio31
-rw-r--r--dev-java/jmf/jmf-2.1.1e.ebuild52
8 files changed, 192 insertions, 5 deletions
diff --git a/dev-java/jmf/ChangeLog b/dev-java/jmf/ChangeLog
new file mode 100644
index 000000000000..95091203d508
--- /dev/null
+++ b/dev-java/jmf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jmf
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/ChangeLog,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+*jmf-2.1.1e (15 May 2003)
+
+ 15 May 2003; Dylan Carlson <absinthe@gentoo.org> jmf-2.1.1e.ebuild,
+ files/jmfcustomizer, files/jmfinit, files/jmfregistry, files/jmstudio:
+ Initial import.
+
diff --git a/dev-java/jmf/Manifest b/dev-java/jmf/Manifest
index 7f5497d47d71..34027ebd44f1 100644
--- a/dev-java/jmf/Manifest
+++ b/dev-java/jmf/Manifest
@@ -1,6 +1,7 @@
-MD5 7704c1db375f74fc2291768b48720952 jmf-2.1.1e.ebuild 1447
-MD5 6458cc1df3419d71d5e7f5609e732874 files/jmfinit 802
+MD5 8e084a3696abc2387dc03b89846dbe8f jmf-2.1.1e.ebuild 1448
+MD5 6e2b18cd7baa458f613cb9de1ab06e1b ChangeLog 397
+MD5 cd84b12c8f5ba2e29627baea8699d4ba files/jmfinit 798
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jmf-2.1.1e 0
-MD5 a0b29891475c30792b625ba3efb08217 files/jmfcustomizer 814
-MD5 ef38e7b4a8464e9bc4e5f93185d7a2a2 files/jmstudio 804
-MD5 555c4d9a39b6509e7ab5a523c054e3e2 files/jmfregistry 810
+MD5 aeb420c1999488e085022067dd93d655 files/jmfcustomizer 816
+MD5 b7bce5dad8530a3e4bb41b5aef2244f5 files/jmstudio 801
+MD5 4e74bc5d29b11c11a997a33ca9d42954 files/jmfregistry 810
diff --git a/dev-java/jmf/files/digest-jmf-2.1.1e b/dev-java/jmf/files/digest-jmf-2.1.1e
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/jmf/files/digest-jmf-2.1.1e
diff --git a/dev-java/jmf/files/jmfcustomizer b/dev-java/jmf/files/jmfcustomizer
new file mode 100644
index 000000000000..8180f7cb5bca
--- /dev/null
+++ b/dev-java/jmf/files/jmfcustomizer
@@ -0,0 +1,31 @@
+#!/bin/sh
+# jmfcustomizer
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/files/jmfcustomizer,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="`/usr/bin/java-config --classpath=jmf`:${CLASSPATH}"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+exec ${JAVA_HOME}/bin/java JMFCustomizer $*
diff --git a/dev-java/jmf/files/jmfinit b/dev-java/jmf/files/jmfinit
new file mode 100644
index 000000000000..6cbf0c90298a
--- /dev/null
+++ b/dev-java/jmf/files/jmfinit
@@ -0,0 +1,31 @@
+#!/bin/sh
+# jmfinit
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/files/jmfinit,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="`/usr/bin/java-config --classpath=jmf`:${CLASSPATH}"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+exec ${JAVA_HOME}/bin/java JMFInit $*
diff --git a/dev-java/jmf/files/jmfregistry b/dev-java/jmf/files/jmfregistry
new file mode 100644
index 000000000000..94f9e751ce0b
--- /dev/null
+++ b/dev-java/jmf/files/jmfregistry
@@ -0,0 +1,31 @@
+#!/bin/sh
+# jmfregistry
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/files/jmfregistry,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="`/usr/bin/java-config --classpath=jmf`:${CLASSPATH}"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+exec ${JAVA_HOME}/bin/java JMFRegistry $*
diff --git a/dev-java/jmf/files/jmstudio b/dev-java/jmf/files/jmstudio
new file mode 100644
index 000000000000..2abe39408987
--- /dev/null
+++ b/dev-java/jmf/files/jmstudio
@@ -0,0 +1,31 @@
+#!/bin/sh
+# jmstudio
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/files/jmstudio,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="`/usr/bin/java-config --classpath=jmf`:${CLASSPATH}"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+exec ${JAVA_HOME}/bin/java JMStudio $*
diff --git a/dev-java/jmf/jmf-2.1.1e.ebuild b/dev-java/jmf/jmf-2.1.1e.ebuild
new file mode 100644
index 000000000000..e0454137a08e
--- /dev/null
+++ b/dev-java/jmf/jmf-2.1.1e.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf/jmf-2.1.1e.ebuild,v 1.1 2003/05/15 08:47:40 absinthe Exp $
+
+inherit java-pkg
+
+At="${PN}-2_1_1e-alljava.zip"
+S=${WORKDIR}/JMF-2.1.1e
+DESCRIPTION="The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to Java applications and applets."
+SRC_URI=""
+HOMEPAGE="http://java.sun.com/products/java-media/jmf/"
+KEYWORDS="x86 ppc sparc alpha mips hppa arm"
+LICENSE="sun-bcla"
+SLOT="0"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.4"
+
+src_unpack() {
+ if [ ! -f "${DISTDIR}/${At}" ] ; then
+ echo " "
+ echo "!!! Missing ${DISTDIR}/${At}"
+ echo " "
+ einfo " "
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo " "
+ einfo " 1. Visit ${HOMEPAGE} and select 'Cross Platform Java'"
+ einfo " 2. Download ${At}"
+ einfo " 3. Move file to ${DISTDIR}"
+ einfo " 4. Run emerge on this package again to complete"
+ einfo " "
+ die "User must manually download distfile"
+ fi
+ unzip -qq ${DISTDIR}/${At}
+}
+
+src_compile() {
+ einfo " This is a binary-only ebuild."
+}
+
+src_install() {
+ dobin \
+ ${FILESDIR}/jmfcustomizer \
+ ${FILESDIR}/jmfinit \
+ ${FILESDIR}/jmfregistry \
+ ${FILESDIR}/jmstudio
+ dohtml ${S}/doc/*.html
+ java-pkg_dojar ${S}/lib/*.jar
+ insinto /usr/share/${PN}/lib
+ doins lib/jmf.properties
+}
+