1 |
billie 09/06/19 17:39:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: channeleditor-1.9.2.1-r1.ebuild |
5 |
Log: |
6 |
Ebuild and build.xml improvements. Added two translation patches. |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 media-tv/channeleditor/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/channeleditor/ChangeLog?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/channeleditor/ChangeLog?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/channeleditor/ChangeLog?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/channeleditor/ChangeLog,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- ChangeLog 30 May 2009 12:18:06 -0000 1.4 |
23 |
+++ ChangeLog 19 Jun 2009 17:39:11 -0000 1.5 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for media-tv/channeleditor |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-tv/channeleditor/ChangeLog,v 1.4 2009/05/30 12:18:06 billie Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-tv/channeleditor/ChangeLog,v 1.5 2009/06/19 17:39:11 billie Exp $ |
29 |
+ |
30 |
+*channeleditor-1.9.2.1-r1 (19 Jun 2009) |
31 |
+ |
32 |
+ 19 Jun 2009; Pielmeier Daniel <billie@g.o> |
33 |
+ +files/channeleditor-1.9.2.1-messages.properties.patch, |
34 |
+ +files/channeleditor-1.9.2.1-messages_en.properties.patch, |
35 |
+ +files/build-1.9.2.1.xml, +channeleditor-1.9.2.1-r1.ebuild: |
36 |
+ Ebuild and build.xml improvements. Added two patches with many translation |
37 |
+ corrections, hopefully they apply for everyone. |
38 |
|
39 |
30 May 2009; Pielmeier Daniel <billie@g.o> metadata.xml: |
40 |
Update email in metadata |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-tv/channeleditor/channeleditor-1.9.2.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/channeleditor/channeleditor-1.9.2.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/channeleditor/channeleditor-1.9.2.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: channeleditor-1.9.2.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-tv/channeleditor/channeleditor-1.9.2.1-r1.ebuild,v 1.1 2009/06/19 17:39:11 billie Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit eutils java-pkg-2 java-ant-2 |
58 |
|
59 |
DESCRIPTION="Editor for VDR channels.conf" |
60 |
HOMEPAGE="http://renier.re.funpic.de/" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~x86" |
66 |
IUSE="java5 java6 source" |
67 |
|
68 |
RDEPEND="java6? ( >=virtual/jre-1.6 ) |
69 |
!java6? ( java5? ( >=virtual/jre-1.5 ) ) |
70 |
!java6? ( !java5? ( >=virtual/jre-1.4 ) )" |
71 |
|
72 |
DEPEND="java6? ( >=virtual/jdk-1.6 ) |
73 |
!java6? ( java5? ( >=virtual/jdk-1.5 ) ) |
74 |
!java6? ( !java5? ( >=virtual/jdk-1.4 ) ) |
75 |
source? ( app-arch/zip )" |
76 |
|
77 |
S="${WORKDIR}/${PN}" |
78 |
|
79 |
mainclass() { |
80 |
# read Main-Class from MANIFEST.MF |
81 |
sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" \ |
82 |
|| die "reading Main-Class failed" |
83 |
} |
84 |
|
85 |
src_prepare() { |
86 |
# move files out of build and remove stuff not needed in the package |
87 |
mv build/* "${S}" || die "cleaning build dir failed" |
88 |
rm -f src/java/org/javalobby/icons/{README,COPYRIGHT} \ |
89 |
|| die "removing files failed" |
90 |
|
91 |
# copy build.xml |
92 |
if use java6; then |
93 |
sed 's:\(value=\"\)1\.4\(\"\):\11.6\2:g' \ |
94 |
"${FILESDIR}/build-${PV}.xml" > build.xml \ |
95 |
|| die "copying build.xml failed" |
96 |
elif use java5; then |
97 |
sed 's:\(value=\"\)1\.4\(\"\):\11.5\2:g' \ |
98 |
"${FILESDIR}/build-${PV}.xml" > build.xml \ |
99 |
|| die "copying build.xml failed" |
100 |
else |
101 |
cp -f "${FILESDIR}/build-${PV}.xml" build.xml \ |
102 |
|| die "copying build.xml failed" |
103 |
fi |
104 |
|
105 |
# convert CRLF to LF |
106 |
edos2unix MANIFEST.MF |
107 |
|
108 |
# include localisation changes |
109 |
epatch "${FILESDIR}"/${P}-messages.properties.patch |
110 |
epatch "${FILESDIR}"/${P}-messages_en.properties.patch |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
eant build -Dmanifest.mainclass=$(mainclass) |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
java-pkg_dojar dist/${PN}.jar |
119 |
java-pkg_dolauncher ${PN} --main $(mainclass) |
120 |
|
121 |
use source && java-pkg_dosrc src |
122 |
|
123 |
make_desktop_entry channeleditor Channeleditor "" "Utility" |
124 |
} |