diff options
author | 2010-05-11 11:23:48 +0000 | |
---|---|---|
committer | 2010-05-11 11:23:48 +0000 | |
commit | 776bc243bca0a67589664b47789e4f757829a9b4 (patch) | |
tree | 6ba7dbd100b9b3f9e7f38bab0baeaa45899f4905 /www-client/chromium/chromium-9999.ebuild | |
parent | Added sys-devel/flex in DEPEND, #221369 (diff) | |
download | historical-776bc243bca0a67589664b47789e4f757829a9b4.tar.gz historical-776bc243bca0a67589664b47789e4f757829a9b4.tar.bz2 historical-776bc243bca0a67589664b47789e4f757829a9b4.zip |
Version bump for beta channel relase. Fix bug #315667 by Joel
<Joel7987@gmail.com>, used suggestion by Constantine D. Kardaris
<ckardaris@gmail.com>. Fix bug #318511 by cyrillic
<cyrilmaley@hotmail.com>, used suggestion by truedfx. Fix bug #318573 by
flameeyes, also note useful comment there by Reimar Doeffinger
<Reimar.Doeffinger@gmx.de>.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'www-client/chromium/chromium-9999.ebuild')
-rw-r--r-- | www-client/chromium/chromium-9999.ebuild | 46 |
1 files changed, 9 insertions, 37 deletions
diff --git a/www-client/chromium/chromium-9999.ebuild b/www-client/chromium/chromium-9999.ebuild index f451f8f8b376..afd570238988 100644 --- a/www-client/chromium/chromium-9999.ebuild +++ b/www-client/chromium/chromium-9999.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.49 2010/05/05 12:33:26 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.50 2010/05/11 11:23:48 phajdan.jr Exp $ EAPI="2" -inherit eutils flag-o-matic multilib portability subversion toolchain-funcs + +inherit eutils flag-o-matic multilib pax-utils subversion toolchain-funcs DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="http://chromium.org/" @@ -14,7 +15,7 @@ EGCLIENT_REPO_URI="http://src.chromium.org/svn/trunk/src/" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="mp3 +plugins-symlink x264" +IUSE="+plugins-symlink" RDEPEND="app-arch/bzip2 >=dev-libs/libevent-1.4.13 @@ -25,7 +26,7 @@ RDEPEND="app-arch/bzip2 >=media-libs/alsa-lib-1.0.19 media-libs/jpeg:0 media-libs/libpng - >=media-video/ffmpeg-0.5_p21602[mp3=,threads,x264=] + >=media-video/ffmpeg-0.5_p21602[threads] sys-libs/zlib >=x11-libs/gtk+-2.14.7 x11-libs/libXScrnSaver" @@ -42,6 +43,7 @@ RDEPEND+=" x11-themes/tango-icon-theme x11-themes/xfce4-icon-theme ) + x11-apps/xmessage x11-misc/xdg-utils virtual/ttf-fonts" @@ -52,29 +54,6 @@ RDEPEND+=" !www-plugins/gecko-mediaplayer[gnome] )" -pkg_setup() { - if [[ "${ROOT}" == "/" ]]; then - # Prevent user problems like bug 299777. - if ! grep -q /dev/shm <<< $(get_mounts); then - eerror "You don't have tmpfs mounted at /dev/shm." - eerror "${PN} isn't going to work in that configuration." - eerror "Please uncomment the /dev/shm entry in /etc/fstab," - eerror "run 'mount /dev/shm' and try again." - die "/dev/shm is not mounted" - fi - if [ `stat -c %a /dev/shm` -ne 1777 ]; then - eerror "/dev/shm does not have correct permissions." - eerror "${PN} isn't going to work in that configuration." - eerror "Please run chmod 1777 /dev/shm and try again." - die "/dev/shm has incorrect permissions" - fi - fi - - elog "${PN} might crash occasionally. To get more useful backtraces" - elog "and submit better bug reports, please read" - elog "http://www.gentoo.org/proj/en/qa/backtraces.xml" -} - src_unpack() { subversion_src_unpack mv "${S}" "${WORKDIR}"/depot_tools @@ -119,8 +98,8 @@ src_unpack() { } src_prepare() { - # Allow supporting more media types provided system ffmpeg supports them. - epatch "${FILESDIR}"/${PN}-supported-media-mime-types.patch + # Allow supporting more media types. + epatch "${FILESDIR}"/${PN}-20100122-ubuntu-html5-video-mimetypes.patch } src_configure() { @@ -128,14 +107,6 @@ src_configure() { # Fails to build on arm if we don't do this use arm && append-flags -fno-tree-sink - if use mp3 ; then - append-cflags -DGENTOO_CHROMIUM_MP3_ENABLED - fi - - if use x264 ; then - append-cflags -DGENTOO_CHROMIUM_H264_ENABLED - fi - # CFLAGS/LDFLAGS mkdir -p "${S}"/.gyp || die "cflags mkdir failed" cat << EOF > "${S}"/.gyp/include.gypi || die "cflags cat failed" @@ -203,6 +174,7 @@ src_install() { dodir ${CHROMIUM_HOME} exeinto ${CHROMIUM_HOME} + pax-mark m out/Release/chrome doexe out/Release/chrome doexe out/Release/chrome_sandbox fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox |