parent
6a8eb2de06
commit
a22531cd7a
@ -1 +1 @@
|
||||
DIST muine-0.8.11.tar.bz2 647177 SHA256 fac70bd9ab8a3c7c48c1f48d10f06080f6b5a42ce32cce21a6ab472cb178ecd4
|
||||
DIST muine-0.8.11.tar.bz2 647177 SHA256 fac70bd9ab8a3c7c48c1f48d10f06080f6b5a42ce32cce21a6ab472cb178ecd4 SHA512 13063c1057cc4a5fb9c2cfca6249e3014415cbfa735a89f1ae411705412e379f1252789787aaca5e11f844fcd8c31a319c408c73539ffe173bc03985b3606d79 WHIRLPOOL c1bbe48293d23f922bd34a3b613942d96ae33d419ee7220b9c2dfe33bf769b59f5fe8984ac6549e9c9a5a16c53460c06db3366fabbd2df9e3e4a7996cb161da0
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/muine/muine-0.8.11-r3.ebuild,v 1.1 2014/11/21 13:37:10 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2 mono-env eutils multilib
|
||||
|
||||
DESCRIPTION="A music player for GNOME"
|
||||
HOMEPAGE="http://muine.gooeylinux.org/"
|
||||
SRC_URI="http://download.gnome.org/sources/muine/0.8/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="flac mad vorbis"
|
||||
|
||||
RDEPEND="
|
||||
x11-themes/gnome-icon-theme
|
||||
>=dev-lang/mono-2
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
>=dev-dotnet/gtk-sharp-2.12.9:2
|
||||
>=dev-dotnet/glade-sharp-2.12.6:2
|
||||
>=dev-dotnet/gnome-sharp-2.6:2
|
||||
>=dev-dotnet/gconf-sharp-2.6:2
|
||||
>=dev-dotnet/gnomevfs-sharp-2.6:2
|
||||
>=dev-dotnet/ndesk-dbus-0.4
|
||||
>=dev-dotnet/ndesk-dbus-glib-0.3
|
||||
>=dev-dotnet/taglib-sharp-2.0.3
|
||||
sys-libs/gdbm
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-base:0.10
|
||||
media-libs/gst-plugins-good:0.10
|
||||
media-plugins/gst-plugins-gconf:0.10
|
||||
media-plugins/gst-plugins-gnomevfs:0.10
|
||||
flac? ( media-plugins/gst-plugins-flac:0.10 )
|
||||
mad? ( media-plugins/gst-plugins-mad:0.10 )
|
||||
vorbis? (
|
||||
media-plugins/gst-plugins-ogg:0.10
|
||||
media-plugins/gst-plugins-vorbis:0.10
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/scrollkeeper
|
||||
gnome-base/gnome-common
|
||||
>=dev-util/intltool-0.29
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS PLUGINS README TODO"
|
||||
|
||||
# Fix multimedia key support for >=Gnome-2.22
|
||||
epatch "${FILESDIR}/${P}-multimedia-keys.patch"
|
||||
|
||||
# Replace some deprecated gtk functions
|
||||
epatch "${FILESDIR}/${P}-drop-deprecated.patch"
|
||||
|
||||
# Update icons, upstream bug #623480
|
||||
sed "s:stock_timer:list-add:g" -i src/AddWindow.cs src/StockIcons.cs || die
|
||||
sed "s:stock_music-library:folder-music:g" -i data/glade/PlaylistWindow.glade \
|
||||
src/Actions.cs src/StockIcons.cs || die
|
||||
|
||||
# Fix intltoolize broken file, see upstream #577133
|
||||
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|
||||
|| die "sed failed"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
insinto /usr/$(get_libdir)/${PN}/plugins
|
||||
doins "${S}"/plugins/TrayIcon.dll
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 21 Nov 2014 13:37:00 +0000
|
||||
Fri, 21 Nov 2014 14:37:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 21 Nov 2014 13:37:00 +0000
|
||||
Fri, 21 Nov 2014 14:37:01 +0000
|
||||
|
@ -1,10 +1,10 @@
|
||||
DEFINED_PHASES=install postinst
|
||||
DESCRIPTION=Programmable Completion for zsh (includes emerge and ebuild commands)
|
||||
DESCRIPTION=Gentoo specific zsh completion support (includes emerge and ebuild commands)
|
||||
EAPI=5
|
||||
HOMEPAGE=http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git
|
||||
HOMEPAGE=https://github.com/radhermit/gentoo-zsh-completions
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris
|
||||
LICENSE=ZSH
|
||||
RDEPEND=>=app-shells/zsh-4.3.5
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~radhermit/dist/gentoo-zsh-completions-20141115.tar.xz
|
||||
_md5_=fb5ed95aeeba787fd5df0f9998bc846c
|
||||
_md5_=afdee576dcc480c41d5aad03ab216590
|
||||
|
@ -1,10 +1,10 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DEPEND=>=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Programmable Completion for zsh (includes emerge and ebuild commands)
|
||||
DESCRIPTION=Gentoo specific zsh completion support (includes emerge and ebuild commands)
|
||||
EAPI=5
|
||||
HOMEPAGE=http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git
|
||||
HOMEPAGE=https://github.com/radhermit/gentoo-zsh-completions
|
||||
LICENSE=ZSH
|
||||
RDEPEND=>=app-shells/zsh-4.3.5
|
||||
SLOT=0
|
||||
_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 git-r3 6ebae45064cb04482f3c702632dd9528 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=fd8c44c747d9aa194aff3ab406e4ddfc
|
||||
_md5_=d3b16e5ba138219bd3afc813dfc7cebd
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup unpack
|
||||
DEPEND=x11-themes/gnome-icon-theme >=dev-lang/mono-2 >=x11-libs/gtk+-2.6:2 >=dev-dotnet/gtk-sharp-2.12.9:2 >=dev-dotnet/glade-sharp-2.12.6:2 >=dev-dotnet/gnome-sharp-2.6:2 >=dev-dotnet/gconf-sharp-2.6:2 >=dev-dotnet/gnomevfs-sharp-2.6:2 >=dev-dotnet/ndesk-dbus-0.4 >=dev-dotnet/ndesk-dbus-glib-0.3 >=dev-dotnet/taglib-sharp-2.0.3 sys-libs/gdbm media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 media-libs/gst-plugins-good:0.10 media-plugins/gst-plugins-gconf:0.10 media-plugins/gst-plugins-gnomevfs:0.10 flac? ( media-plugins/gst-plugins-flac:0.10 ) mad? ( media-plugins/gst-plugins-mad:0.10 ) vorbis? ( media-plugins/gst-plugins-ogg:0.10 media-plugins/gst-plugins-vorbis:0.10 ) virtual/pkgconfig app-text/scrollkeeper gnome-base/gnome-common >=dev-util/intltool-0.29 app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=A music player for GNOME
|
||||
EAPI=5
|
||||
HOMEPAGE=http://muine.gooeylinux.org/
|
||||
IUSE=flac mad vorbis debug
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=x11-themes/gnome-icon-theme >=dev-lang/mono-2 >=x11-libs/gtk+-2.6:2 >=dev-dotnet/gtk-sharp-2.12.9:2 >=dev-dotnet/glade-sharp-2.12.6:2 >=dev-dotnet/gnome-sharp-2.6:2 >=dev-dotnet/gconf-sharp-2.6:2 >=dev-dotnet/gnomevfs-sharp-2.6:2 >=dev-dotnet/ndesk-dbus-0.4 >=dev-dotnet/ndesk-dbus-glib-0.3 >=dev-dotnet/taglib-sharp-2.0.3 sys-libs/gdbm media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 media-libs/gst-plugins-good:0.10 media-plugins/gst-plugins-gconf:0.10 media-plugins/gst-plugins-gnomevfs:0.10 flac? ( media-plugins/gst-plugins-flac:0.10 ) mad? ( media-plugins/gst-plugins-mad:0.10 ) vorbis? ( media-plugins/gst-plugins-ogg:0.10 media-plugins/gst-plugins-vorbis:0.10 )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.gnome.org/sources/muine/0.8/muine-0.8.11.tar.bz2
|
||||
_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 9637c29fc715b17a6328f24251129557 gnome2-utils f658eba3cc594a21cf6eef4af47daa90 libtool 52d0e17251d04645ffaa61bfdd858944 mono-env 59ca1177366cc9e14521d3501e9bb281 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=5cae5ef2777c9f60cac63887c61a3fe6
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||
DEPEND=>=app-accessibility/speech-dispatcher-0.8:= app-arch/bzip2:= app-arch/snappy:= cups? ( dev-libs/libgcrypt:0= >=net-print/cups-1.3.11:= ) >=dev-libs/elfutils-0.149 dev-libs/expat:= dev-libs/glib:= dev-libs/icu:= >=dev-libs/jsoncpp-0.5.0-r1:= >=dev-libs/libevent-1.4.13:= dev-libs/libxml2:=[icu] dev-libs/libxslt:= dev-libs/nspr:= >=dev-libs/nss-3.14.3:= dev-libs/re2:= gnome? ( >=gnome-base/gconf-2.24.0:= ) gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) >=media-libs/alsa-lib-1.0.19:= media-libs/flac:= media-libs/fontconfig:= media-libs/freetype:= media-libs/harfbuzz:=[icu(+)] media-libs/libexif:= >=media-libs/libjpeg-turbo-1.2.0-r1:= media-libs/libpng:0= >=media-libs/libwebp-0.4.0:= media-libs/speex:= pulseaudio? ( media-sound/pulseaudio:= ) sys-apps/dbus:= sys-apps/pciutils:= >=sys-libs/libcap-2.22:= sys-libs/zlib:=[minizip] virtual/udev x11-libs/cairo:= x11-libs/gdk-pixbuf:= x11-libs/gtk+:2= x11-libs/libdrm x11-libs/libX11:= x11-libs/libXcomposite:= x11-libs/libXcursor:= x11-libs/libXdamage:= x11-libs/libXext:= x11-libs/libXfixes:= >=x11-libs/libXi-1.6.0:= x11-libs/libXinerama:= x11-libs/libXrandr:= x11-libs/libXrender:= x11-libs/libXScrnSaver:= x11-libs/libXtst:= x11-libs/pango:= kerberos? ( virtual/krb5 ) !arm? ( dev-lang/yasm ) dev-lang/perl dev-perl/JSON >=dev-util/gperf-3.0.3 dev-util/ninja sys-apps/hwids[usb(+)] >=sys-devel/bison-2.4.3 sys-devel/flex virtual/pkgconfig || ( ( >=dev-lang/python-2.7.5-r2:2.7 dev-python/jinja[python_targets_python2_7(-),python_single_target_python2_7(+)] dev-python/ply[python_targets_python2_7(-),python_single_target_python2_7(+)] dev-python/simplejson[python_targets_python2_7(-),python_single_target_python2_7(+)] ) ) >=sys-apps/sed-4 test? ( !prefix? ( x11-base/xorg-server[xvfb] ) x11-apps/xhost )
|
||||
DESCRIPTION=Open-source version of Google Chrome web browser
|
||||
EAPI=5
|
||||
HOMEPAGE=http://chromium.org/
|
||||
IUSE=bindist cups gnome gnome-keyring kerberos neon pic pulseaudio selinux +tcmalloc custom-cflags +linguas_am +linguas_ar +linguas_bg +linguas_bn +linguas_ca +linguas_cs +linguas_da +linguas_de +linguas_el +linguas_en_GB +linguas_es +linguas_es_LA +linguas_et +linguas_fa +linguas_fi +linguas_fil +linguas_fr +linguas_gu +linguas_he +linguas_hi +linguas_hr +linguas_hu +linguas_id +linguas_it +linguas_ja +linguas_kn +linguas_ko +linguas_lt +linguas_lv +linguas_ml +linguas_mr +linguas_ms +linguas_nb +linguas_nl +linguas_pl +linguas_pt_BR +linguas_pt_PT +linguas_ro +linguas_ru +linguas_sk +linguas_sl +linguas_sr +linguas_sv +linguas_sw +linguas_ta +linguas_te +linguas_th +linguas_tr +linguas_uk +linguas_vi +linguas_zh_CN +linguas_zh_TW test
|
||||
KEYWORDS=amd64 ~arm x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=app-accessibility/speech-dispatcher-0.8:= app-arch/bzip2:= app-arch/snappy:= cups? ( dev-libs/libgcrypt:0= >=net-print/cups-1.3.11:= ) >=dev-libs/elfutils-0.149 dev-libs/expat:= dev-libs/glib:= dev-libs/icu:= >=dev-libs/jsoncpp-0.5.0-r1:= >=dev-libs/libevent-1.4.13:= dev-libs/libxml2:=[icu] dev-libs/libxslt:= dev-libs/nspr:= >=dev-libs/nss-3.14.3:= dev-libs/re2:= gnome? ( >=gnome-base/gconf-2.24.0:= ) gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) >=media-libs/alsa-lib-1.0.19:= media-libs/flac:= media-libs/fontconfig:= media-libs/freetype:= media-libs/harfbuzz:=[icu(+)] media-libs/libexif:= >=media-libs/libjpeg-turbo-1.2.0-r1:= media-libs/libpng:0= >=media-libs/libwebp-0.4.0:= media-libs/speex:= pulseaudio? ( media-sound/pulseaudio:= ) sys-apps/dbus:= sys-apps/pciutils:= >=sys-libs/libcap-2.22:= sys-libs/zlib:=[minizip] virtual/udev x11-libs/cairo:= x11-libs/gdk-pixbuf:= x11-libs/gtk+:2= x11-libs/libdrm x11-libs/libX11:= x11-libs/libXcomposite:= x11-libs/libXcursor:= x11-libs/libXdamage:= x11-libs/libXext:= x11-libs/libXfixes:= >=x11-libs/libXi-1.6.0:= x11-libs/libXinerama:= x11-libs/libXrandr:= x11-libs/libXrender:= x11-libs/libXScrnSaver:= x11-libs/libXtst:= x11-libs/pango:= kerberos? ( virtual/krb5 ) !=www-client/chromium-9999 !<www-plugins/chrome-binary-plugins-37 x11-misc/xdg-utils virtual/opengl virtual/ttf-fonts selinux? ( sec-policy/selinux-chromium ) tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )
|
||||
SLOT=0
|
||||
SRC_URI=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-38.0.2125.101.tar.xz
|
||||
_eclasses_=chromium 4a9f555199b35aa57f60b0e9b9627d2a eutils 6faef4c127028ccbba3a11400d24ae34 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 gnome2-utils f658eba3cc594a21cf6eef4af47daa90 linux-info 2b8c53f6065bdee2d757472215a3088f multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils dfe060cb70d89757fde5c1ff8405e950 portability a45c088f246ef5091e029f6285d7ce42 python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 fa6c2a74651117877e00388c61d6ef99 readme.gentoo 106edea5533517715013de909a333abd toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f virtualx 73cfc129b4b9ba23aed1abb10c825d86
|
||||
_md5_=896078600263f92dbf64abd36bb05102
|
@ -1 +1 @@
|
||||
Fri, 21 Nov 2014 13:37:03 +0000
|
||||
Fri, 21 Nov 2014 14:37:04 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Nov 21 13:37:00 UTC 2014
|
||||
Fri Nov 21 14:37:01 UTC 2014
|
||||
|
@ -1 +1 @@
|
||||
Fri, 21 Nov 2014 14:00:01 +0000
|
||||
Fri, 21 Nov 2014 15:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1416576901 Fri 21 Nov 2014 01:35:01 PM UTC UTC
|
||||
1416580501 Fri 21 Nov 2014 02:35:01 PM UTC UTC
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST chromium-38.0.2125.101.tar.xz 248192100 SHA256 d3303519ab471a3bc831e9b366e64dc2fe651894e52ae5d1e74de60ee2a1198a SHA512 fa26435709e278d6406af835fd2cf91c45d2fdc2ba9b93d18124e8eaca191cb205b98031b0e150f7b0b14e630343920d8d5eb23fa19f221e286ccf9e3dbcb47d WHIRLPOOL 0f4a5bdb90eb050a4bb2df1956c89f71a9eb88b359f8932803a8392e81f9b077b65f2d1dc8e5242a50e97e61894d00b8055bc3dcd46d3ec2be4a2c6f554e1aa3
|
||||
DIST chromium-39.0.2171.65-lite.tar.xz 194778184 SHA256 889ea21ba9d627ba1917649c13990efe367678759bd949268d4f31c63e3d3498 SHA512 49347a92831e817a20a0eb5ffebde580840c2bff473522f8a71218ca15bba4435be1670e4aaa8916a39a0761bf31e58c35979a5b349883e2c328e185e436a74e WHIRLPOOL aa209f840290c6208819c3454d42b5fc814fe1eace47bdf16d884e5cb396d4547c00f9240259d8035ce8d047277cf375d95b9d5d7b673e58839ec30cd8ff4555
|
||||
DIST chromium-40.0.2214.10-lite.tar.xz 227293960 SHA256 32478d4c589d6af5519c32847b87d33376b8e4812ec069172f327e7dee39a73b SHA512 df7833e1b3835ed15f3e62bf2a2f68d5bf6dc4d97740771ba0ac40353854956d47449657f78d57f0a6a2dd996b3aa73964da284921f4403249006a254fb46306 WHIRLPOOL 3770b8f64e40bdcf8a3bff37cc708132a66bd76c9cc612686143a7bd7c3a8fe806c0f4a052be73ed8a3354138c3e60a4056a25c26853c4ff8eb27bd6ef2d5c9a
|
||||
DIST chromium-40.0.2214.6-lite.tar.xz 227263404 SHA256 e6d9ff2953aeac1041442f6aa5390509a26db673ee358db7c1d076ccdc380a90 SHA512 bf8bae3ffd290efaef401feec331ad7ee6b65c06c9e7973ae64366975fa7e8c6a7cf8cef56ad1cbba25d56c0c6f58286b4e24135fd8d7d3ee0321c02a661c676 WHIRLPOOL 7d19c3124349b9ca17b76cc18bc7d96d3e9b69f3bb1b23da9e03971499b808cac2f9be9d254bc74ca68c7f3dd3d31169aedeb9ea6f2a717eee14cb9d2cf81997
|
||||
|
@ -1,600 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-38.0.2125.101.ebuild,v 1.4 2014/11/02 10:23:10 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
|
||||
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
|
||||
sv sw ta te th tr uk vi zh_CN zh_TW"
|
||||
|
||||
inherit chromium eutils flag-o-matic multilib multiprocessing pax-utils \
|
||||
portability python-any-r1 readme.gentoo toolchain-funcs versionator virtualx
|
||||
|
||||
DESCRIPTION="Open-source version of Google Chrome web browser"
|
||||
HOMEPAGE="http://chromium.org/"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE="bindist cups gnome gnome-keyring kerberos neon pic pulseaudio selinux +tcmalloc"
|
||||
|
||||
# Native Client binaries are compiled with different set of flags, bug #452066.
|
||||
QA_FLAGS_IGNORED=".*\.nexe"
|
||||
|
||||
# Native Client binaries may be stripped by the build system, which uses the
|
||||
# right tools for it, bug #469144 .
|
||||
QA_PRESTRIPPED=".*\.nexe"
|
||||
|
||||
RDEPEND=">=app-accessibility/speech-dispatcher-0.8:=
|
||||
app-arch/bzip2:=
|
||||
app-arch/snappy:=
|
||||
cups? (
|
||||
dev-libs/libgcrypt:0=
|
||||
>=net-print/cups-1.3.11:=
|
||||
)
|
||||
>=dev-libs/elfutils-0.149
|
||||
dev-libs/expat:=
|
||||
dev-libs/glib:=
|
||||
dev-libs/icu:=
|
||||
>=dev-libs/jsoncpp-0.5.0-r1:=
|
||||
>=dev-libs/libevent-1.4.13:=
|
||||
dev-libs/libxml2:=[icu]
|
||||
dev-libs/libxslt:=
|
||||
dev-libs/nspr:=
|
||||
>=dev-libs/nss-3.14.3:=
|
||||
dev-libs/re2:=
|
||||
gnome? ( >=gnome-base/gconf-2.24.0:= )
|
||||
gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= )
|
||||
>=media-libs/alsa-lib-1.0.19:=
|
||||
media-libs/flac:=
|
||||
media-libs/fontconfig:=
|
||||
media-libs/freetype:=
|
||||
media-libs/harfbuzz:=[icu(+)]
|
||||
media-libs/libexif:=
|
||||
>=media-libs/libjpeg-turbo-1.2.0-r1:=
|
||||
media-libs/libpng:0=
|
||||
>=media-libs/libwebp-0.4.0:=
|
||||
media-libs/speex:=
|
||||
pulseaudio? ( media-sound/pulseaudio:= )
|
||||
sys-apps/dbus:=
|
||||
sys-apps/pciutils:=
|
||||
>=sys-libs/libcap-2.22:=
|
||||
sys-libs/zlib:=[minizip]
|
||||
virtual/udev
|
||||
x11-libs/cairo:=
|
||||
x11-libs/gdk-pixbuf:=
|
||||
x11-libs/gtk+:2=
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11:=
|
||||
x11-libs/libXcomposite:=
|
||||
x11-libs/libXcursor:=
|
||||
x11-libs/libXdamage:=
|
||||
x11-libs/libXext:=
|
||||
x11-libs/libXfixes:=
|
||||
>=x11-libs/libXi-1.6.0:=
|
||||
x11-libs/libXinerama:=
|
||||
x11-libs/libXrandr:=
|
||||
x11-libs/libXrender:=
|
||||
x11-libs/libXScrnSaver:=
|
||||
x11-libs/libXtst:=
|
||||
x11-libs/pango:=
|
||||
kerberos? ( virtual/krb5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
!arm? (
|
||||
dev-lang/yasm
|
||||
)
|
||||
dev-lang/perl
|
||||
dev-perl/JSON
|
||||
>=dev-util/gperf-3.0.3
|
||||
dev-util/ninja
|
||||
sys-apps/hwids[usb(+)]
|
||||
>=sys-devel/bison-2.4.3
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig"
|
||||
# For nvidia-drivers blocker, see bug #413637 .
|
||||
RDEPEND+="
|
||||
!=www-client/chromium-9999
|
||||
!<www-plugins/chrome-binary-plugins-37
|
||||
x11-misc/xdg-utils
|
||||
virtual/opengl
|
||||
virtual/ttf-fonts
|
||||
selinux? ( sec-policy/selinux-chromium )
|
||||
tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )"
|
||||
|
||||
# Python dependencies. The DEPEND part needs to be kept in sync
|
||||
# with python_check_deps.
|
||||
DEPEND+=" $(python_gen_any_dep '
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/ply[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
')"
|
||||
python_check_deps() {
|
||||
has_version "dev-python/jinja[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/ply[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/simplejson[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
|
||||
EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
Some web pages may require additional fonts to display properly.
|
||||
Try installing some of the following packages if some characters
|
||||
are not displayed properly:
|
||||
- media-fonts/arphicfonts
|
||||
- media-fonts/bitstream-cyberbit
|
||||
- media-fonts/droid
|
||||
- media-fonts/ipamonafont
|
||||
- media-fonts/ja-ipafonts
|
||||
- media-fonts/takao-fonts
|
||||
- media-fonts/wqy-microhei
|
||||
- media-fonts/wqy-zenhei
|
||||
|
||||
Depending on your desktop environment, you may need
|
||||
to install additional packages to get icons on the Downloads page.
|
||||
|
||||
For KDE, the required package is kde-base/oxygen-icons.
|
||||
|
||||
For other desktop environments, try one of the following:
|
||||
- x11-themes/gnome-icon-theme
|
||||
- x11-themes/tango-icon-theme
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ "${SLOT}" == "0" ]]; then
|
||||
CHROMIUM_SUFFIX=""
|
||||
else
|
||||
CHROMIUM_SUFFIX="-${SLOT}"
|
||||
fi
|
||||
CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
|
||||
|
||||
# Make sure the build system will use the right python, bug #344367.
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
|
||||
if use bindist; then
|
||||
elog "bindist enabled: H.264 video support will be disabled."
|
||||
else
|
||||
elog "bindist disabled: Resulting binaries may not be legal to re-distribute."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# if ! use arm; then
|
||||
# mkdir -p out/Release/gen/sdk/toolchain || die
|
||||
# # Do not preserve SELinux context, bug #460892 .
|
||||
# cp -a --no-preserve=context /usr/$(get_libdir)/nacl-toolchain-newlib \
|
||||
# out/Release/gen/sdk/toolchain/linux_x86_newlib || die
|
||||
# touch out/Release/gen/sdk/toolchain/linux_x86_newlib/stamp.untar || die
|
||||
# fi
|
||||
|
||||
epatch "${FILESDIR}/${PN}-gcc-4.7-r0.patch"
|
||||
epatch "${FILESDIR}/${PN}-system-jinja-r6.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Remove most bundled libraries. Some are still needed.
|
||||
build/linux/unbundle/remove_bundled_libraries.py \
|
||||
'base/third_party/dmg_fp' \
|
||||
'base/third_party/dynamic_annotations' \
|
||||
'base/third_party/icu' \
|
||||
'base/third_party/nspr' \
|
||||
'base/third_party/superfasthash' \
|
||||
'base/third_party/symbolize' \
|
||||
'base/third_party/valgrind' \
|
||||
'base/third_party/xdg_mime' \
|
||||
'base/third_party/xdg_user_dirs' \
|
||||
'breakpad/src/third_party/curl' \
|
||||
'chrome/third_party/mozilla_security_manager' \
|
||||
'courgette/third_party' \
|
||||
'crypto/third_party/nss' \
|
||||
'net/third_party/mozilla_security_manager' \
|
||||
'net/third_party/nss' \
|
||||
'third_party/WebKit' \
|
||||
'third_party/angle' \
|
||||
'third_party/angle/src/third_party/compiler' \
|
||||
'third_party/brotli' \
|
||||
'third_party/cacheinvalidation' \
|
||||
'third_party/cld_2' \
|
||||
'third_party/cros_system_api' \
|
||||
'third_party/dom_distiller_js' \
|
||||
'third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js' \
|
||||
'third_party/ffmpeg' \
|
||||
'third_party/fips181' \
|
||||
'third_party/flot' \
|
||||
'third_party/hunspell' \
|
||||
'third_party/iccjpeg' \
|
||||
'third_party/jstemplate' \
|
||||
'third_party/khronos' \
|
||||
'third_party/leveldatabase' \
|
||||
'third_party/libaddressinput' \
|
||||
'third_party/libjingle' \
|
||||
'third_party/libphonenumber' \
|
||||
'third_party/libsrtp' \
|
||||
'third_party/libusb' \
|
||||
'third_party/libvpx' \
|
||||
'third_party/libvpx/source/libvpx/third_party/x86inc' \
|
||||
'third_party/libwebm' \
|
||||
'third_party/libxml/chromium' \
|
||||
'third_party/libXNVCtrl' \
|
||||
'third_party/libyuv' \
|
||||
'third_party/lss' \
|
||||
'third_party/lzma_sdk' \
|
||||
'third_party/mesa' \
|
||||
'third_party/modp_b64' \
|
||||
'third_party/mt19937ar' \
|
||||
'third_party/npapi' \
|
||||
'third_party/opus' \
|
||||
'third_party/ots' \
|
||||
'third_party/pdfium' \
|
||||
'third_party/pdfium/third_party/logging.h' \
|
||||
'third_party/pdfium/third_party/macros.h' \
|
||||
'third_party/pdfium/third_party/numerics' \
|
||||
'third_party/pdfium/third_party/template_util.h' \
|
||||
'third_party/polymer' \
|
||||
'third_party/protobuf' \
|
||||
'third_party/qcms' \
|
||||
'third_party/readability' \
|
||||
'third_party/sfntly' \
|
||||
'third_party/skia' \
|
||||
'third_party/smhasher' \
|
||||
'third_party/sqlite' \
|
||||
'third_party/tcmalloc' \
|
||||
'third_party/tlslite' \
|
||||
'third_party/trace-viewer' \
|
||||
'third_party/trace-viewer/third_party/jszip' \
|
||||
'third_party/trace-viewer/third_party/tvcm' \
|
||||
'third_party/trace-viewer/third_party/tvcm/third_party/d3' \
|
||||
'third_party/trace-viewer/third_party/tvcm/third_party/gl-matrix' \
|
||||
'third_party/trace-viewer/third_party/tvcm/third_party/polymer' \
|
||||
'third_party/undoview' \
|
||||
'third_party/usrsctp' \
|
||||
'third_party/webdriver' \
|
||||
'third_party/webrtc' \
|
||||
'third_party/widevine' \
|
||||
'third_party/x86inc' \
|
||||
'third_party/zlib/google' \
|
||||
'url/third_party/mozilla' \
|
||||
'v8/src/third_party/kernel' \
|
||||
'v8/src/third_party/valgrind' \
|
||||
'v8/third_party/fdlibm' \
|
||||
--do-remove || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Never tell the build system to "enable" SSE2, it has a few unexpected
|
||||
# additions, bug #336871.
|
||||
myconf+=" -Ddisable_sse2=1"
|
||||
|
||||
# Disable nacl, we can't build without pnacl (http://crbug.com/269560).
|
||||
myconf+=" -Ddisable_nacl=1"
|
||||
|
||||
# Disable glibc Native Client toolchain, we don't need it (bug #417019).
|
||||
# myconf+=" -Ddisable_glibc=1"
|
||||
|
||||
# TODO: also build with pnacl
|
||||
# myconf+=" -Ddisable_pnacl=1"
|
||||
|
||||
# It would be awkward for us to tar the toolchain and get it untarred again
|
||||
# during the build.
|
||||
# myconf+=" -Ddisable_newlib_untar=1"
|
||||
|
||||
# Make it possible to remove third_party/adobe.
|
||||
echo > "${T}/flapper_version.h" || die
|
||||
myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h"
|
||||
|
||||
# Use system-provided libraries.
|
||||
# TODO: use_system_hunspell (upstream changes needed).
|
||||
# TODO: use_system_libsrtp (bug #459932).
|
||||
# TODO: use_system_libvpx (http://crbug.com/347823).
|
||||
# TODO: use_system_libusb (http://crbug.com/266149).
|
||||
# TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077).
|
||||
# TODO: use_system_protobuf (bug #503084).
|
||||
# TODO: use_system_ssl (http://crbug.com/58087).
|
||||
# TODO: use_system_sqlite (http://crbug.com/22208).
|
||||
myconf+="
|
||||
-Duse_system_bzip2=1
|
||||
-Duse_system_flac=1
|
||||
-Duse_system_harfbuzz=1
|
||||
-Duse_system_icu=1
|
||||
-Duse_system_jsoncpp=1
|
||||
-Duse_system_libevent=1
|
||||
-Duse_system_libjpeg=1
|
||||
-Duse_system_libpng=1
|
||||
-Duse_system_libwebp=1
|
||||
-Duse_system_libxml=1
|
||||
-Duse_system_libxslt=1
|
||||
-Duse_system_minizip=1
|
||||
-Duse_system_nspr=1
|
||||
-Duse_system_re2=1
|
||||
-Duse_system_snappy=1
|
||||
-Duse_system_speex=1
|
||||
-Duse_system_xdg_utils=1
|
||||
-Duse_system_zlib=1"
|
||||
|
||||
# Needed for system icu - we don't need additional data files.
|
||||
myconf+=" -Dicu_use_data_file_flag=0"
|
||||
|
||||
# TODO: patch gyp so that this arm conditional is not needed.
|
||||
if ! use arm; then
|
||||
myconf+="
|
||||
-Duse_system_yasm=1"
|
||||
fi
|
||||
|
||||
# Optional dependencies.
|
||||
# TODO: linux_link_kerberos, bug #381289.
|
||||
myconf+="
|
||||
$(gyp_use cups)
|
||||
$(gyp_use gnome use_gconf)
|
||||
$(gyp_use gnome-keyring use_gnome_keyring)
|
||||
$(gyp_use gnome-keyring linux_link_gnome_keyring)
|
||||
$(gyp_use kerberos)
|
||||
$(gyp_use pulseaudio)
|
||||
$(gyp_use tcmalloc use_allocator tcmalloc none)"
|
||||
|
||||
# Use explicit library dependencies instead of dlopen.
|
||||
# This makes breakages easier to detect by revdep-rebuild.
|
||||
myconf+="
|
||||
-Dlinux_link_gsettings=1
|
||||
-Dlinux_link_libpci=1
|
||||
-Dlinux_link_libspeechd=1
|
||||
-Dlibspeechd_h_prefix=speech-dispatcher/"
|
||||
|
||||
# TODO: use the file at run time instead of effectively compiling it in.
|
||||
myconf+="
|
||||
-Dusb_ids_path=/usr/share/misc/usb.ids"
|
||||
|
||||
# Save space by removing DLOG and DCHECK messages (about 6% reduction).
|
||||
myconf+="
|
||||
-Dlogging_like_official_build=1"
|
||||
|
||||
# Never use bundled gold binary. Disable gold linker flags for now.
|
||||
# Do not use bundled clang.
|
||||
myconf+="
|
||||
-Dclang=0
|
||||
-Dhost_clang=0
|
||||
-Dlinux_use_bundled_binutils=0
|
||||
-Dlinux_use_bundled_gold=0
|
||||
-Dlinux_use_gold_flags=0"
|
||||
|
||||
# Always support proprietary codecs.
|
||||
myconf+=" -Dproprietary_codecs=1"
|
||||
|
||||
ffmpeg_branding="Chromium"
|
||||
if ! use bindist; then
|
||||
# Enable H.264 support in bundled ffmpeg.
|
||||
ffmpeg_branding="Chrome"
|
||||
fi
|
||||
myconf+=" -Dffmpeg_branding=${ffmpeg_branding}"
|
||||
|
||||
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution,
|
||||
# please get your own set of keys. Feel free to contact chromium@gentoo.org
|
||||
# for more info.
|
||||
myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
|
||||
-Dgoogle_default_client_id=329227923882.apps.googleusercontent.com
|
||||
-Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
local myarch="$(tc-arch)"
|
||||
if [[ $myarch = amd64 ]] ; then
|
||||
target_arch=x64
|
||||
ffmpeg_target_arch=x64
|
||||
elif [[ $myarch = x86 ]] ; then
|
||||
target_arch=ia32
|
||||
ffmpeg_target_arch=ia32
|
||||
elif [[ $myarch = arm ]] ; then
|
||||
target_arch=arm
|
||||
ffmpeg_target_arch=$(usex neon arm-neon arm)
|
||||
# TODO: re-enable NaCl (NativeClient).
|
||||
local CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ $(tc-is-softfloat) == "no" ]]; then
|
||||
|
||||
myconf+=" -Darm_float_abi=hard"
|
||||
fi
|
||||
filter-flags "-mfpu=*"
|
||||
use neon || myconf+=" -Darm_fpu=${ARM_FPU:-vfpv3-d16}"
|
||||
|
||||
if [[ ${CTARGET} == armv[78]* ]]; then
|
||||
myconf+=" -Darmv7=1"
|
||||
else
|
||||
myconf+=" -Darmv7=0"
|
||||
fi
|
||||
myconf+=" -Dsysroot=
|
||||
$(gyp_use neon arm_neon)
|
||||
-Ddisable_nacl=1"
|
||||
else
|
||||
die "Failed to determine target arch, got '$myarch'."
|
||||
fi
|
||||
|
||||
myconf+=" -Dtarget_arch=${target_arch}"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't want
|
||||
# the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
# Disable fatal linker warnings, bug 506268.
|
||||
myconf+=" -Ddisable_fatal_linker_warnings=1"
|
||||
|
||||
# Avoid CFLAGS problems, bug #352457, bug #390147.
|
||||
if ! use custom-cflags; then
|
||||
replace-flags "-Os" "-O2"
|
||||
strip-flags
|
||||
|
||||
# Prevent linker from running out of address space, bug #471810 .
|
||||
if use x86; then
|
||||
filter-flags "-g*"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Make sure the build system will use the right tools, bug #340795.
|
||||
tc-export AR CC CXX RANLIB
|
||||
|
||||
# Tools for building programs to be executed on the build system, bug #410883.
|
||||
export AR_host=$(tc-getBUILD_AR)
|
||||
export CC_host=$(tc-getBUILD_CC)
|
||||
export CXX_host=$(tc-getBUILD_CXX)
|
||||
export LD_host=${CXX_host}
|
||||
|
||||
# Bug 491582.
|
||||
export TMPDIR="${WORKDIR}/temp"
|
||||
mkdir -m 755 "${TMPDIR}" || die
|
||||
|
||||
local build_ffmpeg_args=""
|
||||
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then
|
||||
build_ffmpeg_args+=" --disable-asm"
|
||||
fi
|
||||
|
||||
# Re-configure bundled ffmpeg. See bug #491378 for example reasons.
|
||||
einfo "Configuring bundled ffmpeg..."
|
||||
pushd third_party/ffmpeg > /dev/null || die
|
||||
chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \
|
||||
--branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die
|
||||
chromium/scripts/copy_config.sh || die
|
||||
chromium/scripts/generate_gyp.py || die
|
||||
popd > /dev/null || die
|
||||
|
||||
third_party/libaddressinput/chromium/tools/update-strings.py || die
|
||||
|
||||
einfo "Configuring Chromium..."
|
||||
build/linux/unbundle/replace_gyp_files.py ${myconf} || die
|
||||
egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
eninja() {
|
||||
if [[ -z ${NINJAOPTS+set} ]]; then
|
||||
local jobs=$(makeopts_jobs)
|
||||
local loadavg=$(makeopts_loadavg)
|
||||
|
||||
if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
|
||||
NINJAOPTS+=" -j ${jobs}"
|
||||
fi
|
||||
if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then
|
||||
NINJAOPTS+=" -l ${loadavg}"
|
||||
fi
|
||||
fi
|
||||
set -- ninja -v ${NINJAOPTS} "$@"
|
||||
echo "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ninja_targets="chrome chrome_sandbox chromedriver"
|
||||
|
||||
# Build mksnapshot and pax-mark it.
|
||||
eninja -C out/Release mksnapshot || die
|
||||
pax-mark m out/Release/mksnapshot
|
||||
|
||||
# Even though ninja autodetects number of CPUs, we respect
|
||||
# user's options, for debugging with -j 1 or any other reason.
|
||||
eninja -C out/Release ${ninja_targets} || die
|
||||
|
||||
pax-mark m out/Release/chrome
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto "${CHROMIUM_HOME}"
|
||||
doexe out/Release/chrome || die
|
||||
|
||||
newexe out/Release/chrome_sandbox chrome-sandbox || die
|
||||
fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
|
||||
|
||||
doexe out/Release/chromedriver || die
|
||||
|
||||
# if ! use arm; then
|
||||
# doexe out/Release/nacl_helper{,_bootstrap} || die
|
||||
# insinto "${CHROMIUM_HOME}"
|
||||
# doins out/Release/nacl_irt_*.nexe || die
|
||||
# doins out/Release/libppGoogleNaClPluginChrome.so || die
|
||||
# fi
|
||||
|
||||
local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" )
|
||||
if [[ -n ${CHROMIUM_SUFFIX} ]]; then
|
||||
sedargs+=(
|
||||
-e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g"
|
||||
-e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g"
|
||||
-e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:"
|
||||
)
|
||||
fi
|
||||
sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die
|
||||
doexe chromium-launcher.sh
|
||||
|
||||
# It is important that we name the target "chromium-browser",
|
||||
# xdg-utils expect it; bug #355517.
|
||||
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die
|
||||
# keep the old symlink around for consistency
|
||||
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die
|
||||
|
||||
dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver${CHROMIUM_SUFFIX} || die
|
||||
|
||||
# Allow users to override command-line options, bug #357629.
|
||||
dodir /etc/chromium || die
|
||||
insinto /etc/chromium
|
||||
newins "${FILESDIR}/chromium.default" "default" || die
|
||||
|
||||
pushd out/Release/locales > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd
|
||||
|
||||
insinto "${CHROMIUM_HOME}"
|
||||
doins out/Release/*.pak || die
|
||||
|
||||
doins -r out/Release/locales || die
|
||||
doins -r out/Release/resources || die
|
||||
|
||||
newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
|
||||
newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
|
||||
|
||||
doexe out/Release/libffmpegsumo.so || die
|
||||
doexe out/Release/libpdf.so || die
|
||||
|
||||
# Install icons and desktop entry.
|
||||
local branding size
|
||||
for size in 16 22 24 32 48 64 128 256 ; do
|
||||
case ${size} in
|
||||
16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
|
||||
*) branding="chrome/app/theme/chromium" ;;
|
||||
esac
|
||||
newicon -s ${size} "${branding}/product_logo_${size}.png" \
|
||||
chromium-browser${CHROMIUM_SUFFIX}.png
|
||||
done
|
||||
|
||||
local mime_types="text/html;text/xml;application/xhtml+xml;"
|
||||
mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
|
||||
mime_types+="x-scheme-handler/ftp;" # bug #412185
|
||||
mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
|
||||
make_desktop_entry \
|
||||
chromium-browser${CHROMIUM_SUFFIX} \
|
||||
"Chromium${CHROMIUM_SUFFIX}" \
|
||||
chromium-browser${CHROMIUM_SUFFIX} \
|
||||
"Network;WebBrowser" \
|
||||
"MimeType=${mime_types}\nStartupWMClass=chromium-browser"
|
||||
sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
|
||||
|
||||
# Install GNOME default application entry (bug #303100).
|
||||
if use gnome; then
|
||||
dodir /usr/share/gnome-control-center/default-apps || die
|
||||
insinto /usr/share/gnome-control-center/default-apps
|
||||
newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die
|
||||
if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
|
||||
sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \
|
||||
"${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml
|
||||
fi
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
Loading…
Reference in new issue