diff --git a/net-p2p/jdownloader/Manifest b/net-p2p/jdownloader/Manifest index 0d842b3..c75f93b 100644 --- a/net-p2p/jdownloader/Manifest +++ b/net-p2p/jdownloader/Manifest @@ -1,2 +1,2 @@ AUX jdownloader.initd 349 SHA256 1cf85c764d57e8069aec791570767558f36fd76fd725b844e51d225f6864d325 SHA512 72f6036b558a259136a5e7372c4947842393f696184ca0df029ce37bcbda11d2015a7384736fddc8c0fc50627d3ac7d96ef6a7774e58378e9927623050085cda WHIRLPOOL e1a6812a1837d1ebd5f79c42fd619364b656b841c6f96dfe3615d9d9d01b0bbd780e60fd7373c26dc5863bf7a3bcb398c03573fefe5667f47c230aa42f217f98 -EBUILD jdownloader-9999.ebuild 527 SHA256 025daf9e633fee0d851f62ff8ef18c49f02355c1c725e0119bc3687f938c8c8f SHA512 1706315d5feac3a1c6c503f9bea48e7a88f02d269c75729ae6cacf651a6cfa8aa18af05e08e11efe3377e3d04bc07ed100501c5ebd8ef725f83342bb3c416646 WHIRLPOOL f081d33f86f53be55a4df64b0a966d00aee4e21ad645ce3fa3c848be45ff192b53a3cf3bba4556bf65955fdebcfb64da6981fbaa224996ab95cab563af6208b2 +EBUILD jdownloader-9999.ebuild 1224 SHA256 7b015d404e52fdea1fc68eaf083f862629cfd59d31f15c804f56b7d41bb1b6d9 SHA512 38b0b45fcce07691935a2cc3c186858ed63ab0a416549ad44e381a680fb262483d9146a018795d229a1f9185f66e398de23e165b32c2370cb83fd22113a2101e WHIRLPOOL 76e3ec665c3fe4db57a1912a132101c0d2b3f84f8f55eeed6ce5a8866a9d33a73fd1746ffa1eb3a4b37e369264ac202f90788162fe9f36546976ab51602e5c49 diff --git a/net-p2p/jdownloader/jdownloader-9999.ebuild b/net-p2p/jdownloader/jdownloader-9999.ebuild index 1a2a287..36a248a 100644 --- a/net-p2p/jdownloader/jdownloader-9999.ebuild +++ b/net-p2p/jdownloader/jdownloader-9999.ebuild @@ -4,20 +4,43 @@ EAPI="4" -inherit subversion +inherit java-pkg-2 java-ant-2 subversion DESCRIPTION="Platform Independent Tool to Download Files from One-Click-Hosting Sites" HOMEPAGE="http://jdownloader.org" -ESVN_REPO_URI="svn://svn.jdownloader.org/jdownloader - svn://svn.appwork.org/utils - svn://svn.appwork.org/updclient - svn://svn.jdownloader.org/jdownloader/browser" +# Workaround for single-valued ESVN_REPO_URI +# (s. src_unpack()) +ESVN_REPO_URI_JD="svn://svn.jdownloader.org/jdownloader/trunk" +ESVN_REPO_URI_AW_UTILS="svn://svn.appwork.org/utils" +ESVN_REPO_URI_AW_UPDCLIENT="svn://svn.appwork.org/updclient" +ESVN_REPO_URI_JD_BROWSER="svn://svn.jdownloader.org/jdownloader/browser" + +ESVN_REPO_URI="${ESVN_REPO_URI_JD}" LICENSE="" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" +DEPEND="dev-java/ant + >=virtual/jdk-1.5" RDEPEND=">=virtual/jre-1.5" + +EANT_BUILD_XML="build/build.xml" + +src_unpack() { + subversion_fetch "${ESVN_REPO_URI}" jdownloader + subversion_fetch "${ESVN_REPO_URI_AW_UTILS}" appwork-utils + subversion_fetch "${ESVN_REPO_URI_AW_UPDCLIENT}" appwork-updclient + subversion_fetch "${ESVN_REPO_URI_JD_BROWSER}" jd-browser +} + +src_compile() { + cd "${S}/appwork-utils" + java-pkg-2_src_compile + cd "${S}/appwork-updclient" + java-pkg-2_src_compile + cd "${S}/jd-browser" + java-pkg-2_src_compile +}