diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-07-30 20:54:59 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-07-30 20:54:59 +0000 |
commit | 32b2c81bfc8f756886b88fb49a546451d7a83b48 (patch) | |
tree | 4c90c2dc5488930a93856d250569e824d193fe17 /dev-java/jmf-bin | |
parent | move dev-java/jmf dev-java/jmf-bin (Manifest recommit) (diff) | |
download | gentoo-2-32b2c81bfc8f756886b88fb49a546451d7a83b48.tar.gz gentoo-2-32b2c81bfc8f756886b88fb49a546451d7a83b48.tar.bz2 gentoo-2-32b2c81bfc8f756886b88fb49a546451d7a83b48.zip |
move dev-java/jmf dev-java/jmf-bin
Diffstat (limited to 'dev-java/jmf-bin')
-rw-r--r-- | dev-java/jmf-bin/ChangeLog | 33 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/digest-jmf-bin-2.1.1e | 1 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfcustomizer | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfinit | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfregistry | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmstudio | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/jmf-bin-2.1.1e.ebuild | 65 | ||||
-rw-r--r-- | dev-java/jmf-bin/metadata.xml | 5 |
8 files changed, 228 insertions, 0 deletions
diff --git a/dev-java/jmf-bin/ChangeLog b/dev-java/jmf-bin/ChangeLog new file mode 100644 index 000000000000..b2d879fe2504 --- /dev/null +++ b/dev-java/jmf-bin/ChangeLog @@ -0,0 +1,33 @@ +# ChangeLog for dev-java/jmf +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/ChangeLog,v 1.1 2004/07/30 20:51:22 axxo Exp $ + +*jmf-bin-2.1.1e (30 Jul 2004) + + 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/jmfcustomizer, +files/jmfinit, +files/jmfregistry, +files/jmstudio, + +jmf-bin-2.1.1e.ebuild: + move dev-java/jmf dev-java/jmf-bin + + 05 May 2004; <SeJo@gentoo.org> jmf-2.1.1e.ebuild: + added ~ppc keyword + + 23 Mar 2004; David Holm <dholm@gentoo.org> jmf-2.1.1e.ebuild: + Backed out of ~ppc. + + 22 Mar 2004; David Holm <dholm@gentoo.org> jmf-2.1.1e.ebuild: + Added to ~ppc. + + 20 Jan 2004; Adrian Almenar <strider@gentoo.org> jmf-2.1.1e.ebuild: + Removed alpha mips hppa arm ppc, added amd64. RESTRICT="fetch" added, + Digest fixed. + + 24 May 2003; Dylan Carlson <absinthe@gentoo.org> jmf-2.1.1e.ebuild: + License fix. + +*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-bin/files/digest-jmf-bin-2.1.1e b/dev-java/jmf-bin/files/digest-jmf-bin-2.1.1e new file mode 100644 index 000000000000..2a230e8d3ed8 --- /dev/null +++ b/dev-java/jmf-bin/files/digest-jmf-bin-2.1.1e @@ -0,0 +1 @@ +MD5 5dafc2469b22d18420ada45972a88ec0 jmf-2_1_1e-alljava.zip 1959196 diff --git a/dev-java/jmf-bin/files/jmfcustomizer b/dev-java/jmf-bin/files/jmfcustomizer new file mode 100644 index 000000000000..94f684f5e8f7 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfcustomizer @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfcustomizer +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/files/jmfcustomizer,v 1.1 2004/07/30 20:51:22 axxo 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-bin/files/jmfinit b/dev-java/jmf-bin/files/jmfinit new file mode 100644 index 000000000000..e51d92a6d8c6 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfinit @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfinit +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/files/jmfinit,v 1.1 2004/07/30 20:51:22 axxo 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-bin/files/jmfregistry b/dev-java/jmf-bin/files/jmfregistry new file mode 100644 index 000000000000..af33425f4bf6 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfregistry @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfregistry +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/files/jmfregistry,v 1.1 2004/07/30 20:51:22 axxo 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-bin/files/jmstudio b/dev-java/jmf-bin/files/jmstudio new file mode 100644 index 000000000000..4f8d144bbcd4 --- /dev/null +++ b/dev-java/jmf-bin/files/jmstudio @@ -0,0 +1,31 @@ +#!/bin/sh +# jmstudio +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/files/jmstudio,v 1.1 2004/07/30 20:51:22 axxo 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-bin/jmf-bin-2.1.1e.ebuild b/dev-java/jmf-bin/jmf-bin-2.1.1e.ebuild new file mode 100644 index 000000000000..bcdf3b075ed3 --- /dev/null +++ b/dev-java/jmf-bin/jmf-bin-2.1.1e.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jmf-bin/jmf-bin-2.1.1e.ebuild,v 1.1 2004/07/30 20:51:22 axxo Exp $ + +inherit java-pkg + +At="${PN/-bin}-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="${At}" +HOMEPAGE="http://java.sun.com/products/java-media/jmf/" +KEYWORDS="x86 sparc amd64 ~ppc" +IUSE="" +LICENSE="sun-bcla-jmf" +SLOT="0" +DEPEND=">=app-arch/unzip-5.50-r1" +RDEPEND=">=virtual/jdk-1.4" +RESTRICT="fetch" + +pkg_nofetch() { + 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 " " +} + +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/-bin}/lib + doins lib/jmf.properties +} diff --git a/dev-java/jmf-bin/metadata.xml b/dev-java/jmf-bin/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/jmf-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |