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 C6F1C138335 for ; Tue, 12 Mar 2019 11:00:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B956E09C4; Tue, 12 Mar 2019 11:00:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3BBD9E09C4 for ; Tue, 12 Mar 2019 11:00:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 219C6335C9C for ; Tue, 12 Mar 2019 11:00:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04D8853A for ; Tue, 12 Mar 2019 11:00:31 +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: <1552388427.319e3072c2f8f3410757d4b4e370dad169a0ab96.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/Manifest www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild X-VCS-Directories: www-plugins/adobe-flash/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 319e3072c2f8f3410757d4b4e370dad169a0ab96 X-VCS-Branch: master Date: Tue, 12 Mar 2019 11:00:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78c31851-3d6e-4f13-af8a-30f6bf90464d X-Archives-Hash: 9a43c6b98240483660bd0d270adfd094 commit: 319e3072c2f8f3410757d4b4e370dad169a0ab96 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Mar 12 10:49:46 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Mar 12 11:00:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319e3072 www-plugins/adobe-flash: Version 32.0.0.156 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> www-plugins/adobe-flash/Manifest | 4 + .../adobe-flash/adobe-flash-32.0.0.156.ebuild | 140 +++++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest index 2ee18ed5a0a..d32c84e1df7 100644 --- a/www-plugins/adobe-flash/Manifest +++ b/www-plugins/adobe-flash/Manifest @@ -2,3 +2,7 @@ DIST adobe-flash-32.0.0.142-npapi.i386.tar.gz 8530350 BLAKE2B 78faf86c16bb5e6eda DIST adobe-flash-32.0.0.142-npapi.x86_64.tar.gz 9047544 BLAKE2B e14cca8120405ec265168b3dfd43ce81c180f68f38dcb59a560115395e169550b2738cbf8821cadf12e1e8b868e6c588295e8926f55747e2c8bddfaa9e1d329d SHA512 047086d43902b3132358ed0c53dde26108bc4e69067945e6194cf5aaaf96f1f01921a8a0a08cd7ac6006bcaee08880a59e46a5c621c6dd6e306af419d65e03e1 DIST adobe-flash-32.0.0.142-ppapi.i386.tar.gz 8565686 BLAKE2B 8241352527e58057635581aa1f12c412c690ca5c119c70ff81f5178c0e6f0c3e0c5f5a4ab53a5d5729807d7f9a2c9e2ab4fcd8896cb9399f44996a9d11056c55 SHA512 942e8efc3eaa2674d4b0fbcfe46f50a0ce1a5a5ae87055419d4cea7b710083779b6803271042b4c3ca457a925ede13cc532ac7b8e5f4adfaa9ce932fa9e61417 DIST adobe-flash-32.0.0.142-ppapi.x86_64.tar.gz 9482227 BLAKE2B 6b91b802541058e7bc20a120c58d731684c98ce5719c24d48cd2a68307af15dfb399265af49c1f5e559391835a23fc8b1509b4a0c2b228efbc789d9a4f07fb20 SHA512 1ee8994ce485b72fc97967f8c4229a7c688518f3c05238063c493e320927164a3bf225fbdcb064d6502fb9ec2bddfd30857400daf39520d41153e95ae9cb3ef9 +DIST adobe-flash-32.0.0.156-npapi.i386.tar.gz 8530759 BLAKE2B 6e405a74fed006078e4a063b88de6740c578554e08bbd1c6ed4549fe4219ab45e3b34ee4b16f86e488debf1d3fedbc1d50c2410ecc0930962f3332e22c004553 SHA512 31ffb59b9249cd38ac75af85d179620335bf91adacd8d6147c3c4890547c6b205d6896bd623b670714b626ffbf5d480ed1126ccb9965046ccae953f06b895a01 +DIST adobe-flash-32.0.0.156-npapi.x86_64.tar.gz 9046020 BLAKE2B 8153cf404cfc5fef4b21faf030c8029d61e63dc3869befd9f8aa47ba358ac6d862b3f4cecdda962ff52010c081d7ecbaf205646c070bf127fe99473366bfb2b6 SHA512 2700042619d2fd6f9ba2251da9ecaee70e98f0b7dc810abc1577780d7e8909033e1654a2ac5ef3167478529aa871bba53d19e013f42ffd1c542f8e7d3eb3a389 +DIST adobe-flash-32.0.0.156-ppapi.i386.tar.gz 8565766 BLAKE2B 4874972649ad501adb1e983c529d1ffe516638239a4fd86df7854629c75eb96182f745d053906689e8893e60338cf5da991f84a712058c11416ae87b0aa4c60b SHA512 108192003d91bc148f54539f539588772479aaf576d651d3df124ae4ebfab47efe45c63b67395386a96f6d565cd5a6b4ab3a9aa5f3248ef2daf485b6586f1c49 +DIST adobe-flash-32.0.0.156-ppapi.x86_64.tar.gz 9479771 BLAKE2B 4c5711ff627bf28493a8f10736694c5b96e4aa07974e8890af7baa25d2d53bc7f761498a7d8f390c4139e856a8bba63c6b1b4e8481b6dcab353bb08f5a14383a SHA512 36dd51657eabf51b995904d19fe87996451dcc15ea8a9444829cd4cbceb7a67c9fe04f550a291607268170bc837c79e1de863dadd1b73a1af90a309548fd3d50 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild new file mode 100644 index 00000000000..2cc1c70b340 --- /dev/null +++ b/www-plugins/adobe-flash/adobe-flash-32.0.0.156.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils nsplugins multilib multilib-minimal + +DESCRIPTION="Adobe Flash Player" +HOMEPAGE=" + https://www.adobe.com/products/flashplayer.html + https://get.adobe.com/flashplayer/ + https://helpx.adobe.com/security/products/flash-player.html +" + +AF_URI="https://fpdownload.adobe.com/pub/flashplayer/pdc/${PV}" +AF_NP_32_URI="${AF_URI}/flash_player_npapi_linux.i386.tar.gz -> ${P}-npapi.i386.tar.gz" +AF_NP_64_URI="${AF_URI}/flash_player_npapi_linux.x86_64.tar.gz -> ${P}-npapi.x86_64.tar.gz" +AF_PP_32_URI="${AF_URI}/flash_player_ppapi_linux.i386.tar.gz -> ${P}-ppapi.i386.tar.gz" +AF_PP_64_URI="${AF_URI}/flash_player_ppapi_linux.x86_64.tar.gz -> ${P}-ppapi.x86_64.tar.gz" + +IUSE="+nsplugin +ppapi" +REQUIRED_USE=" + || ( nsplugin ppapi ) +" + +SRC_URI=" + nsplugin? ( + abi_x86_32? ( ${AF_NP_32_URI} ) + abi_x86_64? ( ${AF_NP_64_URI} ) + ) + ppapi? ( + abi_x86_32? ( ${AF_PP_32_URI} ) + abi_x86_64? ( ${AF_PP_64_URI} ) + ) +" +SLOT="22" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="AdobeFlash-11.x" +RESTRICT="strip mirror" + +NPAPI_RDEPEND=" + dev-libs/atk[${MULTILIB_USEDEP}] + dev-libs/glib:2[${MULTILIB_USEDEP}] + dev-libs/nspr[${MULTILIB_USEDEP}] + dev-libs/nss[${MULTILIB_USEDEP}] + media-libs/fontconfig[${MULTILIB_USEDEP}] + media-libs/freetype[${MULTILIB_USEDEP}] + >=sys-libs/glibc-2.4 + x11-libs/cairo[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] + x11-libs/gtk+:2[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXt[${MULTILIB_USEDEP}] + x11-libs/pango[${MULTILIB_USEDEP}] +" +RDEPEND=" + !www-plugins/chrome-binary-plugins[flash(-)] + nsplugin? ( + ${NPAPI_RDEPEND} + !www-plugins/adobe-flash:0 + ) +" + +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() { + local pkglibdir=lib + [[ -d usr/lib64 ]] && pkglibdir=lib64 + + if use nsplugin; then + # PLUGINS_DIR comes from nsplugins.eclass + exeinto /usr/$(get_libdir)/${PLUGINS_DIR} + doexe libflashplayer.so + + if multilib_is_native_abi; then + # No KDE applet, so allow the GTK utility to show up in KDE: + sed \ + -i usr/share/applications/flash-player-properties.desktop \ + -e "/^NotShowIn=KDE;/d" || die + + # The userland 'flash-player-properties' standalone app: + dobin usr/bin/flash-player-properties + + # Icon and .desktop for 'flash-player-properties' + insinto /usr/share + doins -r usr/share/{icons,applications} + dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \ + /usr/share/pixmaps/flash-player-properties.png + fi + + # The magic config file! + insinto "/etc/adobe" + doins "${FILESDIR}/mms.cfg" + fi + + if use ppapi; then + exeinto /usr/$(get_libdir)/chromium/PepperFlash + doexe libpepflashplayer.so + insinto /usr/$(get_libdir)/chromium/PepperFlash + doins manifest.json + + if multilib_is_native_abi; then + dodir /etc/chromium + sed "${FILESDIR}"/pepper-flash-r1 \ + -e "s|@FP_LIBDIR@|$(get_libdir)|g" \ + -e "s|@FP_PV@|${PV}|g" \ + > "${D}"/etc/chromium/pepper-flash \ + || die + fi + fi +} + +pkg_postinst() { + gnome2_icon_cache_update +} +pkg_postrm() { + gnome2_icon_cache_update +}