From 890c097eb539df98d71e89c629b5bc68d03baee9 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Wed, 14 Nov 2012 15:06:41 +0100 Subject: [PATCH 1/3] Added net-p2p section --- net-p2p/jdownloader/Manifest | 2 ++ net-p2p/jdownloader/files/jdownloader.initd | 20 ++++++++++++++++++ net-p2p/jdownloader/jdownloader-9999.ebuild | 23 +++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 net-p2p/jdownloader/Manifest create mode 100644 net-p2p/jdownloader/files/jdownloader.initd create mode 100644 net-p2p/jdownloader/jdownloader-9999.ebuild diff --git a/net-p2p/jdownloader/Manifest b/net-p2p/jdownloader/Manifest new file mode 100644 index 0000000..0d842b3 --- /dev/null +++ b/net-p2p/jdownloader/Manifest @@ -0,0 +1,2 @@ +AUX jdownloader.initd 349 SHA256 1cf85c764d57e8069aec791570767558f36fd76fd725b844e51d225f6864d325 SHA512 72f6036b558a259136a5e7372c4947842393f696184ca0df029ce37bcbda11d2015a7384736fddc8c0fc50627d3ac7d96ef6a7774e58378e9927623050085cda WHIRLPOOL e1a6812a1837d1ebd5f79c42fd619364b656b841c6f96dfe3615d9d9d01b0bbd780e60fd7373c26dc5863bf7a3bcb398c03573fefe5667f47c230aa42f217f98 +EBUILD jdownloader-9999.ebuild 527 SHA256 025daf9e633fee0d851f62ff8ef18c49f02355c1c725e0119bc3687f938c8c8f SHA512 1706315d5feac3a1c6c503f9bea48e7a88f02d269c75729ae6cacf651a6cfa8aa18af05e08e11efe3377e3d04bc07ed100501c5ebd8ef725f83342bb3c416646 WHIRLPOOL f081d33f86f53be55a4df64b0a966d00aee4e21ad645ce3fa3c848be45ff192b53a3cf3bba4556bf65955fdebcfb64da6981fbaa224996ab95cab563af6208b2 diff --git a/net-p2p/jdownloader/files/jdownloader.initd b/net-p2p/jdownloader/files/jdownloader.initd new file mode 100644 index 0000000..5e487f3 --- /dev/null +++ b/net-p2p/jdownloader/files/jdownloader.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting jDownloader web interface" + [ -x "/usr/bin/Xvfb" ] && /usr/bin/Xvfb :100 -ac >/dev/null 2>&1 & + cd "${JD_HOME}" + DISPLAY=":100.0" /usr/bin/java -Xmx768m -jar JDownloader.jar >/dev/null 2>&1 & + eend $? +} + +stop() { + ebegin "Stopping jDownloader" + killall Xvfb + sleep 1 + eend $? +} diff --git a/net-p2p/jdownloader/jdownloader-9999.ebuild b/net-p2p/jdownloader/jdownloader-9999.ebuild new file mode 100644 index 0000000..1a2a287 --- /dev/null +++ b/net-p2p/jdownloader/jdownloader-9999.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit 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" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=virtual/jre-1.5" From 5d737efdd984f40a0ecd4377c4c83da5dec85bbe Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Wed, 14 Nov 2012 16:00:10 +0100 Subject: [PATCH 2/3] Depend on ant --- net-p2p/jdownloader/Manifest | 2 +- net-p2p/jdownloader/jdownloader-9999.ebuild | 35 +++++++++++++++++---- 2 files changed, 30 insertions(+), 7 deletions(-) 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 +} From 02281393c49f1ba6353078cc43bcd87561e40e69 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Wed, 14 Nov 2012 16:57:15 +0100 Subject: [PATCH 3/3] Added qt-webkit dependency --- net-voip/homer-conferencing/Manifest | 4 ++-- net-voip/homer-conferencing/homer-conferencing-0.24.1.ebuild | 3 ++- net-voip/homer-conferencing/homer-conferencing-9999.ebuild | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/net-voip/homer-conferencing/Manifest b/net-voip/homer-conferencing/Manifest index 3e76f9f..80c12e1 100644 --- a/net-voip/homer-conferencing/Manifest +++ b/net-voip/homer-conferencing/Manifest @@ -1,3 +1,3 @@ DIST homer-conferencing-0.24.1.tar.gz 1297045 SHA256 738cd4a1e8b437936c904bdea649c0ee12ecca2caa1bef5c585925eabe84ff44 SHA512 ea2d1a5224048668e20a62f142370910f337b3b56b94c9a92a9b7530652ceed67a59223fac57ee0d835c31545d2d06c21329a0463680936d32a1455dbb2fac33 WHIRLPOOL b16ccdea6c5ea0845aca4f31a2d6258cf6a71258c531ee36a02b2844814df73b26229ffc96129532b4f9c1f2070a9cd279b720b7286e691e488bc7b524c47278 -EBUILD homer-conferencing-0.24.1.ebuild 1450 SHA256 82b2267f2ff13846dcf7fbac4cc300979b65fd9d8acabc3d6d7497ed3604ac9f SHA512 9563aa31ebf385ac3461111c0100df293b95ff6156d6b84555e0a85234dbea59bd5f7800b3e6f7516944eff1034bf13718404e09028df53932624d4a0a0b7fec WHIRLPOOL 637340837c66b718bc3b0c1fae7a1db71e132b821879fb79a9884d7e73f1a10a641507d4d65b656de7f3a7f772be908468d94337451f0ae81a33506065c8406b -EBUILD homer-conferencing-9999.ebuild 1450 SHA256 82b2267f2ff13846dcf7fbac4cc300979b65fd9d8acabc3d6d7497ed3604ac9f SHA512 9563aa31ebf385ac3461111c0100df293b95ff6156d6b84555e0a85234dbea59bd5f7800b3e6f7516944eff1034bf13718404e09028df53932624d4a0a0b7fec WHIRLPOOL 637340837c66b718bc3b0c1fae7a1db71e132b821879fb79a9884d7e73f1a10a641507d4d65b656de7f3a7f772be908468d94337451f0ae81a33506065c8406b +EBUILD homer-conferencing-0.24.1.ebuild 1478 SHA256 d5745b04454eceb421fe1b096c346e518914e3c3a8eb87a6ac5bbc8dc49ec680 SHA512 8a09a31995e254a60a01f9e43f2c574c42af47a599aa37546917ee37cb02eddb5ae8dcf7ff5c68d77c5d71c2ad1b91b4ac4dae01259f619b490d739ebf86ac3f WHIRLPOOL 9414d4087eec7a4df7fad0f1036209bc94415f6fd85dd818c8b23b883fdbed768b9e6fb05eb7cb6b259d5595a3de41bbee54d48e0965203ab9b99baa86738f98 +EBUILD homer-conferencing-9999.ebuild 1478 SHA256 d5745b04454eceb421fe1b096c346e518914e3c3a8eb87a6ac5bbc8dc49ec680 SHA512 8a09a31995e254a60a01f9e43f2c574c42af47a599aa37546917ee37cb02eddb5ae8dcf7ff5c68d77c5d71c2ad1b91b4ac4dae01259f619b490d739ebf86ac3f WHIRLPOOL 9414d4087eec7a4df7fad0f1036209bc94415f6fd85dd818c8b23b883fdbed768b9e6fb05eb7cb6b259d5595a3de41bbee54d48e0965203ab9b99baa86738f98 diff --git a/net-voip/homer-conferencing/homer-conferencing-0.24.1.ebuild b/net-voip/homer-conferencing/homer-conferencing-0.24.1.ebuild index cb5f00e..019f914 100644 --- a/net-voip/homer-conferencing/homer-conferencing-0.24.1.ebuild +++ b/net-voip/homer-conferencing/homer-conferencing-0.24.1.ebuild @@ -35,7 +35,8 @@ RDEPEND=">=dev-libs/openssl-1.0 media-video/ffmpeg >=net-libs/sofia-sip-1.12 >=x11-libs/qt-core-4.6:4 - >=x11-libs/qt-gui-4.6:4" + >=x11-libs/qt-gui-4.6:4 + >=x11-libs/qt-webkit-4.6:4" DEPEND="dev-util/cmake ${RDEPEND}" diff --git a/net-voip/homer-conferencing/homer-conferencing-9999.ebuild b/net-voip/homer-conferencing/homer-conferencing-9999.ebuild index cb5f00e..019f914 100644 --- a/net-voip/homer-conferencing/homer-conferencing-9999.ebuild +++ b/net-voip/homer-conferencing/homer-conferencing-9999.ebuild @@ -35,7 +35,8 @@ RDEPEND=">=dev-libs/openssl-1.0 media-video/ffmpeg >=net-libs/sofia-sip-1.12 >=x11-libs/qt-core-4.6:4 - >=x11-libs/qt-gui-4.6:4" + >=x11-libs/qt-gui-4.6:4 + >=x11-libs/qt-webkit-4.6:4" DEPEND="dev-util/cmake ${RDEPEND}"