From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E5677138A1A for ; Wed, 14 Jan 2015 22:22:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 564B3E0825; Wed, 14 Jan 2015 22:22:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7543E0825 for ; Wed, 14 Jan 2015 22:22:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7E953406A7 for ; Wed, 14 Jan 2015 22:22:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74E94F963 for ; Wed, 14 Jan 2015 22:22:14 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1421274026.febe79c4e81cedf0555787498ddcea70dfa3db41.sping@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: www-client/chromium-bin-debian/ X-VCS-Repository: proj/betagarden X-VCS-Files: www-client/chromium-bin-debian/chromium-bin-debian-39.0.2171.71_p2.ebuild X-VCS-Directories: www-client/chromium-bin-debian/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: febe79c4e81cedf0555787498ddcea70dfa3db41 X-VCS-Branch: master Date: Wed, 14 Jan 2015 22:22:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 11f84564-1f8c-4e76-93cc-e8d492e58af2 X-Archives-Hash: dd3c5750db0503b46202e1a530865765 commit: febe79c4e81cedf0555787498ddcea70dfa3db41 Author: Sebastian Pipping pipping org> AuthorDate: Wed Jan 14 22:20:26 2015 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jan 14 22:20:26 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=febe79c4 www-client/chromium-bin-debian: 39.0.2171.71_p2 --- .../chromium-bin-debian-39.0.2171.71_p2.ebuild | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-39.0.2171.71_p2.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-39.0.2171.71_p2.ebuild new file mode 100644 index 0000000..bf7f615 --- /dev/null +++ b/www-client/chromium-bin-debian/chromium-bin-debian-39.0.2171.71_p2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +inherit multilib unpacker + +MY_PV=${PV/_p/-} +MY_PN=${PN%%-bin-debian} + +DESCRIPTION="Chromium build from Debian unstable" +HOMEPAGE="http://packages.debian.org/sid/chromium" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN:0:8}-browser/${PN:0:8}_${MY_PV}_amd64.deb" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +UDEV_V=198 + +DEPEND="app-arch/dpkg" +RDEPEND=" + app-accessibility/speech-dispatcher + dev-libs/expat + dev-libs/glib:2 + dev-libs/libevent + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + gnome-base/libgnome-keyring + media-libs/alsa-lib + media-libs/flac + media-libs/fontconfig + media-libs/freetype + media-libs/jpeg:62 + media-libs/harfbuzz + media-libs/libvpx + media-libs/speex + >=media-sound/pulseaudio-2.0 + net-libs/libsrtp + net-print/cups + sys-apps/dbus + || ( >=sys-apps/systemd-${UDEV_V} >=virtual/udev-${UDEV_V} ) + >=sys-devel/gcc-4.9[cxx] + sys-libs/libcap + sys-apps/pciutils + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+ + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango + " + +S=${WORKDIR} + +QA_PREBUILT="usr/lib*/${MY_PN}/*" + +src_install() { + mv "${S}"/{usr,etc} "${D}"/ || die + + local libdir=$(get_libdir) + [[ "${libdir}" != lib ]] && { + mv "${D}"/usr/{lib,"${libdir}"} || die + } + + echo sid > "${D}"/etc/debian_version || die + + # Link to Flash (not in RDEPEND) + local flash_plugin_dir=/usr/${libdir}/firefox/plugins + dodir "${flash_plugin_dir}" + ln -s ../../nsbrowser/plugins/libflashplayer.so "${D}"/${flash_plugin_dir}/libflashplayer.so || die + + # Otherwise: + # [14345:14345:0708/125539:FATAL:zygote_host_impl_linux.cc(140)] + # The SUID sandbox helper binary was found, but is not configured correctly. + # Rather than run without sandboxing I'm aborting now. You need to make sure + # that /usr/lib/chromium/chromium-sandbox is owned by root and has mode 4755. + # Aborted + chmod 4755 "${D}"/usr/${libdir}/${MY_PN}/chrome-sandbox || die +}