diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-03-12 02:33:19 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-03-12 02:33:19 +0000 |
commit | f5d6509c59559a26cf03eb49eae07c32a9fb6167 (patch) | |
tree | e462114b500f26a00777c3b93a513bf7234d1925 /dev-java/systray4j | |
parent | Initial Import. Closes #38352 (Manifest recommit) (diff) | |
download | gentoo-2-f5d6509c59559a26cf03eb49eae07c32a9fb6167.tar.gz gentoo-2-f5d6509c59559a26cf03eb49eae07c32a9fb6167.tar.bz2 gentoo-2-f5d6509c59559a26cf03eb49eae07c32a9fb6167.zip |
Initial Import. Closes #44331
Diffstat (limited to 'dev-java/systray4j')
-rw-r--r-- | dev-java/systray4j/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/systray4j/Manifest | 3 | ||||
-rw-r--r-- | dev-java/systray4j/files/digest-systray4j-2.4 | 1 | ||||
-rw-r--r-- | dev-java/systray4j/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/systray4j/systray4j-2.4.ebuild | 73 |
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-java/systray4j/ChangeLog b/dev-java/systray4j/ChangeLog new file mode 100644 index 000000000000..532b8af2428d --- /dev/null +++ b/dev-java/systray4j/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/systray4j +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/ChangeLog,v 1.1 2004/03/12 02:33:19 zx Exp $ + + 11 Mar 2004; Chris Aniszczyk <zx@gentoo.org> : + Initial Import. Thanks to Jeremy Huddleston <eradicator@gentoo.org> for the + initial ebuild. Closes #44331 + diff --git a/dev-java/systray4j/Manifest b/dev-java/systray4j/Manifest new file mode 100644 index 000000000000..18dbff0bef5c --- /dev/null +++ b/dev-java/systray4j/Manifest @@ -0,0 +1,3 @@ +MD5 e3b679df2e8d6fbc6cfd17df11fcf2ce systray4j-2.4.ebuild 1706 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 f0c65493b9e6f3dcf93ec6928696b856 files/digest-systray4j-2.4 74 diff --git a/dev-java/systray4j/files/digest-systray4j-2.4 b/dev-java/systray4j/files/digest-systray4j-2.4 new file mode 100644 index 000000000000..6aa35d537d79 --- /dev/null +++ b/dev-java/systray4j/files/digest-systray4j-2.4 @@ -0,0 +1 @@ +MD5 38a570ee7a4acf7a9b29f922d9213207 systray4j-2.4-kde3-src.tar.bz2 87216 diff --git a/dev-java/systray4j/metadata.xml b/dev-java/systray4j/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/systray4j/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> diff --git a/dev-java/systray4j/systray4j-2.4.ebuild b/dev-java/systray4j/systray4j-2.4.ebuild new file mode 100644 index 000000000000..1dfab753a7f5 --- /dev/null +++ b/dev-java/systray4j/systray4j-2.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/systray4j-2.4.ebuild,v 1.1 2004/03/12 02:33:19 zx Exp $ + +inherit kde java-pkg + +IUSE="jikes" + +DESCRIPTION="Library and daemon to give java applications access to the KDE tray" +HOMEPAGE="http://systray.sourceforge.net" +SRC_URI="mirror://sourceforge/systray/${P}-kde3-src.tar.bz2" +RESTRICT="nomirror" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +DEPEND="=kde-base/kdelibs-3* + dev-java/java-config + >=virtual/jdk-1.3 + jikes? ( >=dev-java/jikes-1.15 ) + sys-apps/sed" + +RDEPEND=">=virtual/jre-1.3" + +need-kde 3 + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + sed -i -e 's:^JDK_PATH = .*$:JDK_PATH = `java-config --jdk-home`:g' \ + -e 's:^QT3_PATH = .*$:QT3_PATH = $(QTDIR):g' \ + -e 's:^KDE3_PATH = .*$:KDE3_PATH = $(KDEDIR):g' \ + -e 's:-L/opt/kde3/lib:-L$(KDEDIR)/lib -L$(QTDIR)/lib:g' \ + ${S}/kde/Makefile || die "Could not edit Makefile" +} + +src_compile() { + cd ${S}/kde + emake || die "Failure compiling KDE daemon." + + mkdir ${S}/java/classes.gentoo + cd ${S}/java/sources + if use jikes; then + for source in `find . -name *.java`; do + jikes -d ${S}/java/classes.gentoo ${source} + done + else + for source in `find . -name *.java`; do + javac -d ${S}/java/classes.gentoo ${source} + done + fi + + cd ${S}/java/classes.gentoo + jar cvf systray4j.jar snoozesoft +} + +src_install() { + dodoc README TODO + + cd ${S}/java/classes.gentoo + java-pkg_dojar systray4j.jar + + cd ${S}/kde + dolib.so libsystray4j.so +} + +pkg_postinst() { + einfo "To test out this java class, run:" + einfo "$ java snoozesoft.systray4j.test.Controller" + einfo "Don't forget to put it in your CLASSPATH:" + einfo "java-config --add-system-classpath=${PN}" +} |