parent
489f6799c8
commit
f9dfa85f83
@ -1,3 +1,4 @@
|
||||
DIST batteries-2.1.tar.gz 695812 SHA256 ad7b85ebc4404192ef101fa143147dd12713017de7941d71c64f7c7d354e91bf SHA512 03fa0d9ba3333e0b80d2aec087453c13497b419f22229432e7c99a519a03a013c647c9a09e32250f17dad3fe47975ff76901df9dd289c87a877e4665ac344f70 WHIRLPOOL 29c50e51b74964971412a2026d571644920cd367c22b6c62375d19ff4a87342e50a46164317b5da3b40d7d51c2fcf33a3000ba67588ff9a8fbc3608d4f0f1120
|
||||
DIST batteries-2.2.tar.gz 711616 SHA256 7a7139ffa0c0da356a3be63a1024eb15f15eaf6d396b999565e77f77ca789c7c SHA512 023d919cbb402e1386334865dfbd17a5a7a2eb07f8ddce682bab37b1d4b140bf5ce90519744d026ae012da20abbddf65707cff5e2568c9682b8fc69cf3f0977a WHIRLPOOL ba61455f2f4323c420f7b53424449bdda40ddf8f3766d31ac91b4f043d07bd19c53fc6f7d5d47de3debcf1cf30210696a24201e78fc2163a8726a19310b7e274
|
||||
DIST batteries-2.3.tar.gz 728917 SHA256 f54276dfad1b00a90d6d64c4e35621879a1a9409e024f9267155071725d209fe SHA512 0f55e75cc8057ec4ba9683aee91509a3bf2ee93d1990a932cd3924cd602aeeea80a5da50b0651500fc153285b1d80b9378ec1fa656e7f94311e992e9ba308c88 WHIRLPOOL bdab9410456e35f5251dc9994507faf602bb617fd7077b444003960528e38fdf0c97ccab96cd0d4a265402fa457a66635d6948e1c87dac9793069e0b34a18029
|
||||
DIST batteries-2.4.0.tar.gz 739489 SHA256 f13ff15efa35c272e1e63a2604f92c1823d5685cd73d3d6cf00f25f80178439f SHA512 091aad40268aa3826f840e5abdb8be75665df3d026aae4206d467c2e2b2b2f10746280c2baecca3bc9b66a51aadb2346801d1e41ce9ff3cc3b7fd9808b63d193 WHIRLPOOL f1206abea0e1bed86b55e89f511112e113505b6dc4d2ccae185b83fdbddcec0389b1a302b9fca2531e5ba76c24278f68bdd785a187410d984d24f1dddd8a62cf
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="The community-maintained foundation library for your OCaml projects"
|
||||
HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/"
|
||||
SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-ml/camomile:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ml/ounit dev-ml/iTeML )"
|
||||
|
||||
DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
|
||||
|
||||
S="${WORKDIR}/${PN}-included-${PV}"
|
@ -1,2 +1,3 @@
|
||||
DIST pysvn-1.7.10.tar.gz 352631 SHA256 cb8a7eca9fd5d077f4b086c79cc1115a2f38a37979eee836ff258b4da0aee517 SHA512 3404ce53f974ff91a7eecea29176f6b71f1dbb37a716880dfd3d2961d4c6e0c81f87aa46308994d4f7ed6a6cbca7f7451753e1de43ce95fef4443fc5f70ff3aa WHIRLPOOL 99ac425ad2e19355521c73947cf33b2c5bff0023af686d699fdfcd7abc8c5f965974c9762b0dbd3ae3cddfc833e35ac549af1de54ca2472d1354a8fa126e8c36
|
||||
DIST pysvn-1.7.9.tar.gz 352320 SHA256 8a58ea6405e5f5ffd0850fc5ed6bc29a93b3573da099293f49ef3241e5be1692 SHA512 966f9b57f63abc68d82a0f0f0d710d3109c2bd515eb0b0dacdca140b0db32154c802d27b4f79062da19f0d18ff6332b729c6f9c06e0a74742161a00b74bef7aa WHIRLPOOL 53f27a30ce97b723fe0d1a8540221e25e593fc00789eab7b6e2814f3ffe3ff8f485523ad7fe3bff7c1b5d101fb87d694a1c18111d2523895835ea72ea1ee6aab
|
||||
DIST pysvn-1.8.0.tar.gz 366583 SHA256 39596f4884ed689cdb5a4e210e421724302a566c7ba756cc4d46bbfeb0c8326b SHA512 14a70b910be986eba638a903edde5046c93314fedb08a7c15d464dc51da1c7efeb87147cc68c00ff9ac1b4ca506d099d3aedf7e4d86f92642c7304ef9540653b WHIRLPOOL 90a795f4d6a1c353321a116f5676741ce2121122de0426d045893e2688cc10bcd248ffef98da6d920daba70e2406ce136fed972e8172b7e648c6dd02f04e608d
|
||||
|
@ -0,0 +1,99 @@
|
||||
Source/setup_configure.py | 26 +++++++++++++-------------
|
||||
1 file changed, 13 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/Source/setup_configure.py b/Source/setup_configure.py
|
||||
index afeee2d..47f2717 100644
|
||||
--- a/Source/setup_configure.py
|
||||
+++ b/Source/setup_configure.py
|
||||
@@ -849,8 +849,8 @@ class CompilerGCC(Compiler):
|
||||
def __init__( self, setup ):
|
||||
Compiler.__init__( self, setup )
|
||||
|
||||
- self._addVar( 'CCC', 'g++' )
|
||||
- self._addVar( 'CC', 'gcc' )
|
||||
+ self._addVar( 'CCC', '$(CXX)' )
|
||||
+ self._addVar( 'CC', '$(CC)' )
|
||||
|
||||
def getPythonExtensionFileExt( self ):
|
||||
return '.so'
|
||||
@@ -976,8 +976,8 @@ class MacOsxCompilerGCC(CompilerGCC):
|
||||
else:
|
||||
arch_options = ''
|
||||
|
||||
- self._addVar( 'CCC', 'g++ %s' % (arch_options,) )
|
||||
- self._addVar( 'CC', 'gcc %s' % (arch_options,) )
|
||||
+ self._addVar( 'CCC', '$(CXX) %s' % (arch_options,) )
|
||||
+ self._addVar( 'CC', '$(CC) %s' % (arch_options,) )
|
||||
|
||||
self._find_paths_pycxx_dir = [
|
||||
'../Import/pycxx-%d.%d.%d' % pycxx_version,
|
||||
@@ -1032,11 +1032,11 @@ class MacOsxCompilerGCC(CompilerGCC):
|
||||
|
||||
def setupUtilities( self ):
|
||||
self._addVar( 'CCCFLAGS',
|
||||
- '-g '
|
||||
+ '$(CXXFLAGS) '
|
||||
'-Wall -fPIC -fexceptions -frtti '
|
||||
'-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
|
||||
'-D%(DEBUG)s' )
|
||||
- self._addVar( 'LDEXE', '%(CCC)s -g' )
|
||||
+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
|
||||
|
||||
def setupPySvn( self ):
|
||||
self._pysvnModuleSetup()
|
||||
@@ -1048,7 +1048,7 @@ class MacOsxCompilerGCC(CompilerGCC):
|
||||
self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
|
||||
|
||||
py_cflags_list = [
|
||||
- '-g',
|
||||
+ '$(CXXFLAGS) ',
|
||||
'-Wall -fPIC -fexceptions -frtti',
|
||||
'-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
|
||||
'-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
|
||||
@@ -1074,13 +1074,12 @@ class MacOsxCompilerGCC(CompilerGCC):
|
||||
|
||||
self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
|
||||
self._addVar( 'LDLIBS', ' '.join( py_ld_libs ) )
|
||||
- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g '
|
||||
+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -bundle '
|
||||
'-framework System '
|
||||
'%(PYTHON_FRAMEWORK)s '
|
||||
'-framework CoreFoundation '
|
||||
'-framework Kerberos '
|
||||
- '-framework Security '
|
||||
- '%(LDLIBS)s' )
|
||||
+ '-framework Security' )
|
||||
|
||||
class UnixCompilerGCC(CompilerGCC):
|
||||
def __init__( self, setup ):
|
||||
@@ -1140,11 +1139,11 @@ class UnixCompilerGCC(CompilerGCC):
|
||||
|
||||
def setupUtilities( self ):
|
||||
self._addVar( 'CCCFLAGS',
|
||||
- '-g '
|
||||
+ '$(CXXFLAGS) '
|
||||
'-Wall -fPIC -fexceptions -frtti '
|
||||
'-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
|
||||
'-D%(DEBUG)s' )
|
||||
- self._addVar( 'LDEXE', '%(CCC)s -g' )
|
||||
+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
|
||||
|
||||
def setupPySvn( self ):
|
||||
self._pysvnModuleSetup()
|
||||
@@ -1155,6 +1154,7 @@ class UnixCompilerGCC(CompilerGCC):
|
||||
self._addVar( 'PYTHON_ARCH_SPECIFIC_INC', distutils.sysconfig.get_python_inc( True ) )
|
||||
|
||||
py_cflags_list = [
|
||||
+ '$(CXXFLAGS)',
|
||||
'-Wall -fPIC -fexceptions -frtti',
|
||||
'-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
|
||||
'-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
|
||||
@@ -1176,7 +1176,7 @@ class UnixCompilerGCC(CompilerGCC):
|
||||
|
||||
self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
|
||||
self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
|
||||
- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
|
||||
+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -shared' )
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
class LinuxCompilerGCC(UnixCompilerGCC):
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit eutils distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Object-oriented python bindings for subversion"
|
||||
HOMEPAGE="http://pysvn.tigris.org/"
|
||||
SRC_URI="http://pysvn.barrys-emacs.org/source_kits/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/pycxx-6.2.6[${PYTHON_USEDEP}]
|
||||
dev-vcs/subversion"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-respect_flags.patch )
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=true
|
||||
|
||||
python_prepare_all() {
|
||||
# Don't use internal copy of dev-python/pycxx.
|
||||
rm -r Import || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
cd Source || die
|
||||
# all config options from 1.7.6 are all already set
|
||||
esetup.py configure
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd Source || die
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd Tests || die
|
||||
emake
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd Source || die
|
||||
python_domodule pysvn
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( Docs/. )
|
||||
use examples && local EXAMPLES=( Examples/Client/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 09:43:45 +0000
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 09:43:46 +0000
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=dev-ml/camomile:= test? ( dev-ml/ounit dev-ml/iTeML ) >=dev-ml/findlib-1.0.4-r1 >=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
DESCRIPTION=The community-maintained foundation library for your OCaml projects
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/ocaml-batteries-team/batteries-included/
|
||||
IUSE=test +ocamlopt debug
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=LGPL-2.1-with-linking-exception
|
||||
RDEPEND=dev-ml/camomile:= >=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
SLOT=0/2.4.0
|
||||
SRC_URI=https://github.com/ocaml-batteries-team/batteries-included/archive/v2.4.0.tar.gz -> batteries-2.4.0.tar.gz
|
||||
_eclasses_=base 3fe4f8980633fd7bc69e9887209ba2fe eutils d9bd2ddd85a58e470b49ca997e255a4c findlib 9909e5ca0f77ff5b693885a3d7aeadb7 multilib 3972ca401cf7dbb430df9995f5d8d580 oasis dab31007fb098ff15db810bfe5001e64 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=3e362607724bd8ec72463b8cc22f1c3e
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-python/pycxx-6.2.6[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-vcs/subversion python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=Object-oriented python bindings for subversion
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pysvn.tigris.org/
|
||||
IUSE=doc examples python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris
|
||||
LICENSE=Apache-1.1
|
||||
RDEPEND=>=dev-python/pycxx-6.2.6[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-vcs/subversion python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=http://pysvn.barrys-emacs.org/source_kits/pysvn-1.8.0.tar.gz
|
||||
_eclasses_=distutils-r1 ad2c2233bbbe5ff87ac352969fabd418 eutils d9bd2ddd85a58e470b49ca997e255a4c multibuild 706332a8d833c077e1aa37faa1ebf162 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 98eaa2ec9918bbf0571252d6c6d894f2 python-utils-r1 832cb17726d498a182de6b9ee2adc0dc toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=3bbb9b5836e1109568efb06ff6bb6fbd
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup
|
||||
DEPEND=>=app-accessibility/speech-dispatcher-0.8:= app-arch/bzip2:= app-arch/snappy:= cups? ( >=net-print/cups-1.3.11:= ) >=dev-libs/elfutils-0.149 dev-libs/expat:= dev-libs/glib:= >=dev-libs/icu-55.1:= >=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:= ) system-ffmpeg? ( >=media-video/ffmpeg-2.7.2:=[opus,vorbis,vpx] ) sys-apps/dbus:= sys-apps/pciutils:= >=sys-libs/libcap-2.22:= sys-libs/zlib:=[minizip] virtual/udev x11-libs/cairo:= x11-libs/gdk-pixbuf:= gtk3? ( x11-libs/gtk+:3= ) !gtk3? ( 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/beautifulsoup:python-2[python_targets_python2_7(-),python_single_target_python2_7(+)] dev-python/beautifulsoup:4[python_targets_python2_7(-),python_single_target_python2_7(+)] dev-python/html5lib[python_targets_python2_7(-),python_single_target_python2_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=cups gnome gnome-keyring gtk3 +hangouts hidpi hotwording kerberos neon pic +proprietary-codecs pulseaudio selinux +system-ffmpeg +tcmalloc widevine 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 hotwording? ( no-source-code )
|
||||
RDEPEND=>=app-accessibility/speech-dispatcher-0.8:= app-arch/bzip2:= app-arch/snappy:= cups? ( >=net-print/cups-1.3.11:= ) >=dev-libs/elfutils-0.149 dev-libs/expat:= dev-libs/glib:= >=dev-libs/icu-55.1:= >=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:= ) system-ffmpeg? ( >=media-video/ffmpeg-2.7.2:=[opus,vorbis,vpx] ) sys-apps/dbus:= sys-apps/pciutils:= >=sys-libs/libcap-2.22:= sys-libs/zlib:=[minizip] virtual/udev x11-libs/cairo:= x11-libs/gdk-pixbuf:= gtk3? ( x11-libs/gtk+:3= ) !gtk3? ( 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 ) widevine? ( www-plugins/chrome-binary-plugins[widevine(-)] )
|
||||
RESTRICT=!system-ffmpeg? ( proprietary-codecs? ( bindist ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-47.0.2526.80-lite.tar.xz
|
||||
_eclasses_=check-reqs 4f43fb72bc73bd58d75ec601713fae20 chromium e6257bd55bfdac1269e99d4d7ed21cda eutils d9bd2ddd85a58e470b49ca997e255a4c fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils b441f26f494b8565a3e0010c093dc843 linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 pax-utils 9dd3f9de6dccb2463faf55e568439d1c portability 3a50b3ec310b86914f98babecc8f89c6 python-any-r1 0ee3a2b43a7ff470ba57bc6e0ee386b3 python-utils-r1 832cb17726d498a182de6b9ee2adc0dc readme.gentoo cbc4807273837f5fccb5372e385e99eb toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx e0b4d88543a7001a6b55bc2c81dcfd48 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=f08506ebc7338b11ad0793f61274caf1
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=x11-libs/libdrm-2.4.46[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] X? ( >=x11-libs/libX11-1.6.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=x11-libs/libXext-1.3.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=x11-libs/libXfixes-5.0.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) egl? ( >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) opengl? ( >=virtual/opengl-7.0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) wayland? ( >=dev-libs/wayland-1.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Video Acceleration (VA) API for Linux
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.freedesktop.org/wiki/Software/vaapi
|
||||
IUSE=+drm egl opengl vdpau wayland X video_cards_dummy video_cards_nvidia video_cards_intel video_cards_fglrx video_cards_nouveau abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=MIT
|
||||
PDEPEND=video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) video_cards_fglrx? ( || ( >=x11-drivers/ati-drivers-14.12-r3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=x11-libs/xvba-video-0.8.0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) video_cards_intel? ( >=x11-libs/libva-intel-driver-1.2.2-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||
RDEPEND=>=x11-libs/libdrm-2.4.46[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] X? ( >=x11-libs/libX11-1.6.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=x11-libs/libXext-1.3.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=x11-libs/libXfixes-5.0.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) egl? ( >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) opengl? ( >=virtual/opengl-7.0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) wayland? ( >=dev-libs/wayland-1.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||
REQUIRED_USE=|| ( drm wayland X ) opengl? ( X )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.6.2.tar.bz2
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c autotools-multilib 77afca16a6cb82823eed6366a10e7f75 autotools-utils 419811142edf3516b0d0cf1a254d93cb eutils d9bd2ddd85a58e470b49ca997e255a4c libtool b75230758539a7da029e24afdb693960 multibuild 706332a8d833c077e1aa37faa1ebf162 multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=f6719273271cec2d6ed8da0faf075593
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=x11-libs/libva-1.6[X?,wayland?,drm?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] !<x11-libs/libva-1.0.15[video_cards_intel] >=x11-libs/libdrm-2.4.46[video_cards_intel,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] wayland? ( >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/wayland-1.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=HW video decode support for Intel integrated graphics
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.freedesktop.org/wiki/Software/vaapi
|
||||
IUSE=+drm wayland X abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=x11-libs/libva-1.6[X?,wayland?,drm?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] !<x11-libs/libva-1.0.15[video_cards_intel] >=x11-libs/libdrm-2.4.46[video_cards_intel,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] wayland? ( >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/wayland-1.0.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/libva-intel-driver-1.6.2.tar.bz2
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c autotools-multilib 77afca16a6cb82823eed6366a10e7f75 autotools-utils 419811142edf3516b0d0cf1a254d93cb eutils d9bd2ddd85a58e470b49ca997e255a4c libtool b75230758539a7da029e24afdb693960 multibuild 706332a8d833c077e1aa37faa1ebf162 multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=bbc786f04e8816e7baac61a4f4f047e1
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 09:43:46 +0000
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu Dec 17 09:42:51 UTC 2015
|
||||
Thu Dec 17 11:42:46 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 10:00:01 +0000
|
||||
Thu, 17 Dec 2015 12:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1450345201 Thu 17 Dec 2015 09:40:01 AM UTC
|
||||
1450352401 Thu 17 Dec 2015 11:40:01 AM UTC
|
||||
|
@ -1,655 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_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 check-reqs 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}-lite.tar.xz"
|
||||
|
||||
LICENSE="BSD hotwording? ( no-source-code )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE="cups gnome gnome-keyring gtk3 +hangouts hidpi hotwording kerberos neon pic +proprietary-codecs pulseaudio selinux +system-ffmpeg +tcmalloc widevine"
|
||||
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )"
|
||||
|
||||
# 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? ( >=net-print/cups-1.3.11:= )
|
||||
>=dev-libs/elfutils-0.149
|
||||
dev-libs/expat:=
|
||||
dev-libs/glib:=
|
||||
>=dev-libs/icu-55.1:=
|
||||
>=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:= )
|
||||
system-ffmpeg? ( >=media-video/ffmpeg-2.7.2:=[opus,vorbis,vpx] )
|
||||
sys-apps/dbus:=
|
||||
sys-apps/pciutils:=
|
||||
>=sys-libs/libcap-2.22:=
|
||||
sys-libs/zlib:=[minizip]
|
||||
virtual/udev
|
||||
x11-libs/cairo:=
|
||||
x11-libs/gdk-pixbuf:=
|
||||
gtk3? ( x11-libs/gtk+:3= )
|
||||
!gtk3? ( 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 )
|
||||
widevine? ( www-plugins/chrome-binary-plugins[widevine(-)] )"
|
||||
|
||||
# Python dependencies. The DEPEND part needs to be kept in sync
|
||||
# with python_check_deps.
|
||||
DEPEND+=" $(python_gen_any_dep '
|
||||
dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/ply[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
')"
|
||||
python_check_deps() {
|
||||
has_version "dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/html5lib[${PYTHON_USEDEP}]" && \
|
||||
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-frameworks/oxygen-icons.
|
||||
|
||||
For other desktop environments, try one of the following:
|
||||
- x11-themes/gnome-icon-theme
|
||||
- x11-themes/tango-icon-theme
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ $(tc-getCC)$ == *gcc* ]] && \
|
||||
[[ $(gcc-major-version)$(gcc-minor-version) -lt 48 ]]; then
|
||||
die 'At least gcc 4.8 is required, see bugs: #535730, #525374, #518668.'
|
||||
fi
|
||||
|
||||
# Check build requirements, bug #541816 and bug #471810 .
|
||||
CHECKREQS_MEMORY="3G"
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
CHECKREQS_DISK_BUILD="25G"
|
||||
fi
|
||||
eshopts_pop
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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}-system-ffmpeg-r0.patch"
|
||||
epatch "${FILESDIR}/${PN}-system-jinja-r7.patch"
|
||||
epatch "${FILESDIR}/chromium-widevine-r1.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
local conditional_bundled_libraries=""
|
||||
if ! use system-ffmpeg; then
|
||||
conditional_bundled_libraries+=" third_party/ffmpeg"
|
||||
fi
|
||||
|
||||
# Remove most bundled libraries. Some are still needed.
|
||||
build/linux/unbundle/remove_bundled_libraries.py \
|
||||
${conditional_bundled_libraries} \
|
||||
'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/analytics' \
|
||||
'third_party/angle' \
|
||||
'third_party/angle/src/third_party/compiler' \
|
||||
'third_party/boringssl' \
|
||||
'third_party/brotli' \
|
||||
'third_party/cacheinvalidation' \
|
||||
'third_party/catapult' \
|
||||
'third_party/catapult/tracing/third_party/components/polymer' \
|
||||
'third_party/catapult/tracing/third_party/d3' \
|
||||
'third_party/catapult/tracing/third_party/gl-matrix' \
|
||||
'third_party/catapult/tracing/third_party/jszip' \
|
||||
'third_party/catapult/tracing/third_party/tvcm' \
|
||||
'third_party/catapult/tracing/third_party/tvcm/third_party/rcssmin' \
|
||||
'third_party/catapult/tracing/third_party/tvcm/third_party/rjsmin' \
|
||||
'third_party/cld_2' \
|
||||
'third_party/cros_system_api' \
|
||||
'third_party/cython/python_flags.py' \
|
||||
'third_party/devscripts' \
|
||||
'third_party/dom_distiller_js' \
|
||||
'third_party/dom_distiller_js/dist/proto_gen/third_party/dom_distiller_js' \
|
||||
'third_party/fips181' \
|
||||
'third_party/flot' \
|
||||
'third_party/google_input_tools' \
|
||||
'third_party/google_input_tools/third_party/closure_library' \
|
||||
'third_party/google_input_tools/third_party/closure_library/third_party/closure' \
|
||||
'third_party/hunspell' \
|
||||
'third_party/iccjpeg' \
|
||||
'third_party/jstemplate' \
|
||||
'third_party/khronos' \
|
||||
'third_party/leveldatabase' \
|
||||
'third_party/libXNVCtrl' \
|
||||
'third_party/libaddressinput' \
|
||||
'third_party/libjingle' \
|
||||
'third_party/libphonenumber' \
|
||||
'third_party/libsecret' \
|
||||
'third_party/libsrtp' \
|
||||
'third_party/libudev' \
|
||||
'third_party/libusb' \
|
||||
'third_party/libvpx_new' \
|
||||
'third_party/libvpx_new/source/libvpx/third_party/x86inc' \
|
||||
'third_party/libxml/chromium' \
|
||||
'third_party/libwebm' \
|
||||
'third_party/libyuv' \
|
||||
'third_party/lss' \
|
||||
'third_party/lzma_sdk' \
|
||||
'third_party/mesa' \
|
||||
'third_party/modp_b64' \
|
||||
'third_party/mojo' \
|
||||
'third_party/mt19937ar' \
|
||||
'third_party/npapi' \
|
||||
'third_party/openmax_dl' \
|
||||
'third_party/opus' \
|
||||
'third_party/ots' \
|
||||
'third_party/pdfium' \
|
||||
'third_party/pdfium/third_party/agg23' \
|
||||
'third_party/pdfium/third_party/base' \
|
||||
'third_party/pdfium/third_party/bigint' \
|
||||
'third_party/pdfium/third_party/freetype' \
|
||||
'third_party/pdfium/third_party/lcms2-2.6' \
|
||||
'third_party/pdfium/third_party/libjpeg' \
|
||||
'third_party/pdfium/third_party/libopenjpeg20' \
|
||||
'third_party/pdfium/third_party/zlib_v128' \
|
||||
'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/usrsctp' \
|
||||
'third_party/web-animations-js' \
|
||||
'third_party/webdriver' \
|
||||
'third_party/webrtc' \
|
||||
'third_party/widevine' \
|
||||
'third_party/x86inc' \
|
||||
'third_party/zlib/google' \
|
||||
'url/third_party/mozilla' \
|
||||
'v8/src/third_party/fdlibm' \
|
||||
'v8/src/third_party/valgrind' \
|
||||
--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_libusb (http://crbug.com/266149).
|
||||
# TODO: use_system_libvpx (http://crbug.com/494939).
|
||||
# TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077).
|
||||
# TODO: use_system_protobuf (bug #525560).
|
||||
# TODO: use_system_ssl (http://crbug.com/58087).
|
||||
# TODO: use_system_sqlite (http://crbug.com/22208).
|
||||
myconf+="
|
||||
-Duse_system_bzip2=1
|
||||
-Duse_system_ffmpeg=$(usex system-ffmpeg 1 0)
|
||||
-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 gtk3)
|
||||
$(gyp_use hangouts enable_hangout_services_extension)
|
||||
$(gyp_use hidpi enable_hidpi)
|
||||
$(gyp_use hotwording enable_hotwording)
|
||||
$(gyp_use kerberos)
|
||||
$(gyp_use pulseaudio)
|
||||
$(gyp_use tcmalloc use_allocator tcmalloc none)
|
||||
$(gyp_use widevine enable_widevine)"
|
||||
|
||||
# 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"
|
||||
|
||||
if [[ $(tc-getCC) == *clang* ]]; then
|
||||
myconf+=" -Dclang=1"
|
||||
else
|
||||
myconf+=" -Dclang=0"
|
||||
fi
|
||||
|
||||
# Never use bundled gold binary. Disable gold linker flags for now.
|
||||
# Do not use bundled clang.
|
||||
myconf+="
|
||||
-Dclang_use_chrome_plugins=0
|
||||
-Dhost_clang=0
|
||||
-Dlinux_use_bundled_binutils=0
|
||||
-Dlinux_use_bundled_gold=0
|
||||
-Dlinux_use_gold_flags=0"
|
||||
|
||||
ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)"
|
||||
myconf+=" -Dproprietary_codecs=1 -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
|
||||
|
||||
# Prevent libvpx build failures. Bug 530248, 544702, 546984.
|
||||
if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then
|
||||
filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2
|
||||
fi
|
||||
fi
|
||||
|
||||
# Make sure the build system will use the right tools, bug #340795.
|
||||
tc-export AR CC CXX NM
|
||||
|
||||
# Tools for building programs to be executed on the build system, bug #410883.
|
||||
if tc-is-cross-compiler; then
|
||||
export AR_host=$(tc-getBUILD_AR)
|
||||
export CC_host=$(tc-getBUILD_CC)
|
||||
export CXX_host=$(tc-getBUILD_CXX)
|
||||
export NM_host=$(tc-getBUILD_NM)
|
||||
fi
|
||||
|
||||
# Bug 491582.
|
||||
export TMPDIR="${WORKDIR}/temp"
|
||||
mkdir -p -m 755 "${TMPDIR}" || die
|
||||
|
||||
if ! use system-ffmpeg; then
|
||||
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
|
||||
fi
|
||||
|
||||
third_party/libaddressinput/chromium/tools/update-strings.py || die
|
||||
|
||||
touch chrome/test/data/webui/i18n_process_css_test.html || 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
|
||||
use widevine && doexe out/Release/libwidevinecdmadapter.so
|
||||
|
||||
# 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/*.bin || die
|
||||
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
|
||||
|
||||
# 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
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SCM=git-2
|
||||
EGIT_BRANCH=master
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/vaapi/intel-driver"
|
||||
fi
|
||||
|
||||
AUTOTOOLS_AUTORECONF="yes"
|
||||
inherit autotools-multilib ${SCM}
|
||||
|
||||
DESCRIPTION="HW video decode support for Intel integrated graphics"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SRC_URI=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
SRC_URI="http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="+drm wayland X"
|
||||
|
||||
RDEPEND=">=x11-libs/libva-1.6[X?,wayland?,drm?,${MULTILIB_USEDEP}]
|
||||
!<x11-libs/libva-1.0.15[video_cards_intel]
|
||||
>=x11-libs/libdrm-2.4.46[video_cards_intel,${MULTILIB_USEDEP}]
|
||||
wayland? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
# Fix automagic depend, bug #529388
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=79478
|
||||
"${FILESDIR}"/${PN}-1.6.0-wayland-automagic.patch
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable drm)
|
||||
$(use_enable wayland)
|
||||
$(use_enable X x11)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SCM=git-2
|
||||
EGIT_BRANCH=master
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/libva"
|
||||
fi
|
||||
|
||||
AUTOTOOLS_AUTORECONF="yes"
|
||||
inherit autotools-multilib ${SCM} multilib
|
||||
|
||||
DESCRIPTION="Video Acceleration (VA) API for Linux"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SRC_URI=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
SRC_URI="http://www.freedesktop.org/software/vaapi/releases/libva/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="+drm egl opengl vdpau wayland X"
|
||||
|
||||
VIDEO_CARDS="dummy nvidia intel fglrx nouveau"
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE+=" video_cards_${x}"
|
||||
done
|
||||
|
||||
RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] )
|
||||
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
|
||||
video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] )
|
||||
video_cards_fglrx? (
|
||||
|| ( >=x11-drivers/ati-drivers-14.12-r3[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/xvba-video-0.8.0-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
video_cards_intel? ( >=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( drm wayland X )
|
||||
opengl? ( X )"
|
||||
|
||||
DOCS=( NEWS )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/va/va_backend_glx.h
|
||||
/usr/include/va/va_x11.h
|
||||
/usr/include/va/va_dri2.h
|
||||
/usr/include/va/va_dricommon.h
|
||||
/usr/include/va/va_glx.h
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
|
||||
$(use_enable video_cards_dummy dummy-driver)
|
||||
$(use_enable opengl glx)
|
||||
$(use_enable X x11)
|
||||
$(use_enable wayland)
|
||||
$(use_enable egl)
|
||||
$(use_enable drm)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
Loading…
Reference in new issue