From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CDF6139085 for ; Mon, 23 Jan 2017 17:21:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A347523404D; Mon, 23 Jan 2017 17:21:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7172823404D for ; Mon, 23 Jan 2017 17:21:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 359EF3414E9 for ; Mon, 23 Jan 2017 17:21:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D52D2D0E for ; Mon, 23 Jan 2017 17:21:02 +0000 (UTC) From: "Paweł Hajdan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paweł Hajdan" Message-ID: <1485191979.0a85ce77f844148c527fc81a1e661567d75dd238.phajdan.jr@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-57.0.2986.0.ebuild www-client/chromium/metadata.xml X-VCS-Directories: www-client/chromium/ X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: Paweł Hajdan X-VCS-Revision: 0a85ce77f844148c527fc81a1e661567d75dd238 X-VCS-Branch: master Date: Mon, 23 Jan 2017 17:21:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 235a8faf-df31-451e-9f85-1c94d332b3cf X-Archives-Hash: 0972d972ec74f92390c55ac46f6873d7 commit: 0a85ce77f844148c527fc81a1e661567d75dd238 Author: Pawel Hajdan, Jr gentoo org> AuthorDate: Mon Jan 23 16:37:03 2017 +0000 Commit: Paweł Hajdan gentoo org> CommitDate: Mon Jan 23 17:19:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a85ce77 www-client/chromium: add system-libvpx USE flag This addresses bug #598264 by Andreas Steinmetz. www-client/chromium/chromium-57.0.2986.0.ebuild | 12 +++++++++--- www-client/chromium/metadata.xml | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/www-client/chromium/chromium-57.0.2986.0.ebuild b/www-client/chromium/chromium-57.0.2986.0.ebuild index 771fbdb..c643438 100644 --- a/www-client/chromium/chromium-57.0.2986.0.ebuild +++ b/www-client/chromium/chromium-57.0.2986.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="component-build cups gconf gnome-keyring gtk3 +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +tcmalloc widevine" +IUSE="component-build cups gconf gnome-keyring gtk3 +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-libvpx +tcmalloc widevine" RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" # Native Client binaries are compiled with different set of flags, bug #452066. @@ -50,7 +50,7 @@ COMMON_DEPEND=" media-libs/libexif:= media-libs/libjpeg-turbo:= media-libs/libpng:= - media-libs/libvpx:=[svc] + system-libvpx? ( media-libs/libvpx:=[svc] ) media-libs/speex:= pulseaudio? ( media-sound/pulseaudio:= ) system-ffmpeg? ( >=media-video/ffmpeg-3:= ) @@ -319,6 +319,10 @@ src_prepare() { if ! use system-ffmpeg; then keeplibs+=( third_party/ffmpeg ) fi + if ! use system-libvpx; then + keeplibs+=( third_party/libvpx ) + keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) + fi # Remove most bundled libraries. Some are still needed. build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die @@ -353,7 +357,6 @@ src_configure() { icu libjpeg libpng - libvpx libwebp libxml libxslt @@ -365,6 +368,9 @@ src_configure() { if use system-ffmpeg; then gn_system_libraries+=( ffmpeg ) fi + if use system-libvpx; then + gn_system_libraries+=( libvpx ) + fi build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die # Optional dependencies. diff --git a/www-client/chromium/metadata.xml b/www-client/chromium/metadata.xml index c2a73f8..bed144b 100644 --- a/www-client/chromium/metadata.xml +++ b/www-client/chromium/metadata.xml @@ -16,6 +16,7 @@ Enable proprietary codecs like H.264, MP3 Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels Use system ffmpeg instead of the bundled one + Use system libvpx instead of the bundled one Use bundled tcmalloc instead of system malloc Unsupported closed-source DRM capability (required by Netflix VOD)