diff options
author | Johannes Huber <johu@gentoo.org> | 2012-02-07 23:09:36 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2012-02-07 23:09:36 +0000 |
commit | 76bdfc9217f97fdbae79f9a2bc0af33940d03b94 (patch) | |
tree | 7e0dd7456f9648acb891173b63fd03f68eefd373 /media-tv/tvbrowser | |
parent | Remove myself as maintainer. (diff) | |
download | gentoo-2-76bdfc9217f97fdbae79f9a2bc0af33940d03b94.tar.gz gentoo-2-76bdfc9217f97fdbae79f9a2bc0af33940d03b94.tar.bz2 gentoo-2-76bdfc9217f97fdbae79f9a2bc0af33940d03b94.zip |
Version bump wrt bug #313053. Initial ebuild by Robert Schedel <r.schedel@yahoo.de>, changed by me. Fixes bug #298664 too. Punt jurassic versions.
(Portage version: 2.2.0_alpha85/cvs/Linux i686)
Diffstat (limited to 'media-tv/tvbrowser')
-rw-r--r-- | media-tv/tvbrowser/ChangeLog | 10 | ||||
-rw-r--r-- | media-tv/tvbrowser/tvbrowser-2.7.1.ebuild | 185 | ||||
-rw-r--r-- | media-tv/tvbrowser/tvbrowser-2.7.4.ebuild | 185 | ||||
-rw-r--r-- | media-tv/tvbrowser/tvbrowser-3.1.ebuild | 204 |
4 files changed, 213 insertions, 371 deletions
diff --git a/media-tv/tvbrowser/ChangeLog b/media-tv/tvbrowser/ChangeLog index 4fdc880285f3..20547327875a 100644 --- a/media-tv/tvbrowser/ChangeLog +++ b/media-tv/tvbrowser/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-tv/tvbrowser # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.32 2012/01/27 17:01:39 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.33 2012/02/07 23:09:36 johu Exp $ + +*tvbrowser-3.1 (07 Feb 2012) + + 07 Feb 2012; Johannes Huber <johu@gentoo.org> +tvbrowser-3.1.ebuild, + -tvbrowser-2.7.1.ebuild, -tvbrowser-2.7.4.ebuild: + Version bump wrt bug #313053. Initial ebuild by Robert Schedel + <r.schedel@yahoo.de>, changed by me. Fixes bug #298664 too. Punt jurassic + versions. 27 Jan 2012; Johannes Huber <johu@gentoo.org> metadata.xml: Take package over. Remove proxy maintainer and add myself. diff --git a/media-tv/tvbrowser/tvbrowser-2.7.1.ebuild b/media-tv/tvbrowser/tvbrowser-2.7.1.ebuild deleted file mode 100644 index bb191317e6c3..000000000000 --- a/media-tv/tvbrowser/tvbrowser-2.7.1.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/tvbrowser-2.7.1.ebuild,v 1.3 2009/11/16 10:24:48 zzam Exp $ - -JAVA_PKG_IUSE="doc source" -#WANT_ANT_TASKS="ant-junit" - -EAPI="1" - -inherit eutils java-pkg-2 java-ant-2 flag-o-matic - -DESCRIPTION="Themeable and easy to use TV Guide - written in Java" -HOMEPAGE="http://www.tvbrowser.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip -themes? ( -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/midnightthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBrownthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueGreenthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueTurquesathemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gorillathemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/BeOSthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/crystal2themepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSDeepthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/chaNinja-Bluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/amarachthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/quickSilverRthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gfxOasisthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/underlingthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/coronaHthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/cougarthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/royalInspiratthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/mmMagra-Xthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/iBarthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/solunaRthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/fatalEthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueMetalthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumithemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumiErgothempack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/oliveGreenLunaXPthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/silverLunaXPthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectOlivethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPMonoBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerGraphitethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSOlivethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusLunaSilverthemepack.zip -http://www.tvbrowser.org/downloads/CrystalClear.zip -http://www.tvbrowser.org/downloads/noia.zip -http://www.tvbrowser.org/downloads/nuvola.zip -http://www.tvbrowser.org/downloads/tulliana.zip -)" - -SLOT="0" -KEYWORDS="~x86 ~amd64" - -COMMON_DEP="x11-libs/libXt - x11-libs/libSM - x11-libs/libICE - x11-libs/libXext - x11-libs/libXtst - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - >=dev-java/jgoodies-looks-2.0 - >=dev-java/stax-1.2.0 - dev-java/bsh - dev-java/l2fprod-common - >=dev-java/jakarta-oro-2.0 - dev-java/skinlf - >=dev-java/commons-codec-1.3 - >=dev-java/commons-net-1.4.1 - >=dev-java/commons-lang-2.4 - dev-java/lucene:2.3" -DEPEND=">=virtual/jdk-1.5 - app-arch/unzip - ${COMMON_DEP}" -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEP}" - -LICENSE="GPL-2" - -IUSE="themes" - -src_unpack() { - unpack ${P}-src.zip - cd "${S}" - - # now that's a rather nasty trick that removes exactly the lines that unjar - # dependencies and include them to tvbrowser's jars - # when bumping, check that it doesn't affect lines it shouldn't! - sed "/unpacked.dir/d" -i build.xml || die - - # disable running of junit tests, because tvbrowserdataservice.file.ChannelListTest fails always - sed -i "${S}"/build.xml -e"s:, test: :" - - cd "${S}"/lib || die - rm -v commons-net*.jar commons-lang-*.jar looks*.jar \ - bsh*.jar l2fprod-common-tasks.jar jakarta-oro*.jar skinlf.jar \ - commons-codec*.jar lucene-core-*.jar stax-*.jar || die - - # missing dependencies commons-compress, TVAnytimeAPI, jRegistryKey, gdata-calendar, - # gdata-client, jcom, xtvd-lib, jgoodies-forms-1.2.0, opencsv and stax-api - # use local jar files for these, and also those in deployment - # some are win32/mac only, so we will let tvbrowser build against them (no need to patch stuff out of sources) - # but won't install the bundled jars, because their codepath won't be executed on linux anyway - java-pkg_jar-from commons-lang-2.1,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax - - # Fails to create javadocs without this - mkdir "${S}/public" || die -} - -src_compile() { - eant runtime-linux $(use_doc public-doc) -} - -src_install() { - use source && java-pkg_dosrc src/* - use doc && java-pkg_dojavadoc doc - cd runtime/${PN}_linux || die - - java-pkg_dojar ${PN}.jar - java-pkg_dojar "${S}"/lib/{TVAnytimeAPI.jar,commons-compress-20050911.jar,gdata-calendar-1.0.jar,gdata-client-1.0.jar,gdata-core-1.0.jar,xtvd-lib-2.0.jar,forms-1.2.0.jar,opencsv-1.8.jar} - - local todir="${JAVA_PKG_SHAREPATH}" - - cp -a imgs "${D}/${todir}" || die - cp -a icons "${D}/${todir}" || die - cp -a plugins "${D}/${todir}" || die - cp linux.properties "${D}/${todir}" || die - - insinto "${todir}/themepacks" - doins themepacks/themepack.zip || die - - if use themes; then - cd "${DISTDIR}" - doins midnightthemepack.zip \ - roueBrownthemepack.zip \ - roueBluethemepack.zip \ - roueGreenthemepack.zip \ - blueTurquesathemepack.zip \ - gorillathemepack.zip \ - BeOSthemepack.zip \ - crystal2themepack.zip \ - opusOSDeepthemepack.zip \ - chaNinja-Bluethemepack.zip \ - amarachthemepack.zip \ - quickSilverRthemepack.zip \ - gfxOasisthemepack.zip \ - underlingthemepack.zip \ - coronaHthemepack.zip \ - cougarthemepack.zip \ - royalInspiratthemepack.zip \ - tigerthemepack.zip \ - mmMagra-Xthemepack.zip \ - iBarthemepack.zip \ - solunaRthemepack.zip \ - fatalEthemepack.zip \ - blueMetalthemepack.zip \ - b0sumithemepack.zip \ - b0sumiErgothempack.zip \ - oliveGreenLunaXPthemepack.zip \ - silverLunaXPthemepack.zip \ - architectBluethemepack.zip \ - architectOlivethemepack.zip \ - hmmXPBluethemepack.zip \ - hmmXPMonoBluethemepack.zip \ - tigerGraphitethemepack.zip \ - opusOSBluethemepack.zip \ - opusOSOlivethemepack.zip \ - opusLunaSilverthemepack.zip || die - insinto "${todir}/icons" - doins CrystalClear.zip noia.zip nuvola.zip tulliana.zip || die - fi - - java-pkg_dolauncher "tvbrowser" \ - --main tvbrowser.TVBrowser \ - --pwd ${todir} \ - --java_args " -Dpropertiesfile=${todir}/linux.properties" - - make_desktop_entry ${PN} "TV Browser" /usr/share/tvbrowser/imgs/tvbrowser128.png -} diff --git a/media-tv/tvbrowser/tvbrowser-2.7.4.ebuild b/media-tv/tvbrowser/tvbrowser-2.7.4.ebuild deleted file mode 100644 index f45e3dd1054a..000000000000 --- a/media-tv/tvbrowser/tvbrowser-2.7.4.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/tvbrowser-2.7.4.ebuild,v 1.1 2009/11/16 10:05:00 zzam Exp $ - -JAVA_PKG_IUSE="doc source" -#WANT_ANT_TASKS="ant-junit" - -EAPI="1" - -inherit eutils java-pkg-2 java-ant-2 flag-o-matic - -DESCRIPTION="Themeable and easy to use TV Guide - written in Java" -HOMEPAGE="http://www.tvbrowser.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip -themes? ( -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/midnightthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBrownthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueGreenthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueTurquesathemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gorillathemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/BeOSthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/crystal2themepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSDeepthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/chaNinja-Bluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/amarachthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/quickSilverRthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gfxOasisthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/underlingthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/coronaHthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/cougarthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/royalInspiratthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/mmMagra-Xthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/iBarthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/solunaRthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/fatalEthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueMetalthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumithemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumiErgothempack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/oliveGreenLunaXPthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/silverLunaXPthemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectOlivethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPMonoBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerGraphitethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSBluethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSOlivethemepack.zip -http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusLunaSilverthemepack.zip -http://www.tvbrowser.org/downloads/CrystalClear.zip -http://www.tvbrowser.org/downloads/noia.zip -http://www.tvbrowser.org/downloads/nuvola.zip -http://www.tvbrowser.org/downloads/tulliana.zip -)" - -SLOT="0" -KEYWORDS="~x86 ~amd64" - -COMMON_DEP="x11-libs/libXt - x11-libs/libSM - x11-libs/libICE - x11-libs/libXext - x11-libs/libXtst - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - >=dev-java/jgoodies-looks-2.0 - >=dev-java/stax-1.2.0 - dev-java/bsh - dev-java/l2fprod-common - >=dev-java/jakarta-oro-2.0 - dev-java/skinlf - >=dev-java/commons-codec-1.3 - >=dev-java/commons-net-1.4.1 - >=dev-java/commons-lang-2.4 - dev-java/lucene:2.3" -DEPEND=">=virtual/jdk-1.5 - app-arch/unzip - ${COMMON_DEP}" -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEP}" - -LICENSE="GPL-2" - -IUSE="themes" - -src_unpack() { - unpack ${P}-src.zip - cd "${S}" - - # now that's a rather nasty trick that removes exactly the lines that unjar - # dependencies and include them to tvbrowser's jars - # when bumping, check that it doesn't affect lines it shouldn't! - sed "/unpacked.dir/d" -i build.xml || die - - # disable running of junit tests, because tvbrowserdataservice.file.ChannelListTest fails always - sed -i "${S}"/build.xml -e"s:, test: :" - - cd "${S}"/lib || die - rm -v commons-net*.jar commons-lang-*.jar looks*.jar \ - bsh*.jar l2fprod-common-tasks.jar jakarta-oro*.jar skinlf.jar \ - commons-codec*.jar lucene-core-*.jar stax-*.jar || die - - # missing dependencies commons-compress, TVAnytimeAPI, jRegistryKey, gdata-calendar, - # gdata-client, jcom, xtvd-lib, jgoodies-forms-1.2.0, opencsv and stax-api - # use local jar files for these, and also those in deployment - # some are win32/mac only, so we will let tvbrowser build against them (no need to patch stuff out of sources) - # but won't install the bundled jars, because their codepath won't be executed on linux anyway - java-pkg_jar-from commons-lang-2.1,commons-net,commons-codec,lucene-2.3,jgoodies-looks-2.0,bsh,l2fprod-common,skinlf,stax - - # Fails to create javadocs without this - mkdir "${S}/public" || die -} - -src_compile() { - eant runtime-linux $(use_doc public-doc) -} - -src_install() { - use source && java-pkg_dosrc src/* - use doc && java-pkg_dojavadoc doc - cd runtime/${PN}_linux || die - - java-pkg_dojar ${PN}.jar - java-pkg_dojar "${S}"/lib/{TVAnytimeAPI.jar,commons-compress-20050911.jar,gdata-calendar-1.0.jar,gdata-client-1.0.jar,gdata-core-1.0.jar,xtvd-lib-2.0.jar,forms-1.2.0.jar,opencsv-1.8.jar} - - local todir="${JAVA_PKG_SHAREPATH}" - - cp -a imgs "${D}/${todir}" || die - cp -a icons "${D}/${todir}" || die - cp -a plugins "${D}/${todir}" || die - cp linux.properties "${D}/${todir}" || die - - insinto "${todir}/themepacks" - doins themepacks/themepack.zip || die - - if use themes; then - cd "${DISTDIR}" - doins midnightthemepack.zip \ - roueBrownthemepack.zip \ - roueBluethemepack.zip \ - roueGreenthemepack.zip \ - blueTurquesathemepack.zip \ - gorillathemepack.zip \ - BeOSthemepack.zip \ - crystal2themepack.zip \ - opusOSDeepthemepack.zip \ - chaNinja-Bluethemepack.zip \ - amarachthemepack.zip \ - quickSilverRthemepack.zip \ - gfxOasisthemepack.zip \ - underlingthemepack.zip \ - coronaHthemepack.zip \ - cougarthemepack.zip \ - royalInspiratthemepack.zip \ - tigerthemepack.zip \ - mmMagra-Xthemepack.zip \ - iBarthemepack.zip \ - solunaRthemepack.zip \ - fatalEthemepack.zip \ - blueMetalthemepack.zip \ - b0sumithemepack.zip \ - b0sumiErgothempack.zip \ - oliveGreenLunaXPthemepack.zip \ - silverLunaXPthemepack.zip \ - architectBluethemepack.zip \ - architectOlivethemepack.zip \ - hmmXPBluethemepack.zip \ - hmmXPMonoBluethemepack.zip \ - tigerGraphitethemepack.zip \ - opusOSBluethemepack.zip \ - opusOSOlivethemepack.zip \ - opusLunaSilverthemepack.zip || die - insinto "${todir}/icons" - doins CrystalClear.zip noia.zip nuvola.zip tulliana.zip || die - fi - - java-pkg_dolauncher "tvbrowser" \ - --main tvbrowser.TVBrowser \ - --pwd ${todir} \ - --java_args " -Dpropertiesfile=${todir}/linux.properties" - - make_desktop_entry ${PN} "TV Browser" /usr/share/tvbrowser/imgs/tvbrowser128.png -} diff --git a/media-tv/tvbrowser/tvbrowser-3.1.ebuild b/media-tv/tvbrowser/tvbrowser-3.1.ebuild new file mode 100644 index 000000000000..bcd5456dc4bf --- /dev/null +++ b/media-tv/tvbrowser/tvbrowser-3.1.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/tvbrowser-3.1.ebuild,v 1.1 2012/02/07 23:09:36 johu Exp $ + +JAVA_PKG_IUSE="doc source test" + +EAPI=4 + +inherit eutils java-pkg-2 java-ant-2 flag-o-matic + +DESCRIPTION="Themeable and easy to use TV Guide - written in Java" +HOMEPAGE="http://www.tvbrowser.org/" +SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip + +themes? ( + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/BeOSthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/amarachthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/aquathemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/architectBluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/architectOlivethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/b0sumiErgothempack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/b0sumithemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/bbjthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/beigeazulthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/beosthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/blueMetalthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/blueTurquesathemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/cellshadedthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/chaNinja-Bluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/coronaHthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/cougarthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/crystal2themepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/fatalEthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/gfxOasisthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/gorillathemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/hmmXPBluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/hmmXPMonoBluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/iBarthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/macosthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/midnightthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/mmMagra-Xthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/modernthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/oliveGreenLunaXPthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusLunaSilverthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSBluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSDeepthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/opusOSOlivethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/quickSilverRthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueBluethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueBrownthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/roueGreenthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/royalInspiratthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/silverLunaXPthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/solunaRthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/tigerGraphitethemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/tigerthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/toxicthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/underlingthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/whistlerthemepack.zip + http://javootoo.l2fprod.com/plaf/skinlf/themepacks/xplunathemepack.zip + + http://tvbrowser.org/downloads/noia.zip + http://tvbrowser.org/downloads/nuvola.zip + http://tvbrowser.org/downloads/tulliana.zip + http://tvbrowser.org/downloads/tango_without_heart.zip +)" + +SLOT="0" +KEYWORDS="~x86 ~amd64" +LICENSE="GPL-3" + +IUSE="themes" + +COMMON_DEP="dev-java/bsh + >=dev-java/commons-codec-1.4 + >=dev-java/commons-lang-2.4 + >=dev-java/commons-net-1.4.1 + >=dev-java/jakarta-oro-2.0.8 + >=dev-java/jgoodies-forms-1.3.0 + >=dev-java/jgoodies-looks-2.3.1 + dev-java/l2fprod-common + dev-java/log4j + dev-java/skinlf + >=dev-java/stax-1.2.0 + dev-java/xalan + x11-libs/libXt + x11-libs/libSM + x11-libs/libICE + x11-libs/libXext + x11-libs/libXtst + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp +" +DEPEND="${COMMON_DEP} + app-arch/unzip + >=virtual/jdk-1.6 + test? ( dev-java/junit:0 ) +" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.6 +" + +# javac errors about missing junit, lets investigate this later +RESTRICT="test" + +src_prepare() { + sed "/unpacked.dir/d" -i build.xml || die + + cd "${S}"/lib || die + rm -v bsh-*.jar commons-codec-*.jar commons-lang-*.jar commons-net*.jar \ + l2fprod-common-tasks-7.3.jar skinlf-6.7.jar stax*.jar \ + jgoodies-form*.jar jgoodies-looks*.jar || die + + java-pkg_jar-from bsh,commons-codec,commons-lang-2.1,commons-net,jgoodies-forms,l2fprod-common,log4j,jgoodies-looks-2.0,skinlf,stax + + mkdir "${S}/public" || die "failed javadoc dir" +} + +src_compile() { + ${ANT_OPTS} eant runtime-linux $(use_doc public-doc) +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + use source && java-pkg_dosrc src + use doc && java-pkg_dojavadoc doc + + cd runtime/${PN}_linux || die + + java-pkg_dojar ${PN}.jar + java-pkg_dojar "${S}"/lib/{guava-r09.jar,htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,jgoodies-common-1.2.1.jar,opencsv-2.3.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar} + + local todir="${JAVA_PKG_SHAREPATH}" + + cp -a imgs "${D}/${todir}" || die + cp -a icons "${D}/${todir}" || die + cp -a plugins "${D}/${todir}" || die + cp linux.properties "${D}/${todir}" || die + + insinto "${todir}/themepacks" + doins themepacks/themepack.zip + + if use themes; then + cd "${DISTDIR}" + doins BeOSthemepack.zip\ + amarachthemepack.zip\ + aquathemepack.zip\ + architectBluethemepack.zip\ + architectOlivethemepack.zip\ + b0sumiErgothempack.zip\ + b0sumithemepack.zip\ + bbjthemepack.zip\ + beigeazulthemepack.zip\ + beosthemepack.zip\ + blueMetalthemepack.zip\ + blueTurquesathemepack.zip\ + cellshadedthemepack.zip\ + chaNinja-Bluethemepack.zip\ + coronaHthemepack.zip\ + cougarthemepack.zip\ + crystal2themepack.zip\ + fatalEthemepack.zip\ + gfxOasisthemepack.zip\ + gorillathemepack.zip\ + hmmXPBluethemepack.zip\ + hmmXPMonoBluethemepack.zip\ + iBarthemepack.zip\ + macosthemepack.zip\ + midnightthemepack.zip\ + mmMagra-Xthemepack.zip\ + modernthemepack.zip\ + oliveGreenLunaXPthemepack.zip\ + opusLunaSilverthemepack.zip\ + opusOSBluethemepack.zip\ + opusOSDeepthemepack.zip\ + opusOSOlivethemepack.zip\ + quickSilverRthemepack.zip\ + roueBluethemepack.zip\ + roueBrownthemepack.zip\ + roueGreenthemepack.zip\ + royalInspiratthemepack.zip\ + silverLunaXPthemepack.zip\ + solunaRthemepack.zip\ + tigerGraphitethemepack.zip\ + tigerthemepack.zip\ + toxicthemepack.zip\ + underlingthemepack.zip\ + whistlerthemepack.zip\ + xplunathemepack.zip + insinto "${todir}/icons" + doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip + fi + + java-pkg_dolauncher "tvbrowser" \ + --main tvbrowser.TVBrowser \ + --pwd ${todir} \ + --java_args " -Dpropertiesfile=${todir}/linux.properties" + + make_desktop_entry ${PN} "TV-Browser" /usr/share/tvbrowser/imgs/tvbrowser128.png +} |