Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/icedtea6-bin: ChangeLog icedtea6-bin-1.9.ebuild
Date: Thu, 09 Sep 2010 13:29:49
Message-Id: 20100909132940.ADC7020051@flycatcher.gentoo.org
1 caster 10/09/09 13:29:40
2
3 Modified: ChangeLog
4 Added: icedtea6-bin-1.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 dev-java/icedtea6-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 1 Sep 2010 20:14:38 -0000 1.35
24 +++ ChangeLog 9 Sep 2010 13:29:40 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-java/icedtea6-bin
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.35 2010/09/01 20:14:38 caster Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.36 2010/09/09 13:29:40 caster Exp $
30 +
31 +*icedtea6-bin-1.9 (09 Sep 2010)
32 +
33 + 09 Sep 2010; Vlastimil Babka <caster@g.o> +icedtea6-bin-1.9.ebuild:
34 + Version bump.
35
36 *icedtea6-bin-1.8.1-r1 (01 Sep 2010)
37
38
39
40
41 1.1 dev-java/icedtea6-bin/icedtea6-bin-1.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: icedtea6-bin-1.9.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.9.ebuild,v 1.1 2010/09/09 13:29:40 caster Exp $
51
52 EAPI="1"
53
54 inherit java-vm-2
55
56 dist="mirror://gentoo/"
57 DESCRIPTION="A Gentoo-made binary build of the icedtea6 JDK"
58 TARBALL_VERSION="${PVR}"
59 SRC_URI="amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
60 x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
61 doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
62 examples? (
63 amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
64 x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
65 )
66 nsplugin? (
67 amd64? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-amd64.tar.bz2 )
68 x86? ( ${dist}/${PN}-nsplugin-${TARBALL_VERSION}-x86.tar.bz2 )
69 )
70 source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
71 HOMEPAGE="http://icedtea.classpath.org"
72
73 IUSE="X alsa doc examples nsplugin source"
74 RESTRICT="strip"
75
76 LICENSE="GPL-2-with-linking-exception"
77 SLOT="0"
78 KEYWORDS="~amd64 ~x86"
79
80 S="${WORKDIR}/${PN}-${TARBALL_VERSION}"
81
82 RDEPEND=">=sys-devel/gcc-4.3
83 >=sys-libs/glibc-2.11.2
84 >=media-libs/giflib-4.1.6-r1
85 >=media-libs/jpeg-8
86 >=media-libs/libpng-1.4:0
87 >=sys-libs/zlib-1.2.3-r1
88 alsa? ( >=media-libs/alsa-lib-1.0.20 )
89 X? (
90 >=media-libs/freetype-2.3.9:2
91 >=media-libs/fontconfig-2.6.0-r2:1.0
92 >=x11-libs/libXext-1.1
93 >=x11-libs/libXi-1.3
94 >=x11-libs/libXtst-1.1
95 >=x11-libs/libX11-1.3
96 x11-libs/libXt
97 )
98 nsplugin? (
99 >=dev-libs/atk-1.30.0
100 >=dev-libs/glib-2.20.5:2
101 >=dev-libs/nspr-4.8
102 >=x11-libs/cairo-1.8.8
103 >=x11-libs/gtk+-2.20.1:2
104 >=x11-libs/pango-1.24.5
105 )"
106 DEPEND=""
107
108 src_install() {
109 local dest="/opt/${P}"
110 local ddest="${D}/${dest}"
111 dodir "${dest}" || die
112
113 local arch=${ARCH}
114
115 # doins can't handle symlinks.
116 cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
117
118 dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
119 if use doc ; then
120 dohtml -r ../doc/html/* || die "Failed to install documentation"
121 fi
122
123 if use examples; then
124 cp -pRP share/{demo,sample} "${ddest}" || die
125 fi
126
127 if use source ; then
128 cp src.zip "${ddest}" || die
129 fi
130
131 if use nsplugin ; then
132 use x86 && arch=i386
133 install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so"
134 fi
135
136 set_java_env
137 java-vm_revdep-mask
138 }
139
140 pkg_postinst() {
141 # Set as default VM if none exists
142 java-vm-2_pkg_postinst
143
144 if use nsplugin; then
145 elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
146 elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
147 elog "such as Firefox 3.5+ and recent Chromium versions."
148 fi
149 }