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 8C80D138330 for ; Fri, 9 Sep 2016 08:35:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6987FE08E6; Fri, 9 Sep 2016 08:35:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E8BF5E095B for ; Fri, 9 Sep 2016 08:35:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4FB3333FD24 for ; Fri, 9 Sep 2016 08:35:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E3D9246F for ; Fri, 9 Sep 2016 08:35:04 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1473410091.026a5f4d039d2a30d4d39948f02bff01ba3b1c92.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/adobe-flash/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-plugins/adobe-flash/adobe-flash-22.0.0.209-r1.ebuild X-VCS-Directories: www-plugins/adobe-flash/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 026a5f4d039d2a30d4d39948f02bff01ba3b1c92 X-VCS-Branch: master Date: Fri, 9 Sep 2016 08:35:04 +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: f9ce0375-b3ef-467c-be1c-86b5aa743f6c X-Archives-Hash: f4a10ccfde84f5e33deb01bc0eed8dba commit: 026a5f4d039d2a30d4d39948f02bff01ba3b1c92 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Sep 9 08:20:06 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Sep 9 08:34:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026a5f4d www-plugins/adobe-flash: Install manifest.json properly (bug #593260 by Ortwin Glueck). Package-Manager: portage-2.3.0 .../adobe-flash/adobe-flash-22.0.0.209-r1.ebuild | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/www-plugins/adobe-flash/adobe-flash-22.0.0.209-r1.ebuild b/www-plugins/adobe-flash/adobe-flash-22.0.0.209-r1.ebuild new file mode 100644 index 00000000..da08d5d --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-22.0.0.209-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit multilib multilib-minimal + +DESCRIPTION="Adobe Flash Player" +HOMEPAGE=" + http://www.adobe.com/products/flashplayer.html + http://get.adobe.com/flashplayer/ + https://helpx.adobe.com/security/products/flash-player.html +" + +AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc" +AF_32_URI="${AF_URI}/${PV}/flash_player_ppapi_linux.i386.tar.gz -> ${P}.i386.tar.gz" +AF_64_URI="${AF_URI}/${PV}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz" + +SRC_URI=" + abi_x86_32? ( ${AF_32_URI} ) + abi_x86_64? ( ${AF_64_URI} ) +" +SLOT="22" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="AdobeFlash-11.x" +RESTRICT="strip mirror" + +RDEPEND=" + !www-plugins/chrome-binary-plugins[flash] +" + +S="${WORKDIR}" + +# Ignore QA warnings in these closed-source binaries, since we can't fix them: +QA_PREBUILT="usr/*" + +src_unpack() { + local files=( ${A} ) + + multilib_src_unpack() { + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + # we need to filter out the other archive(s) + local other_abi + [[ ${ABI} == amd64 ]] && other_abi=i386 || other_abi=x86_64 + unpack ${files[@]//*${other_abi}*/} + } + + multilib_parallel_foreach_abi multilib_src_unpack +} + +multilib_src_install() { + exeinto /usr/$(get_libdir)/chromium-browser/PepperFlash + doexe libpepflashplayer.so + insinto /usr/$(get_libdir)/chromium-browser/PepperFlash + doins manifest.json + + if multilib_is_native_abi; then + dodir /etc/chromium + sed "${FILESDIR}"/pepper-flash \ + -e "s|@FP_LIBDIR@|$(get_libdir)|g" \ + -e "s|@FP_PV@|${PV}|g" \ + > "${D}"/etc/chromium/pepper-flash \ + || die + fi +}