From: | "Vlastimil Babka (caster)" <caster@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/icedtea6-bin: metadata.xml ChangeLog icedtea6-bin-1.3.1-r1.ebuild |
Date: | Wed, 24 Dec 2008 22:50:05 |
Message-Id: | E1LFc7h-0005oy-79@stork.gentoo.org |
1 | caster 08/12/24 22:22:37 |
2 | |
3 | Added: metadata.xml ChangeLog icedtea6-bin-1.3.1-r1.ebuild |
4 | Log: |
5 | New package, a Gentoo binary build of icedtea6. Based on icedtea6-r2 from java-overlay. |
6 | (Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-java/icedtea6-bin/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>java</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 dev-java/icedtea6-bin/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for dev-java/icedtea6-bin |
32 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.1 2008/12/24 22:22:37 caster Exp $ |
34 | |
35 | *icedtea6-bin-1.3.1-r1 (24 Dec 2008) |
36 | |
37 | 24 Dec 2008; Vlastimil Babka <caster@g.o> +files/icedtea6-bin.env, |
38 | +metadata.xml, +icedtea6-bin-1.3.1-r1.ebuild: |
39 | New package, a Gentoo binary build of icedtea6. Based on icedtea6-r2 from |
40 | java-overlay. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: icedtea6-bin-1.3.1-r1.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2008 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.3.1-r1.ebuild,v 1.1 2008/12/24 22:22:37 caster Exp $ |
55 | |
56 | EAPI="1" |
57 | |
58 | inherit java-vm-2 |
59 | |
60 | dist="mirror://gentoo/" |
61 | DESCRIPTION="A Gentoo-made binary build of the icedtea6 JDK" |
62 | SRC_URI="amd64? ( ${dist}/${PN}-core-${PVR}-amd64.tbz2 ) |
63 | x86? ( ${dist}/${PN}-core-${PVR}-x86.tbz2 ) |
64 | doc? ( ${dist}/${PN}-doc-${PVR}.tbz2 ) |
65 | examples? ( |
66 | amd64? ( ${dist}/${PN}-examples-${PVR}-amd64.tbz2 ) |
67 | x86? ( ${dist}/${PN}-examples-${PVR}-x86.tbz2 ) |
68 | ) |
69 | nsplugin? ( |
70 | amd64? ( ${dist}/${PN}-nsplugin-${PVR}-amd64.tbz2 ) |
71 | x86? ( ${dist}/${PN}-nsplugin-${PVR}-x86.tbz2 ) |
72 | ) |
73 | source? ( ${dist}/${PN}-src-${PVR}.tbz2 )" |
74 | HOMEPAGE="http://icedtea.classpath.org" |
75 | |
76 | IUSE="X alsa doc examples nsplugin source" |
77 | # JTReg doesn't pass at present |
78 | RESTRICT="strip test" |
79 | |
80 | LICENSE="GPL-2-with-linking-exception" |
81 | SLOT="0" |
82 | KEYWORDS="~amd64 ~x86" |
83 | |
84 | S="${WORKDIR}/${PF}" |
85 | |
86 | RDEPEND=" |
87 | >=sys-libs/glibc-2.6.1 |
88 | >=media-libs/giflib-4.1.6-r1 |
89 | >=media-libs/jpeg-6b-r8 |
90 | >=media-libs/libpng-1.2.33 |
91 | >=sys-libs/zlib-1.2.3-r1 |
92 | alsa? ( >=media-libs/alsa-lib-1.0.16 ) |
93 | X? ( |
94 | >=media-libs/freetype-2.3.7:2 |
95 | >=x11-libs/libXext-1.0.3 |
96 | >=x11-libs/libXi-1.1.3 |
97 | >=x11-libs/libXtst-1.0.3 |
98 | >=x11-libs/libX11-1.1.4 |
99 | ) |
100 | nsplugin? ( |
101 | >=dev-libs/atk-1.22.0 |
102 | >=dev-libs/glib-2.16.5:2 |
103 | >=dev-libs/nspr-4.7.3 |
104 | >=x11-libs/cairo-1.6.4-r1 |
105 | >=x11-libs/gtk+-2.12.11:2 |
106 | >=x11-libs/pango-1.20.5 |
107 | )" |
108 | DEPEND="" |
109 | |
110 | QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/server/libjvm.so" |
111 | QA_EXECSTACK_x86="opt/${P}/jre/lib/i386/server/libjvm.so |
112 | opt/${P}/jre/lib/i386/client/libjvm.so" |
113 | |
114 | src_install() { |
115 | local dest="/opt/${P}" |
116 | local ddest="${D}/${dest}" |
117 | dodir "${dest}" || die |
118 | |
119 | local arch=${ARCH} |
120 | |
121 | # doins can't handle symlinks. |
122 | cp -pRP bin include jre lib man "${ddest}" || die "failed to copy" |
123 | |
124 | dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die |
125 | if use doc ; then |
126 | dohtml -r ../doc/html/* || die "Failed to install documentation" |
127 | fi |
128 | |
129 | if use examples; then |
130 | cp -pRP share/{demo,sample} "${ddest}" || die |
131 | fi |
132 | |
133 | if use source ; then |
134 | cp src.zip "${ddest}" || die |
135 | fi |
136 | |
137 | if use nsplugin ; then |
138 | use x86 && arch=i386; |
139 | install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so"; |
140 | fi |
141 | |
142 | set_java_env |
143 | java-vm_revdep-mask |
144 | } |
145 | |
146 | pkg_postinst() { |
147 | if use nsplugin; then |
148 | elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin" |
149 | elog "Note that the plugin works only in browsers based on xulrunner-1.9" |
150 | elog "such as Firefox 3 or Epiphany 2.24 and not in older versions!" |
151 | fi |
152 | } |