diff options
author | William Thomson <wltjr@gentoo.org> | 2008-03-25 17:43:16 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2008-03-25 17:43:16 +0000 |
commit | 20ab27ad8ed0c4670d5f6ebd2c51c96a639cc835 (patch) | |
tree | dfd727424f89cbd6979604f6439e15ce5b89da81 | |
parent | Version bump. (diff) | |
download | gentoo-2-20ab27ad8ed0c4670d5f6ebd2c51c96a639cc835.tar.gz gentoo-2-20ab27ad8ed0c4670d5f6ebd2c51c96a639cc835.tar.bz2 gentoo-2-20ab27ad8ed0c4670d5f6ebd2c51c96a639cc835.zip |
Initial ebuild for Frostwire, fork of Limewire. Based on ebuild from java-experimental overlay and limewire ebuilds. It's buggy and still needs work. Adding to tree for exposure and to mirror sources for upstream.
(Portage version: 2.1.4.1)
-rw-r--r-- | net-p2p/frostwire/ChangeLog | 12 | ||||
-rw-r--r-- | net-p2p/frostwire/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/frostwire/frostwire-4.13.5.ebuild | 134 | ||||
-rw-r--r-- | net-p2p/frostwire/metadata.xml | 17 |
4 files changed, 167 insertions, 0 deletions
diff --git a/net-p2p/frostwire/ChangeLog b/net-p2p/frostwire/ChangeLog new file mode 100644 index 000000000000..f6860d6738cd --- /dev/null +++ b/net-p2p/frostwire/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-p2p/frostwire +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/frostwire/ChangeLog,v 1.1 2008/03/25 17:43:16 wltjr Exp $ + +*frostwire-4.13.5 (25 Mar 2008) + + 25 Mar 2008; William L. Thomson Jr. <wltjr@gentoo.org> +metadata.xml, + +frostwire-4.13.5.ebuild: + Initial ebuild for Frostwire, fork of Limewire. Based on ebuild from + java-experimental overlay and limewire ebuilds. It's buggy and still needs + work. Adding to tree for exposure and to mirror sources for upstream. + diff --git a/net-p2p/frostwire/Manifest b/net-p2p/frostwire/Manifest new file mode 100644 index 000000000000..3c77b5c7ec24 --- /dev/null +++ b/net-p2p/frostwire/Manifest @@ -0,0 +1,4 @@ +DIST frostwire-4.13.5.src.tar.gz 11039597 RMD160 79f3dc3b62c15744a8994ec1b3c0ebbac62612e6 SHA1 b614cf50956c2cfa8e5d3da140d43d5d7ef06bdb SHA256 5c064e1beac7ecbd497d2da5a512b2513d4345857af48189801c1835799c47ab +EBUILD frostwire-4.13.5.ebuild 3496 RMD160 53b825bd4591547c48eb81a4b1c3504924afedab SHA1 7a5230bb9a504d33e307012cece9373b541f72a0 SHA256 07b9cc3a705c817cbb9785260b3ba7b6dd74ed1ec482cae6a997f6ab50533f34 +MISC ChangeLog 472 RMD160 48738ed5060afcb74723d22d022ea70a7bd7f3b5 SHA1 3224df328375902a10c5bb6fc954d03bca9fe0b1 SHA256 db3d92b0d96fe37f67b307e67f2f82cae821b6756c9cb968b1d620f56e13fde0 +MISC metadata.xml 633 RMD160 ea1cade2bb98528ca372c8d1642379b39c22fc26 SHA1 f8c8cd8de2e9a3890349986c0365bfc7c9c30a32 SHA256 ee190e71610d551ef9c21e0075e6046c23e50a904a8897f2c29803c0b7f48f1a diff --git a/net-p2p/frostwire/frostwire-4.13.5.ebuild b/net-p2p/frostwire/frostwire-4.13.5.ebuild new file mode 100644 index 000000000000..0e3a6c7b57b0 --- /dev/null +++ b/net-p2p/frostwire/frostwire-4.13.5.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/frostwire/frostwire-4.13.5.ebuild,v 1.1 2008/03/25 17:43:16 wltjr Exp $ + +JAVA_PKG_IUSE="source" + +#IUSE="gtk" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Frostwire Java Gnutella client" +HOMEPAGE="http://www.frostwire.com" +SRC_URI="http://www.frostwire.com/frostwire/${PV}/${P}.src.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# dev-java/commons-httpclient +# dev-java/commons-pool +COMMON_DEP=" + dev-java/commons-logging + dev-java/commons-net + dev-java/icu4j + dev-java/jgoodies-looks + dev-java/jmdns + dev-java/jython + dev-java/log4j + dev-java/xml-commons-external" + +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" + +RDEPEND=">=virtual/jre-1.5 + dev-java/asm + ${COMMON_DEP}" + +S="${WORKDIR}/${P}.src" + +PREFIX="/usr/share/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + +#Todo +# java-ant_rewrite-classpath + + find . '(' -name '*.bat' -o -name '*.exe' ')' -delete +# find ${S} '(' -name '*.class' -o -name '*.jar' ')' -print -delete + +# Tried to remove but seem to be required :( +# rm -fR lib/jars/osx lib/jars/windows + + cd lib/jars + rm -fR commons-logging.jar commons-net.jar \ + log4j.jar icu4j.jar jmdns.jar + +# Seems to want a modified version of commons-httpclient +# java-pkg_jar-from commons-httpclient + java-pkg_jar-from commons-logging + +# Seems to want a modified version of commons-pool +# java-pkg_jar-from commons-pool + java-pkg_jar-from commons-net + java-pkg_jar-from log4j + java-pkg_jar-from icu4j + java-pkg_jar-from jmdns + java-pkg_jar-from jgoodies-looks-1.2 + java-pkg_jar-from jython + +# bye bye hashes, crude but effective :) + cat /dev/null > "${S}/lib/jars/hashes" + +} + +src_compile() { + cd "${S}/core" + eant + cd "${S}/gui" + eant + eant FrostWireJar + + # Make themes.jar + cd "${S}/lib/themes" + sh makeThemesJar.sh + + # Make message bundles + cd "${S}/lib/native_encoded_messagebundles" + python create_iso88591_bundles.py + cd "${S}/lib/messagebundles" + jar -cfv MessagesBundles.jar resources totd xml *.properties +} + +src_install() { + java-pkg_dojar "${S}/gui/lib/FrostWire.jar" + java-pkg_dojar "${S}/lib/jars/other/themes.jar" + java-pkg_dojar "${S}/lib/jars/id3v2.jar" + java-pkg_dojar "${S}/lib/messagebundles/MessagesBundles.jar" + +# Install resources for Frostwire. Don't let the jars deceive ya :) +# These are directly required, not sure of source atm + insinto ${PREFIX} + doins "${S}/gui/xml.war" + doins "${S}/gui/update.ver" + doins "${S}/lib/messagebundles/MessagesBundle.properties" + cd "${D}/usr/share/${PN}" + ln -s lib/id3v2.jar + ln -s lib/MessagesBundles.jar + ln -s lib/themes.jar + +# Bundled jars, yeah I know throw up in your mouth some +# but registering them you say, only doing so for launcher + bjs="clink.jar daap.jar commons-httpclient.jar commons-pool.jar \ + jcraft.jar jdic.jar jl011.jar mp3sp14.jar ProgressTabs.jar \ + tritonus.jar vorbis.jar linux/jdic_stub.jar ../i18nData/data/built/i18n.jar" + for bj in ${bjs} ; do + java-pkg_dojar "${S}/lib/jars/${bj}" + done + + touch "${D}/${PREFIX}/hashes" + + java-pkg_dolauncher ${PN} \ + --main com.limegroup.gnutella.gui.Main \ + --java_args "-Xms64m -Xmx128m -ea -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog" \ + --pwd /usr/share/${PN} + + sizes="16x16 32x32 48x48 64x64" + for size in ${sizes} ; do + insinto /usr/share/icons/hicolor/${size}/apps + doins "${S}/lib/icons/hicolor/${size}/apps/${PN}.png" + done + + make_desktop_entry frostwire FrostWire +} diff --git a/net-p2p/frostwire/metadata.xml b/net-p2p/frostwire/metadata.xml new file mode 100644 index 000000000000..04e0acb8658b --- /dev/null +++ b/net-p2p/frostwire/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + + <herd>net-p2p</herd> + + <longdescription> + FrostWire is a file sharing program running on the Gnutella Network. + It is open source software running on an open protocol, free for + all to use. FrostWire allows you to share any file such as + .mp3s, .avis, .jpgs, .tiffs, etc. Frostwire is written in Java, and + will run on Windows, Macintosh, Linux, Sun, and other computing + platforms. Publish your original content to the world without + setting up a website! + </longdescription> + +</pkgmetadata> |