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 | 655916d484bbd2c79b267b6ef8c3c96544f99018 (patch) | |
tree | bb96ae660fc378c45badc234df3761078b31517c /dev-java/jmf-bin | |
parent | move dev-java/jmf dev-java/jmf-bin (diff) | |
download | historical-655916d484bbd2c79b267b6ef8c3c96544f99018.tar.gz historical-655916d484bbd2c79b267b6ef8c3c96544f99018.tar.bz2 historical-655916d484bbd2c79b267b6ef8c3c96544f99018.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/Manifest | 18 | ||||
-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 |
9 files changed, 246 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/Manifest b/dev-java/jmf-bin/Manifest new file mode 100644 index 000000000000..101439f871b5 --- /dev/null +++ b/dev-java/jmf-bin/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 d5f379a7b909e61aad0147a86f4ade74 jmf-bin-2.1.1e.ebuild 1833 +MD5 7f98a23ae3b511901df4e1a6aa73446a ChangeLog 1112 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 769dfe741e050d995df3dfbaf727215b files/jmfinit 797 +MD5 678f7b98802fb9e65fe314f9ac260b07 files/jmfcustomizer 815 +MD5 0a44b6657e3b6fd4802c64fd2c352a88 files/jmstudio 800 +MD5 f6359655e62cd3f2b2b0310fa77df2ef files/jmfregistry 809 +MD5 ac10f570840222bc9e1815908fe02b4a files/digest-jmf-bin-2.1.1e 68 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.4 (GNU/Linux) + +iD8DBQFBCrU0/rLF9B432nYRAp73AJ9IYWIdE8LUE/Tgc0arQqdt9OTqTgCgqiep +NbMP42nQEfj0g+GDf9PUVxw= +=RjZ2 +-----END PGP SIGNATURE----- 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> |