1 |
monsieurp 15/05/31 00:56:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tvbrowser-9999.ebuild |
5 |
Log: |
6 |
Introduce live Subversion ebuild to the tree. Fix bug 300658. |
7 |
|
8 |
Signed-off-by: Patrice Clement <monsieurp@g.o> |
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.45 media-tv/tvbrowser/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/ChangeLog?rev=1.45&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/ChangeLog?rev=1.45&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/ChangeLog?r1=1.44&r2=1.45 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v |
21 |
retrieving revision 1.44 |
22 |
retrieving revision 1.45 |
23 |
diff -u -r1.44 -r1.45 |
24 |
--- ChangeLog 30 May 2015 10:33:52 -0000 1.44 |
25 |
+++ ChangeLog 31 May 2015 00:56:25 -0000 1.45 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for media-tv/tvbrowser |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.44 2015/05/30 10:33:52 johu Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.45 2015/05/31 00:56:25 monsieurp Exp $ |
31 |
+ |
32 |
+*tvbrowser-9999 (31 May 2015) |
33 |
+ |
34 |
+ 31 May 2015; Patrice Clement <monsieurp@g.o> |
35 |
+ +files/tvbrowser-9999-build.xml, +tvbrowser-9999.ebuild: |
36 |
+ Introduce live Subversion ebuild to the tree. Fix bug 300658. |
37 |
|
38 |
30 May 2015; Johannes Huber <johu@g.o> metadata.xml: |
39 |
Remove myself as maintainer. |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-tv/tvbrowser/tvbrowser-9999.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/tvbrowser-9999.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvbrowser/tvbrowser-9999.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tvbrowser-9999.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/tvbrowser-9999.ebuild,v 1.1 2015/05/31 00:56:25 monsieurp Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
JAVA_PKG_IUSE="doc source test" |
57 |
|
58 |
inherit eutils java-pkg-2 java-ant-2 flag-o-matic virtualx subversion |
59 |
|
60 |
tp_base="http://javootoo.l2fprod.com/plaf/skinlf/themepacks" |
61 |
tvp_base="http://tvbrowser.org/downloads" |
62 |
|
63 |
DESCRIPTION="Themeable and easy to use TV Guide - written in Java" |
64 |
HOMEPAGE="http://www.tvbrowser.org/" |
65 |
ESVN_REPO_URI="https://tvbrowser.svn.sourceforge.net/svnroot/tvbrowser/trunk/tvbrowser" |
66 |
SRC_URI=" |
67 |
themes? ( |
68 |
${tp_base}/BeOSthemepack.zip |
69 |
${tp_base}/amarachthemepack.zip |
70 |
${tp_base}/aquathemepack.zip |
71 |
${tp_base}/architectBluethemepack.zip |
72 |
${tp_base}/architectOlivethemepack.zip |
73 |
${tp_base}/b0sumiErgothempack.zip |
74 |
${tp_base}/b0sumithemepack.zip |
75 |
${tp_base}/bbjthemepack.zip |
76 |
${tp_base}/beigeazulthemepack.zip |
77 |
${tp_base}/beosthemepack.zip |
78 |
${tp_base}/blueMetalthemepack.zip |
79 |
${tp_base}/blueTurquesathemepack.zip |
80 |
${tp_base}/cellshadedthemepack.zip |
81 |
${tp_base}/chaNinja-Bluethemepack.zip |
82 |
${tp_base}/coronaHthemepack.zip |
83 |
${tp_base}/cougarthemepack.zip |
84 |
${tp_base}/crystal2themepack.zip |
85 |
${tp_base}/fatalEthemepack.zip |
86 |
${tp_base}/gfxOasisthemepack.zip |
87 |
${tp_base}/gorillathemepack.zip |
88 |
${tp_base}/hmmXPBluethemepack.zip |
89 |
${tp_base}/hmmXPMonoBluethemepack.zip |
90 |
${tp_base}/iBarthemepack.zip |
91 |
${tp_base}/macosthemepack.zip |
92 |
${tp_base}/midnightthemepack.zip |
93 |
${tp_base}/mmMagra-Xthemepack.zip |
94 |
${tp_base}/modernthemepack.zip |
95 |
${tp_base}/oliveGreenLunaXPthemepack.zip |
96 |
${tp_base}/opusLunaSilverthemepack.zip |
97 |
${tp_base}/opusOSBluethemepack.zip |
98 |
${tp_base}/opusOSDeepthemepack.zip |
99 |
${tp_base}/opusOSOlivethemepack.zip |
100 |
${tp_base}/quickSilverRthemepack.zip |
101 |
${tp_base}/roueBluethemepack.zip |
102 |
${tp_base}/roueBrownthemepack.zip |
103 |
${tp_base}/roueGreenthemepack.zip |
104 |
${tp_base}/royalInspiratthemepack.zip |
105 |
${tp_base}/silverLunaXPthemepack.zip |
106 |
${tp_base}/solunaRthemepack.zip |
107 |
${tp_base}/tigerGraphitethemepack.zip |
108 |
${tp_base}/tigerthemepack.zip |
109 |
${tp_base}/toxicthemepack.zip |
110 |
${tp_base}/underlingthemepack.zip |
111 |
${tp_base}/whistlerthemepack.zip |
112 |
${tp_base}/xplunathemepack.zip |
113 |
|
114 |
${tvp_base}/noia.zip |
115 |
${tvp_base}/nuvola.zip |
116 |
${tvp_base}/tulliana.zip |
117 |
${tvp_base}/tango_without_heart.zip |
118 |
)" |
119 |
|
120 |
SLOT="0" |
121 |
KEYWORDS="" |
122 |
LICENSE="GPL-3" |
123 |
|
124 |
IUSE="themes" |
125 |
|
126 |
CDEPEND="dev-java/bsh:0 |
127 |
dev-java/commons-codec:0 |
128 |
dev-java/commons-lang:3.3 |
129 |
dev-java/commons-net:0 |
130 |
dev-java/jakarta-oro:2.0 |
131 |
dev-java/jgoodies-common:1.8 |
132 |
dev-java/jgoodies-forms:1.8 |
133 |
dev-java/jgoodies-looks:2.6 |
134 |
dev-java/l2fprod-common:0 |
135 |
dev-java/log4j:0 |
136 |
dev-java/skinlf:0 |
137 |
dev-java/stax:0 |
138 |
dev-java/swt:4.2 |
139 |
dev-java/xalan:0 |
140 |
x11-libs/libXt:0 |
141 |
x11-libs/libSM:0 |
142 |
x11-libs/libICE:0 |
143 |
x11-libs/libXext:0 |
144 |
x11-libs/libXtst:0 |
145 |
x11-libs/libX11:0 |
146 |
x11-libs/libXau:0 |
147 |
x11-libs/libXdmcp:0" |
148 |
|
149 |
DEPEND="${CDEPEND} |
150 |
app-arch/unzip:0 |
151 |
>=virtual/jdk-1.6 |
152 |
test? ( dev-java/junit:0 dev-java/ant-junit:0 )" |
153 |
|
154 |
RDEPEND="${CDEPEND} |
155 |
>=virtual/jre-1.6" |
156 |
|
157 |
src_prepare() { |
158 |
cp "${FILESDIR}"/${P}-build.xml build.xml || die "Failed to replace build.xml." |
159 |
|
160 |
# Yes, there are some bundled jars. |
161 |
# Can't help but use them for the time being. |
162 |
local error="Failed to unbundle or remove libraries or classes." |
163 |
pushd lib > /dev/null |
164 |
rm -v bsh-*.jar commons*.jar jgoodies*.jar l2fprod-common-tasks*.jar \ |
165 |
skinlf*.jar stax*.jar || die ${error} |
166 |
popd > /dev/null |
167 |
|
168 |
find deployment -name '*.jar' -exec rm -v {} \; || die ${error} |
169 |
find . -name '*.class' -exec rm -v {} \; || die ${error} |
170 |
|
171 |
# These tests fail. |
172 |
rm -v \ |
173 |
test/src/util/misc/TextLineBreakerTest.java \ |
174 |
test/src/util/ui/html/HTMLTextHelperTest.java |
175 |
} |
176 |
|
177 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
178 |
EANT_GENTOO_CLASSPATH="bsh,commons-codec,commons-lang-3.3,jgoodies-common-1.8,jgoodies-forms-1.8,jgoodies-looks-2.6,l2fprod-common,skinlf" |
179 |
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-junit,junit" |
180 |
|
181 |
EANT_BUILD_TARGET="runtime-linux" |
182 |
EANT_DOC_TARGET="public-doc" |
183 |
|
184 |
src_test() { |
185 |
VIRTUALX_COMMAND="java-pkg-2_src_test" virtualmake |
186 |
} |
187 |
|
188 |
src_install() { |
189 |
pushd runtime/${PN}_linux > /dev/null |
190 |
java-pkg_dojar ${PN}.jar |
191 |
|
192 |
local todir="${JAVA_PKG_SHAREPATH}" |
193 |
|
194 |
cp -a {imgs,icons,plugins} "${D}/${todir}" || die "Failed to copy directories." |
195 |
cp linux.properties "${D}/${todir}" || die "Failed to copy linux.properties." |
196 |
|
197 |
insinto "${todir}/themepacks" |
198 |
doins themepacks/themepack.zip |
199 |
|
200 |
if use themes ; then |
201 |
pushd "${DISTDIR}" > /dev/null |
202 |
doins *pack.zip |
203 |
|
204 |
insinto "${todir}/icons" |
205 |
doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip |
206 |
popd > /dev/null |
207 |
fi |
208 |
|
209 |
java-pkg_dolauncher "tvbrowser" \ |
210 |
--main tvbrowser.TVBrowser \ |
211 |
--pwd ${todir} \ |
212 |
--java_args " -Dpropertiesfile=${todir}/linux.properties" |
213 |
|
214 |
make_desktop_entry ${PN} "TV-Browser" \ |
215 |
/usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video" |
216 |
popd > /dev/null |
217 |
|
218 |
java-pkg_dojar $(ls lib/*.jar) |
219 |
#java-pkg_dojar lib/{htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,opencsv-2.3.jar} |
220 |
#java-pkg_dojar lib/{substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar} |
221 |
|
222 |
use source && java-pkg_dosrc src |
223 |
use doc && java-pkg_dojavadoc doc |
224 |
} |