Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 1999-2010 Gentoo Foundation | 1 # Copyright 1999-2010 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.7.1.ebuild,v 1.1 2010/03/04 23:20:59 caster Exp $ | 3 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.7.1.ebuild,v 1.1 2010/03/04 23:20:59 caster Exp $ |
| 4 # Build written by Andrew John Hughes (gnu_andrew@member.fsf.org) | 4 # Build written by Andrew John Hughes (gnu_andrew@member.fsf.org) |
| 5 | 5 |
| 6 # ********************************************************* | 6 # ********************************************************* |
| 7 # * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL * | 7 # * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL * |
| 8 # ********************************************************* | 8 # ********************************************************* |
| 9 | 9 |
| 10 EAPI="2" | 10 EAPI="2" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 89 || ( | 89 || ( |
| 90 ( | 90 ( |
| 91 >=x11-libs/libXext-1.1.1 | 91 >=x11-libs/libXext-1.1.1 |
| 92 >=x11-proto/xextproto-7.1.1 | 92 >=x11-proto/xextproto-7.1.1 |
| 93 x11-proto/xproto | 93 x11-proto/xproto |
| 94 ) | 94 ) |
| 95 <x11-libs/libXext-1.1.1 | 95 <x11-libs/libXext-1.1.1 |
| 96 ) | 96 ) |
| 97 sys-apps/lsb-release" | 97 sys-apps/lsb-release" |
| 98 | 98 |
| 99 pkg_setup() { | 99 # We don't do the following during pkg_setup so it won't be called when we |
| 100 # build ChromeOS test image. | |
|
sosa
2010/05/11 03:32:43
Chromium OS*
| |
| 101 pkg_setup_compile_time_only() { | |
| 100 # Shark support disabled for now - still experimental and needs sys-devel/llvm | 102 # Shark support disabled for now - still experimental and needs sys-devel/llvm |
| 101 # if use shark ; then | 103 # if use shark ; then |
| 102 # if ( ! use x86 && ! use sparc && ! use ppc ) ; then | 104 # if ( ! use x86 && ! use sparc && ! use ppc ) ; then |
| 103 # eerror "The Shark JIT has known issues on 64-bit platforms. Ple ase rebuild" | 105 # eerror "The Shark JIT has known issues on 64-bit platforms. Ple ase rebuild" |
| 104 # errror "without the shark USE flag turned on." | 106 # errror "without the shark USE flag turned on." |
| 105 # die "Rebuild without the shark USE flag on." | 107 # die "Rebuild without the shark USE flag on." |
| 106 # fi | 108 # fi |
| 107 # if ( ! use zero ) ; then | 109 # if ( ! use zero ) ; then |
| 108 # eerror "The use of the Shark JIT is only applicable when used wi th the zero assembler port."; | 110 # eerror "The use of the Shark JIT is only applicable when used wi th the zero assembler port."; |
| 109 # die "Rebuild without the shark USE flag on or with the zero USE flag turned on." | 111 # die "Rebuild without the shark USE flag on or with the zero USE flag turned on." |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 144 if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then | 146 if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then |
| 145 einfo "Forced vm ${JAVA_PKG_FORCE_VM}" | 147 einfo "Forced vm ${JAVA_PKG_FORCE_VM}" |
| 146 java-vm-2_pkg_setup | 148 java-vm-2_pkg_setup |
| 147 java-pkg-2_pkg_setup | 149 java-pkg-2_pkg_setup |
| 148 fi | 150 fi |
| 149 | 151 |
| 150 VMHANDLE="icedtea${SLOT}" | 152 VMHANDLE="icedtea${SLOT}" |
| 151 } | 153 } |
| 152 | 154 |
| 153 src_unpack() { | 155 src_unpack() { |
| 156 pkg_setup_compile_time_only | |
| 157 | |
| 154 if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then | 158 if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then |
| 155 die "Unable to find a supported VM for building" | 159 die "Unable to find a supported VM for building" |
| 156 fi | 160 fi |
| 157 unpack ${ICEDTEA_PKG}.tar.gz | 161 unpack ${ICEDTEA_PKG}.tar.gz |
| 158 } | 162 } |
| 159 | 163 |
| 160 src_prepare() { | 164 src_prepare() { |
| 161 epatch "${FILESDIR}/chromeos-Makefile.am.patch" | 165 epatch "${FILESDIR}/chromeos-Makefile.am.patch" |
| 162 cp "${FILESDIR}/chromeos-adlc.make.patch" patches/openjdk | 166 cp "${FILESDIR}/chromeos-adlc.make.patch" patches/openjdk |
| 163 cp "${FILESDIR}/chromeos-gcc.make.patch" patches/openjdk | 167 cp "${FILESDIR}/chromeos-gcc.make.patch" patches/openjdk |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 329 elog "but it does not support xulrunner-1.9.2 (Firefox 3 .6) or Chromium." | 333 elog "but it does not support xulrunner-1.9.2 (Firefox 3 .6) or Chromium." |
| 330 else | 334 else |
| 331 elog "Note that the IcedTeaPlugin works only in browsers based on xulrunner-1.9.0 or 1.9.1" | 335 elog "Note that the IcedTeaPlugin works only in browsers based on xulrunner-1.9.0 or 1.9.1" |
| 332 elog "such as Firefox 3 or 3.5, Epiphany 2.24 and not in older versions!" | 336 elog "such as Firefox 3 or 3.5, Epiphany 2.24 and not in older versions!" |
| 333 elog "Also note that you need to recompile icedtea${SLOT } if you upgrade" | 337 elog "Also note that you need to recompile icedtea${SLOT } if you upgrade" |
| 334 elog "from xulrunner-1.9.0 to 1.9.1." | 338 elog "from xulrunner-1.9.0 to 1.9.1." |
| 335 elog "To support xulrunner-1.9.2 (Firefox 3.6) and Chrom ium, enable USE=npplugin" | 339 elog "To support xulrunner-1.9.2 (Firefox 3.6) and Chrom ium, enable USE=npplugin" |
| 336 fi | 340 fi |
| 337 fi | 341 fi |
| 338 } | 342 } |
| OLD | NEW |