summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-07-20 21:39:37 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-07-20 21:39:37 +0000
commitb076d15c01885860a6bc2ac8fb3ae905ef8407c4 (patch)
tree9ac870e359863aced0745214b94b46eaf67c16b6 /www-client
parentRevision bump to add patches as reported upstream, bug 370131 by Diego Elio P... (diff)
downloadgentoo-2-b076d15c01885860a6bc2ac8fb3ae905ef8407c4.tar.gz
gentoo-2-b076d15c01885860a6bc2ac8fb3ae905ef8407c4.tar.bz2
gentoo-2-b076d15c01885860a6bc2ac8fb3ae905ef8407c4.zip
Back to system ffmpeg, bug #371931 by Ambroz Bizjak.
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/ChangeLog9
-rw-r--r--www-client/chromium/chromium-14.0.825.0-r1.ebuild (renamed from www-client/chromium/chromium-14.0.814.0.ebuild)32
-rw-r--r--www-client/chromium/chromium-9999-r1.ebuild21
3 files changed, 33 insertions, 29 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index 8fc7afa9f6b8..cf68bdc8abf6 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.403 2011/07/20 12:02:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.404 2011/07/20 21:39:37 phajdan.jr Exp $
+
+*chromium-14.0.825.0-r1 (20 Jul 2011)
+
+ 20 Jul 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ -chromium-14.0.814.0.ebuild, +chromium-14.0.825.0-r1.ebuild,
+ chromium-9999-r1.ebuild:
+ Back to system ffmpeg, bug #371931 by Ambroz Bizjak.
20 Jul 2011; Fabian Groffen <grobian@gentoo.org>
chromium-13.0.782.41-r1.ebuild, chromium-14.0.825.0.ebuild,
diff --git a/www-client/chromium/chromium-14.0.814.0.ebuild b/www-client/chromium/chromium-14.0.825.0-r1.ebuild
index 71ca03349185..76d65d5a1979 100644
--- a/www-client/chromium/chromium-14.0.814.0.ebuild
+++ b/www-client/chromium/chromium-14.0.825.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-14.0.814.0.ebuild,v 1.2 2011/07/18 17:12:11 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-14.0.825.0-r1.ebuild,v 1.1 2011/07/20 21:39:37 phajdan.jr Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
@@ -15,7 +15,7 @@ SRC_URI="http://build.chromium.org/official/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cups gnome gnome-keyring kerberos xinerama"
+IUSE="cups gnome gnome-keyring kerberos"
# en_US is ommitted on purpose from the list below. It must always be available.
LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr
@@ -43,18 +43,18 @@ RDEPEND="app-arch/bzip2
media-libs/speex
cups? ( >=net-print/cups-1.3.11 )
sys-libs/zlib
+ >=virtual/ffmpeg-0.6.90[threads]
x11-libs/gtk+:2
+ x11-libs/libXinerama
x11-libs/libXScrnSaver
x11-libs/libXtst"
DEPEND="${RDEPEND}
dev-lang/perl
- dev-lang/yasm
>=dev-util/gperf-3.0.3
>=dev-util/pkgconfig-0.23
>=sys-devel/bison-2.4.3
sys-devel/flex
>=sys-devel/make-3.81-r2
- x11-libs/libXinerama
test? (
dev-python/pyftpdlib
dev-python/simplejson
@@ -62,7 +62,6 @@ DEPEND="${RDEPEND}
)"
RDEPEND+="
kerberos? ( virtual/krb5 )
- xinerama? ( x11-libs/libXinerama )
x11-misc/xdg-utils
virtual/ttf-fonts"
@@ -116,6 +115,9 @@ pkg_setup() {
}
src_prepare() {
+ # bug #374903 - ICU 4.8 compatibility
+ epatch "${FILESDIR}/${PN}-icu-compatibility-r0.patch"
+
# Make sure we don't use bundled libvpx headers.
epatch "${FILESDIR}/${PN}-system-vpx-r4.patch"
@@ -152,6 +154,7 @@ src_prepare() {
\! -path 'third_party/tcmalloc/*' \
\! -path 'third_party/tlslite/*' \
\! -path 'third_party/undoview/*' \
+ \! -path 'third_party/webrtc/*' \
\! -path 'third_party/zlib/contrib/minizip/*' \
-delete || die
@@ -168,12 +171,12 @@ src_configure() {
myconf+=" -Ddisable_sse2=1"
# Use system-provided libraries.
- # TODO: use_system_ffmpeg (bug #71931). That makes yasm unneeded.
# TODO: use_system_hunspell (upstream changes needed).
# TODO: use_system_ssl (http://crbug.com/58087).
# TODO: use_system_sqlite (http://crbug.com/22208).
myconf+="
-Duse_system_bzip2=1
+ -Duse_system_ffmpeg=1
-Duse_system_flac=1
-Duse_system_icu=1
-Duse_system_libevent=1
@@ -184,7 +187,6 @@ src_configure() {
-Duse_system_speex=1
-Duse_system_vpx=1
-Duse_system_xdg_utils=1
- -Duse_system_yasm=1
-Duse_system_zlib=1"
# Optional dependencies.
@@ -207,8 +209,7 @@ src_configure() {
# Our system ffmpeg should support more codecs than the bundled one
# for Chromium.
- # TODO: uncomment when bug #371931 is fixed.
- # myconf+=" -Dproprietary_codecs=1"
+ myconf+=" -Dproprietary_codecs=1"
local myarch="$(tc-arch)"
if [[ $myarch = amd64 ]] ; then
@@ -356,12 +357,11 @@ src_install() {
# Chromium looks for these in its folder
# See media_posix.cc and base_paths_linux.cc
- # TODO: uncomment when bug #371931 is fixed.
- #dosym /usr/$(get_libdir)/libavcodec.so.52 "${CHROMIUM_HOME}" || die
- #dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
- #dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
- doexe out/Release/ffmpegsumo_nolink || die
- doexe out/Release/libffmpegsumo.so || die
+ dosym /usr/$(get_libdir)/libavcodec.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
+ #doexe out/Release/ffmpegsumo_nolink || die
+ #doexe out/Release/libffmpegsumo.so || die
# Install icons and desktop entry.
for SIZE in 16 22 24 32 48 64 128 256 ; do
@@ -374,7 +374,7 @@ src_install() {
make_desktop_entry chromium-browser "Chromium" chromium-browser \
"Network;WebBrowser"
"MimeType=${mime_types}\nStartupWMClass=chromium-browser"
- sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop || die
+ sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
# Install GNOME default application entry (bug #303100).
if use gnome; then
diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild
index 12ee106f01a6..854f08bf68d1 100644
--- a/www-client/chromium/chromium-9999-r1.ebuild
+++ b/www-client/chromium/chromium-9999-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.38 2011/07/20 12:02:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.39 2011/07/20 21:39:37 phajdan.jr Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
@@ -44,13 +44,13 @@ RDEPEND="app-arch/bzip2
media-libs/speex
cups? ( >=net-print/cups-1.3.11 )
sys-libs/zlib
+ >=virtual/ffmpeg-0.6.90[threads]
x11-libs/gtk+:2
x11-libs/libXinerama
x11-libs/libXScrnSaver
x11-libs/libXtst"
DEPEND="${RDEPEND}
dev-lang/perl
- dev-lang/yasm
>=dev-util/gperf-3.0.3
>=dev-util/pkgconfig-0.23
>=sys-devel/bison-2.4.3
@@ -194,12 +194,12 @@ src_configure() {
myconf+=" -Ddisable_sse2=1"
# Use system-provided libraries.
- # TODO: use_system_ffmpeg (bug #71931). That makes yasm unneeded.
# TODO: use_system_hunspell (upstream changes needed).
# TODO: use_system_ssl (http://crbug.com/58087).
# TODO: use_system_sqlite (http://crbug.com/22208).
myconf+="
-Duse_system_bzip2=1
+ -Duse_system_ffmpeg=1
-Duse_system_flac=1
-Duse_system_icu=1
-Duse_system_libevent=1
@@ -210,7 +210,6 @@ src_configure() {
-Duse_system_speex=1
-Duse_system_vpx=1
-Duse_system_xdg_utils=1
- -Duse_system_yasm=1
-Duse_system_zlib=1"
# Optional dependencies.
@@ -233,8 +232,7 @@ src_configure() {
# Our system ffmpeg should support more codecs than the bundled one
# for Chromium.
- # TODO: uncomment when bug #371931 is fixed.
- # myconf+=" -Dproprietary_codecs=1"
+ myconf+=" -Dproprietary_codecs=1"
local myarch="$(tc-arch)"
if [[ $myarch = amd64 ]] ; then
@@ -388,12 +386,11 @@ src_install() {
# Chromium looks for these in its folder
# See media_posix.cc and base_paths_linux.cc
- # TODO: uncomment when bug #371931 is fixed.
- #dosym /usr/$(get_libdir)/libavcodec.so.52 "${CHROMIUM_HOME}" || die
- #dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
- #dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
- doexe out/Release/ffmpegsumo_nolink || die
- doexe out/Release/libffmpegsumo.so || die
+ dosym /usr/$(get_libdir)/libavcodec.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
+ #doexe out/Release/ffmpegsumo_nolink || die
+ #doexe out/Release/libffmpegsumo.so || die
# Install icons and desktop entry.
for SIZE in 16 22 24 32 48 64 128 256 ; do