diff options
Diffstat (limited to 'www-plugins')
48 files changed, 477 insertions, 1410 deletions
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest deleted file mode 100644 index 36748c0e3b91..000000000000 --- a/www-plugins/adobe-flash/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST adobe-flash-32.0.0.223-npapi.i386.tar.gz 8537552 BLAKE2B d9e1a838eb639fdf2457eac60389e91fa8c704bfc77a3f422336171d165967f55eeed191d1bcfa1df66d9f5246d2de08280c9b2e596782b244f2c40fa84dc367 SHA512 0f18ffc00fa2a11ddf614a4e173ba322cdfd7a010d85e3e8497f902f38824a48f62c8a7b461ab7459f3c2ea707d0f768a0d3e78e192f69c4accad2af152145ae -DIST adobe-flash-32.0.0.223-npapi.x86_64.tar.gz 9052736 BLAKE2B a1e116e89bfc35336f14d449b61a2de374d3ff4f3c39a7ee3edd7fa6eee5f76c4cf32275318a28ef2bf026a65376c29057a71545ebdb0cbdb619c95532ba13fb SHA512 bceb2781cda99d5c821720bbb6088be4e03924bcb4ba31bfe4d55f3aaa1f607cc200246ded02e4ff05161253818cfef8f3b6d053d91b35459317d278745e5e8f -DIST adobe-flash-32.0.0.223-ppapi.i386.tar.gz 8569994 BLAKE2B d22c797c8782c95073e239ad13fa9bb9157cf1bc63f60d48d9a3ca0440f33babc9a9adb3db6eaccc372fc519d1b78c8c987a750469d9a8a279f93df77457ab86 SHA512 0b8ab4e76c6b3e8b189a0da3a7bbfa04462eac9067d11e78f0e376e6b779d8eb13b55cb0ff877f6d5b659f1cc81e4ac1f9319834bea25040935742afdcf32653 -DIST adobe-flash-32.0.0.223-ppapi.x86_64.tar.gz 9485487 BLAKE2B c3e80307b439fcbb27093a6bbb7da6dd91ff77f1ef4396abc51948c0825b9aaf11132f3a15cff17bebdd066c2c069a164d05ab57f2da6a7e6942269a4b8a2c47 SHA512 041d976a09cb957d3ffc34e1462c6bd5866641f505f0c2a65079c83578e731c877c623d1a237bf827db083f1578a1da9b0a2049eaa4d1427d8e9e2d6570a87e3 diff --git a/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild b/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild deleted file mode 100644 index 14f113c3c5f5..000000000000 --- a/www-plugins/adobe-flash/adobe-flash-32.0.0.223.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# 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 -} diff --git a/www-plugins/adobe-flash/files/mms.cfg b/www-plugins/adobe-flash/files/mms.cfg deleted file mode 100644 index 3d53391eb7b8..000000000000 --- a/www-plugins/adobe-flash/files/mms.cfg +++ /dev/null @@ -1,117 +0,0 @@ -# -# /etc/adobe/mms.cfg: Adobe Flash privacy and security settings -# -# For more details on the meaning of most of these options, please visit: -# http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html -# - -# Lets you prevent users from designating any files on the local file system as -# trusted -# 0 = Not Allowed, 1 = Allowed (default) -#AllowUserLocalTrust = 1 - -# Lets you specify a hard limit on the amount of local storage that Flash Player -# uses for the storage of common Flash components -# Size in megabytes (default is 20), 0 = Component storage disabled -#AssetCacheSize = 20 - -# Lets you prevent Flash Player from automatically checkingfor and installing -# updated versions -# 0 = Not Disabled (default), 1 = Disabled -AutoUpdateDisable = 1 - -# Lets you specify how often to check for an updated version of Flash Player -# Number of days, 0 = Every startup -# There is no default value, which falls back to the user's setting (30 days by -# default) -#AutoUpdateInterval = - -# Lets you prevent SWF files from accessing webcams or microphones -# 0 = Not Disabled (default), 1 = Disabled -#AVHardwareDisable = 0 - -# Lets you prevent information on installed fonts from being displayed -# 0 = Not Disabled (default), 1 = Disabled -#DisableDeviceFontEnumeration = 0 - -# Lets you prevent networking or file system access if any kind -# Set to the executable filename, default is empty -#DisableNetworkAndFilesystemInHostApp = - -# Lets you prevent native code applications that are digitally signed and -# delivered by Adobe from being downloaded -# 0 = Not Disabled (default), 1 = Disabled -#DisableProductDownload = 0 - -# Lets you enable or disable the use of the Socket.connect() and -# XMLSocket.connect() methods -# 0 = Not Disabled (default), 1 = Disabled -#DisableSockets = 0 - -# Lets you create a whitelist of servers to which socket connections are allowed -# Set to hostname or IP address. This can be specified multiple times in this -# file to allow more than one host, and only takes effect if DisableSockets -# (above) is set to 1. -#EnableSocketsTo = localhost.localdomain -#EnableSocketsTo = 127.0.0.1 - -# Lets you prevent the ActionScript FileReference API from performing file -# downloads -# 0 = Not Disabled (default), 1 = Disabled -#FileDownloadDisable = 0 - -# Lets you prevent the ActionScript FileReference API from prerforming file -# uploads -# 0 = Not Disabled (default), 1 = Disabled -#FileUploadDisable = 0 - -# Lets you disable SWF files playing via a browser plug-in from being displayed -# in full-screen mode -# 0 = Not Disabled (default), 1 = Disabled -#FullScreenDisable = 0 - -# Lets you specify whether SWF files produced for Flash Player 6 and earlier can -# execute an operation that has been restricted in a newer version of Flash -# Player -# 0 = Deny, 1 = Allow -# There is no default value, which falls back to the user's setting (Defaults to -# "Ask" -#LegacyDomainMatching = - -# Lets you specify how Flash Player should determine whether to execute certain -# local SWF files that were originally produced for Flash Player 7 and earlier -# 0 = Deny, 1 = Allow -# There is no default value, which falls back to the user's setting -#LocalFileLegacyAction = - -# Lets you prevent local SWF files from having read access to files on local -# drive -# 0 = Not Disabled (default), 1 = Disabled -#LocalFileReadDisable = 0 - -# Lets you specify a hard limit on the amout of local storage that Flash Player -# uses (per domain) for persistent shared objects -# 1 = no storage, 2 = 10KB, 3 = 100KB, 4 = 1MB, 5 = 10MB, -# 6 = User specified (default) -# If the user does not specify a limit, the default is 100KB. -#LocalStorageLimit = 6 - -# Lets you override GPU validation checks to force hardware acceleration -# Warning: This may make your player (more) unstable! -# 0 = Check GPU (default), 1 = Skip checks -# More details: -# http://blogs.adobe.com/penguin.swf/2008/08/secrets_of_the_mmscfg_file_1.html -#OverrideGPUValidation = 0 - -# Lets you specify whether third-party SWF files can read and write locally -# persistent shared objects -# 0 = disabled, 1 = enabled -# There is no default value, which falls back to the user's setting -#ThirdPartyStorage = - -# Lets you disable "Windowless" mode, which may cause crashes in firefox -# version 3.01 and earlier. -# 0 = Not Disabled (default), 1 = Disabled -# More details: -# http://blogs.adobe.com/penguin.swf/2008/08/windowless_mode_fix.html -#WindowlessDisable = 0 diff --git a/www-plugins/adobe-flash/files/pepper-flash b/www-plugins/adobe-flash/files/pepper-flash deleted file mode 100644 index 31b55752e1a1..000000000000 --- a/www-plugins/adobe-flash/files/pepper-flash +++ /dev/null @@ -1 +0,0 @@ -CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium-browser/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@" diff --git a/www-plugins/adobe-flash/files/pepper-flash-r1 b/www-plugins/adobe-flash/files/pepper-flash-r1 deleted file mode 100644 index b70c40c91830..000000000000 --- a/www-plugins/adobe-flash/files/pepper-flash-r1 +++ /dev/null @@ -1 +0,0 @@ -CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@" diff --git a/www-plugins/adobe-flash/metadata.xml b/www-plugins/adobe-flash/metadata.xml deleted file mode 100644 index e3e8fa04213f..000000000000 --- a/www-plugins/adobe-flash/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> -<email>jer@gentoo.org</email> -</maintainer> -<maintainer type="project"> -<email>desktop-misc@gentoo.org</email> -<name>Gentoo Desktop Miscellaneous Project</name> -</maintainer> -<use> -<flag name="nsplugin">Install the Netscape Flash API plugin (for Firefox and similar browsers)</flag> -<flag name="ppapi">Install the Pepper Flash API plugin (for Chrome and similar browsers)</flag> -</use> -</pkgmetadata> diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest index 738dbbc0fdcc..7e891f3715b9 100644 --- a/www-plugins/browserpass/Manifest +++ b/www-plugins/browserpass/Manifest @@ -1,3 +1,2 @@ -DIST browserpass-2.0.13.tar.gz 180424 BLAKE2B e2a1796edf3b037553cb9bd33f072cd25953d8262fa584c371c3df638c77fc352953c698963325a5cee9b29c81cc010ded72bb31abac9460603796f4a95267ed SHA512 8d28144aef061770f11d7ba288dfa82f8873a263b8ccff235e26e83c55700e5ed0210dec2c2fb45751f3ad15d1894503407ec901d272783b98c466d74d9156f0 -DIST browserpass-2.0.22.tar.gz 49730 BLAKE2B a37d55a7b2a162a54931a3dde53b16e6c4d067f92dad129e92664dac726c3171938d5da94fe45c64227f4e4a860a12d0cdbb1aa147942f0199c2f4b9bed5fd7a SHA512 f3c19df72afd1387d7142b5e818dfe95a730c906277be0f16522986f387f659eb4a9decaf54eef5b6649ddc618d93b055c99b594fc4b949ce09a38cf2e6d9525 -DIST browserpass-3.0.6.tar.gz 17055 BLAKE2B aa2881631db8cc7f54f690cd56101c3e470528d990eed51b15aab6b834f63d4b9f576ee4e101dd61a6013ce25644058bfcc3673aaa037ce182c331754b27bddb SHA512 48cc93843afed5dc0df4f72956df44b325d6c772ad232d8faa2315c4d8b716eda9b030601e011b280445e0b01528f413e5b19818ad89cd7bcb06f4a1f4f9d3f4 +DIST browserpass-3.1.0-deps.tar.xz 2416968 BLAKE2B e591c9dac93efea35daeeac6935319b6e6e1e5145a5eaeea1cec1252b24c6c036f54f11e552400a146e883c6f7efcaa3b1dd2fca023a84b632be8facfc253644 SHA512 27cdac3d42009cad45f58b3501eeeaca0daa921c071a675c11048951a0843656225f35772e3101a9149275afafa6567989072df4de20a0c49e2c693b41554131 +DIST browserpass-3.1.0.tar.gz 21835 BLAKE2B a6551f25681a2895a26654e2cc54451b3a08c6ab4cc5376e01fe1273f0866ebe44dec04de5ac113a1902b153884b3b7693a2675c8188d31360e83e860966fadf SHA512 ca5b1c7b805e66e1ccea7c0a69b26ccceb307ae4707b7b284e79169d810e79c118ac174d893b589ca82051cddd08ae0e047dc339960c2faf261075cdaef25a3f diff --git a/www-plugins/browserpass/browserpass-2.0.13.ebuild b/www-plugins/browserpass/browserpass-2.0.13.ebuild deleted file mode 100644 index 773137f96685..000000000000 --- a/www-plugins/browserpass/browserpass-2.0.13.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN=github.com/dannyvankooten/browserpass - -if [[ ${PV} == 9999 ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64" - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="WebExtension host binary for pass, a UNIX password manager" -HOMEPAGE="https://github.com/dannyvankooten/browserpass" -LICENSE="MIT" -SLOT="0" -RDEPEND="app-crypt/gnupg" -DEPEND="${RDEPEND} - dev-go/fuzzy:= - dev-go/twofactor:= - dev-go/zglob:=" - -DOCS=( CONTRIBUTING.md README.md ) - -src_compile() { - EGO_PN="${EGO_PN}/cmd/browserpass" golang-build_src_compile - - pushd "src/${EGO_PN}" >/dev/null || die - sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass|' \ - -i firefox/host.json chrome/host.json || die - popd >/dev/null || die -} - -src_install() { - exeinto /usr/libexec - doexe browserpass - - pushd "src/${EGO_PN}" >/dev/null || die - insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts - newins firefox/host.json com.dannyvankooten.browserpass.json - - insinto /etc/chromium/native-messaging-hosts - newins chrome/host.json com.dannyvankooten.browserpass.json - - einstalldocs - popd >/dev/null || die -} diff --git a/www-plugins/browserpass/browserpass-2.0.22.ebuild b/www-plugins/browserpass/browserpass-2.0.22.ebuild deleted file mode 100644 index 7107e7c52538..000000000000 --- a/www-plugins/browserpass/browserpass-2.0.22.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN=github.com/dannyvankooten/browserpass - -if [[ ${PV} == 9999 ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64" - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="WebExtension host binary for pass, a UNIX password manager" -HOMEPAGE="https://github.com/dannyvankooten/browserpass" -LICENSE="MIT" -SLOT="0" -RDEPEND="app-crypt/gnupg" -DEPEND="${RDEPEND} - dev-go/fuzzy:= - dev-go/twofactor:= - dev-go/zglob:=" - -DOCS=( CONTRIBUTING.md README.md ) - -src_compile() { - EGO_PN="${EGO_PN}/cmd/browserpass" golang-build_src_compile - - pushd "src/${EGO_PN}" >/dev/null || die - sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass|' \ - -i firefox/host.json chrome/host.json || die - popd >/dev/null || die -} - -src_install() { - exeinto /usr/libexec - doexe browserpass - - pushd "src/${EGO_PN}" >/dev/null || die - insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts - newins firefox/host.json com.dannyvankooten.browserpass.json - - insinto /etc/chromium/native-messaging-hosts - newins chrome/host.json com.dannyvankooten.browserpass.json - - insinto /etc/opt/chrome/native-messaging-hosts - newins chrome/host.json com.dannyvankooten.browserpass.json - - einstalldocs - popd >/dev/null || die -} diff --git a/www-plugins/browserpass/browserpass-3.0.6.ebuild b/www-plugins/browserpass/browserpass-3.0.6.ebuild deleted file mode 100644 index 9792a5fd8f33..000000000000 --- a/www-plugins/browserpass/browserpass-3.0.6.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=browserpass-native -EGO_PN=github.com/browserpass/${MY_PN} - -if [[ ${PV} == 9999 ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64" -# MY_P="${MY_PN}-${PV}" -# S="${WORKDIR}/${MY_P}" - SRC_URI="https://github.com/browserpass/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="WebExtension host binary for pass, a UNIX password manager" -HOMEPAGE="https://github.com/browserpass/browserpass-native" -LICENSE="ISC" -SLOT="0" -RDEPEND="app-crypt/gnupg" -DEPEND="${RDEPEND} - dev-go/logrus:= - dev-go/zglob:=" - -src_compile() { - golang-build_src_compile - - pushd "src/${EGO_PN}" >/dev/null || die - sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass-native|' \ - -i browser-files/firefox-host.json browser-files/chromium-host.json || die - popd >/dev/null || die -} - -src_install() { - exeinto /usr/libexec - doexe browserpass-native - - pushd "src/${EGO_PN}" >/dev/null || die - insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts - newins browser-files/firefox-host.json com.github.browserpass.native.json - - insinto /etc/chromium/native-messaging-hosts - newins browser-files/chromium-host.json com.github.browserpass.native.json - - insinto /etc/opt/chrome/native-messaging-hosts - newins browser-files/chromium-host.json com.github.browserpass.native.json - - popd >/dev/null || die -} diff --git a/www-plugins/browserpass/browserpass-3.1.0.ebuild b/www-plugins/browserpass/browserpass-3.1.0.ebuild new file mode 100644 index 000000000000..73f25aad2cbd --- /dev/null +++ b/www-plugins/browserpass/browserpass-3.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +MY_PN=browserpass-native + +DESCRIPTION="WebExtension host binary for app-admin/pass, a UNIX password manager" +HOMEPAGE="https://github.com/browserpass/browserpass-native" + +SRC_URI="https://github.com/browserpass/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~mattst88/distfiles/${P}-deps.tar.xz" + +LICENSE="BSD ISC MIT" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND="app-crypt/gnupg" + +S="${WORKDIR}"/${MY_PN}-${PV} + +src_compile() { + ego build || die + + sed -e "s|%%replace%%|${EPREFIX}/usr/libexec/browserpass-native|" \ + -i browser-files/firefox-host.json browser-files/chromium-host.json || die +} + +src_install() { + exeinto /usr/libexec + doexe browserpass-native + + insinto /usr/lib/mozilla/native-messaging-hosts + newins browser-files/firefox-host.json com.github.browserpass.native.json + + insinto /usr/lib64/mozilla/native-messaging-hosts + newins browser-files/firefox-host.json com.github.browserpass.native.json + + insinto /etc/chromium/native-messaging-hosts + newins browser-files/chromium-host.json com.github.browserpass.native.json + + insinto /etc/opt/chrome/native-messaging-hosts + newins browser-files/chromium-host.json com.github.browserpass.native.json + + insinto /etc/opt/vivaldi/native-messaging-hosts + newins browser-files/chromium-host.json com.github.browserpass.native.json +} diff --git a/www-plugins/browserpass/metadata.xml b/www-plugins/browserpass/metadata.xml index b58e8386fcb2..0b73582b85e0 100644 --- a/www-plugins/browserpass/metadata.xml +++ b/www-plugins/browserpass/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mattst88@gentoo.org</email> <name>Matt Turner</name> </maintainer> + <upstream> + <remote-id type="github">browserpass/browserpass-native</remote-id> + </upstream> </pkgmetadata> diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index f1283bbb5f3b..ec77cea38ebb 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,3 +1,3 @@ -DIST google-chrome-beta_76.0.3809.71-1_amd64.deb 60918018 BLAKE2B abe52963f2df5f0e3dbdaed6b33a2720aad6f1965ec0032281cb076abf58c74045c291eac1a975eb9a1e6c8222f7be3501eed31deaebeae5b047dbd464f0a251 SHA512 9275919c8f2135f1277991087ac38e60c51324655114979f86a6adff9c64720c2b744128d86af394adc32015ac928845626cf1defa26d8dcd80d1ebf923fbd20 -DIST google-chrome-stable_75.0.3770.142-1_amd64.deb 59242374 BLAKE2B 6610d46190c2321157c9b7609a944b047de77c2adc7c4fc28c39da25a499495a6d2edbd079457c2af063e16842cdc13b0b8e66c2a76ba431d7b6d44d5252e47b SHA512 a700ea6f02865b581225092f7f8c934ac862eb6510d8fbf2261522efa3f0cb629f8b30243b06d3e31054ab79c336c8a350c6cf4abdd5e14d30faa3e9dd01f3c0 -DIST google-chrome-unstable_77.0.3854.3-1_amd64.deb 63634738 BLAKE2B 235230a67bfb0de873cf157bea39b0960083ad41bc8aa9dda94ba253955b6451750c7bfa6c1c7216f7c0f37867f157f1bcc046b281fe7e7a86e99a375d450514 SHA512 0cc00c05299e41cd7cca750e336acd2b92260ca12018962d97b5801b1ee96721264a7289c1b79bae29d4fc07f8746c64eaabf2e2882c38b8104b69af3decad3f +DIST google-chrome-beta_125.0.6422.41-1_amd64.deb 107647192 BLAKE2B 23111d29ccc762e344eb8e23b797f82db7ee38517461079635c97179fcd99733c3df4b4c4777b9ff1d2ff698f7a1a77696e759c2b2aab961deb2db3e49d56d7b SHA512 a95c001baf3332c6cf8ce241eca402806dc18b26adf486b4870076fe4b4301177bc4da7a76dc9ff9dc9b80852bdea1748d9c348872dfd209b6c7e825befd3901 +DIST google-chrome-stable_124.0.6367.201-1_amd64.deb 106980336 BLAKE2B ea85d2eff0f0cfb043bb6abc5c8b8acf699299f5379a3283a87109a169f2efd7b45554d5adc8ef8540f12f7ac2cdf9e15de4fad058b4926f22befcdc8a9ca55c SHA512 3a5f2170a3ea0304af9c45cc9b051b3358c1edb363b1b643ed3ef57b3e199a0bb30c30b59c0b43dfd9f912ce93298ee7905495120e94d27b2594810021568b8a +DIST google-chrome-unstable_126.0.6452.3-1_amd64.deb 108027812 BLAKE2B 6873667f8323004f8a9535ed13e7b1f2d9037599a8ff7ace0e85cc0437419edb4e39213c7998ef40ffbf70f0434830d21bbf8f2124dfb3ef42f67216783fcdec SHA512 800f742bab02b5dd82a3f3a143c9f6dfecac42d99d760315a3627b799137dfad4dbdda62ddd245890ffa41916bc32504afeab83667a8ed66bfc52d9f3a2e7691 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-75.0.3770.142.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-124.0.6367.201.ebuild index c60abbfa5a56..01e48ea7c665 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-75.0.3770.142.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-124.0.6367.201.ebuild @@ -1,9 +1,9 @@ -# Copyright 2012-2019 Gentoo Authors +# Copyright 2012-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit multilib unpacker +inherit unpacker DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" HOMEPAGE="https://www.google.com/chrome" @@ -28,21 +28,18 @@ esac MY_PN="google-chrome-${SLOT}" MY_P="${MY_PN}_${MY_PV}" - SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" -KEYWORDS="-* amd64" +S="${WORKDIR}/${CHROMEDIR}" LICENSE="google-chrome" -IUSE="+widevine" +KEYWORDS="-* amd64" RESTRICT="bindist mirror strip" RDEPEND=" - widevine? ( - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - !<www-client/chromium-57[widevine(-)] - ) + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + sys-libs/glibc " for x in 0 beta stable unstable; do @@ -51,7 +48,6 @@ for x in 0 beta stable unstable; do fi done -S="${WORKDIR}/${CHROMEDIR}" QA_PREBUILT="*" pkg_nofetch() { @@ -59,9 +55,6 @@ pkg_nofetch() { } src_install() { - insinto /usr/$(get_libdir)/chromium - if use widevine; then - doins libwidevinecdm.so - dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so - fi + insinto "/usr/$(get_libdir)/chromium-browser" + doins -r WidevineCdm } diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-77.0.3854.3_alpha.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-125.0.6422.41_beta.ebuild index 3fd84e77d226..3dabec912ba2 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-77.0.3854.3_alpha.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-125.0.6422.41_beta.ebuild @@ -1,9 +1,9 @@ -# Copyright 2012-2019 Gentoo Authors +# Copyright 2012-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit multilib unpacker +inherit unpacker DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" HOMEPAGE="https://www.google.com/chrome" @@ -28,21 +28,18 @@ esac MY_PN="google-chrome-${SLOT}" MY_P="${MY_PN}_${MY_PV}" - SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" -KEYWORDS="-* ~amd64" +S="${WORKDIR}/${CHROMEDIR}" LICENSE="google-chrome" -IUSE="+widevine" +KEYWORDS="-* ~amd64" RESTRICT="bindist mirror strip" RDEPEND=" - widevine? ( - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - !<www-client/chromium-57[widevine(-)] - ) + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + sys-libs/glibc " for x in 0 beta stable unstable; do @@ -51,7 +48,6 @@ for x in 0 beta stable unstable; do fi done -S="${WORKDIR}/${CHROMEDIR}" QA_PREBUILT="*" pkg_nofetch() { @@ -59,9 +55,6 @@ pkg_nofetch() { } src_install() { - insinto /usr/$(get_libdir)/chromium - if use widevine; then - doins libwidevinecdm.so - dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so - fi + insinto "/usr/$(get_libdir)/chromium-browser" + doins -r WidevineCdm } diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-76.0.3809.71_beta.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6452.3_alpha.ebuild index 3fd84e77d226..3dabec912ba2 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-76.0.3809.71_beta.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-126.0.6452.3_alpha.ebuild @@ -1,9 +1,9 @@ -# Copyright 2012-2019 Gentoo Authors +# Copyright 2012-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit multilib unpacker +inherit unpacker DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" HOMEPAGE="https://www.google.com/chrome" @@ -28,21 +28,18 @@ esac MY_PN="google-chrome-${SLOT}" MY_P="${MY_PN}_${MY_PV}" - SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" -KEYWORDS="-* ~amd64" +S="${WORKDIR}/${CHROMEDIR}" LICENSE="google-chrome" -IUSE="+widevine" +KEYWORDS="-* ~amd64" RESTRICT="bindist mirror strip" RDEPEND=" - widevine? ( - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - !<www-client/chromium-57[widevine(-)] - ) + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + sys-libs/glibc " for x in 0 beta stable unstable; do @@ -51,7 +48,6 @@ for x in 0 beta stable unstable; do fi done -S="${WORKDIR}/${CHROMEDIR}" QA_PREBUILT="*" pkg_nofetch() { @@ -59,9 +55,6 @@ pkg_nofetch() { } src_install() { - insinto /usr/$(get_libdir)/chromium - if use widevine; then - doins libwidevinecdm.so - dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so - fi + insinto "/usr/$(get_libdir)/chromium-browser" + doins -r WidevineCdm } diff --git a/www-plugins/chrome-binary-plugins/metadata.xml b/www-plugins/chrome-binary-plugins/metadata.xml index 1cfb788aa968..c2aa3c706893 100644 --- a/www-plugins/chrome-binary-plugins/metadata.xml +++ b/www-plugins/chrome-binary-plugins/metadata.xml @@ -1,11 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>chromium@gentoo.org</email> <name>Chromium in Gentoo Project</name> </maintainer> - <use> - <flag name="widevine">Install the Widevine DRM library</flag> - </use> </pkgmetadata> diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest deleted file mode 100644 index 1a31abda5339..000000000000 --- a/www-plugins/freshplayerplugin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freshplayerplugin-0.3.9.tar.gz 790261 BLAKE2B 88526c01e7a06c7b295e5a7652602eb661097f869b30c8fd0978a4e03adea9d1fa75d35e5e9c0751d786c04f0247fc292aa0c1857cf1fa575eb0b11499bec7fc SHA512 999d7c223dd493e43a0fa7874371c7b781fe5273b2661fc30f814832b4aafd23f297795b644f58553107ef962ca17ce58fb39a637d1ab7bdf470cd33e0b19cf8 diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch deleted file mode 100644 index f925dfa31eb9..000000000000 --- a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -uarN a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400 -+++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400 -@@ -61,35 +61,36 @@ - # optional dependencies - message(STATUS "checking for optional dependencies") - --pkg_check_modules(PULSEAUDIO QUIET libpulse) --pkg_check_modules(JACK QUIET jack) --pkg_check_modules(SOXR QUIET soxr) - set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support") - set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit") - --if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO) -+if (WITH_PULSEAUDIO) -+ pkg_check_modules(PULSEAUDIO libpulse) -+ if (NOT PULSEAUDIO_FOUND) -+ message(FATAL_ERROR "PulseAudio requested but not found.") -+ endif() - add_definitions(-DHAVE_PULSEAUDIO=1) -- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)") -+ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}") - list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS}) - list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS}) - list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES}) --else() -- message(STATUS " no libpulse found (optional)") - endif() - --if (JACK_FOUND AND WITH_JACK) -- message(STATUS " found jack, version ${JACK_VERSION} (optional)") -- if (SOXR_FOUND) -- message(STATUS " found soxr, version ${SOXR_VERSION}") -- add_definitions(-DHAVE_JACK=1) -- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") -- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") -- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") -- else() -- message(STATUS " no soxr found, JACK output disabled") -+if (WITH_JACK) -+ pkg_check_modules(JACK QUIET jack) -+ if (NOT JACK_FOUND) -+ message(FATAL_ERROR "JACK support requested but not found.") -+ endif() -+ pkg_check_modules(SOXR QUIET soxr) -+ if (NOT SOXR_FOUND) -+ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.") - endif() --else() -- message(STATUS " no jack found (optional)") -+ message(STATUS " found jack, version ${JACK_VERSION}") -+ message(STATUS " found soxr, version ${SOXR_VERSION}") -+ add_definitions(-DHAVE_JACK=1) -+ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") -+ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") -+ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") - endif() - - list(APPEND REQ_LIBRARIES img-resources) ---- a/src/CMakeLists.txt 2015-12-20 08:38:33.000000000 -0500 -+++ b/src/CMakeLists.txt 2015-12-26 20:45:07.000000000 -0500 -@@ -5,7 +5,7 @@ - - set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) - --set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/mozilla/plugins/" CACHE STRING "plugin install directory") -+set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/nsbrowser/plugins/" CACHE STRING "plugin install directory") - - add_subdirectory(uri_parser) - add_subdirectory(config_parser) diff --git a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch b/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch deleted file mode 100644 index 112b839016f9..000000000000 --- a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -aurN a/src/ppb_video_capture.c b/src/ppb_video_capture.c ---- a/src/ppb_video_capture.c 2017-12-23 09:34:01.000000000 -0500 -+++ b/src/ppb_video_capture.c 2018-01-10 20:03:05.498415644 -0500 -@@ -75,6 +75,7 @@ - - #if !HAVE_LIBV4L2 - // define simple wrappers, if libv4l2 is not used -+#include <sys/ioctl.h> - static - ssize_t - v4l2_read(int fd, void *buffer, size_t n) diff --git a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch b/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch deleted file mode 100644 index 15d713bc4e90..000000000000 --- a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 934aa9c24d34f8203744b56e4ac6e8599446ca02 Mon Sep 17 00:00:00 2001 -From: Rinat Ibragimov <ibragimovrinat@mail.ru> -Date: Tue, 26 Dec 2017 16:16:39 +0300 -Subject: [PATCH] ppb_video_decoder: use AV_ prefixed macros - -Looks like newer FFmpeg versions have droped old definitions. ---- - cmake/ffmpeg-compat/CMakeLists.txt | 1 + - cmake/ffmpeg-compat/cfg_avcodecflags.c | 4 ++++ - cmake/ffmpeg-compat/ffmpeg_compat.h.in | 1 + - src/ppb_video_decoder.c | 11 ++++++++--- - 4 files changed, 14 insertions(+), 3 deletions(-) - create mode 100644 cmake/ffmpeg-compat/cfg_avcodecflags.c - -diff --git a/cmake/ffmpeg-compat/CMakeLists.txt b/cmake/ffmpeg-compat/CMakeLists.txt -index 732a71ee..8f67c581 100644 ---- a/cmake/ffmpeg-compat/CMakeLists.txt -+++ b/cmake/ffmpeg-compat/CMakeLists.txt -@@ -29,6 +29,7 @@ MACRO_C_SOURCE_CHECK(cfg_av_pix_fmt_vdpau.c HAVE_AV_PIX_FMT_VDPAU) - MACRO_C_SOURCE_CHECK(cfg_avcodecid.c HAVE_AVCodecID) - MACRO_C_SOURCE_CHECK(cfg_avcodeccontext_get_buffer2.c HAVE_AVCodecContext_get_buffer2) - MACRO_C_SOURCE_CHECK(cfg_AVVDPAUContext.c HAVE_AVVDPAUContext) -+MACRO_C_SOURCE_CHECK(cfg_avcodecflags.c HAVE_AV_CODEC_FLAGS) - - MACRO_SYMBOL_CHECK(av_frame_alloc "libavcodec/avcodec.h" HAVE_av_frame_alloc) - MACRO_SYMBOL_CHECK(av_frame_free "libavcodec/avcodec.h" HAVE_av_frame_free) -diff --git a/cmake/ffmpeg-compat/cfg_avcodecflags.c b/cmake/ffmpeg-compat/cfg_avcodecflags.c -new file mode 100644 -index 00000000..d04de55b ---- /dev/null -+++ b/cmake/ffmpeg-compat/cfg_avcodecflags.c -@@ -0,0 +1,4 @@ -+#include <libavcodec/avcodec.h> -+int main(void) { -+ return AV_CODEC_FLAG_TRUNCATED + AV_CODEC_CAP_TRUNCATED; -+} -diff --git a/cmake/ffmpeg-compat/ffmpeg_compat.h.in b/cmake/ffmpeg-compat/ffmpeg_compat.h.in -index dd40922c..da7834b1 100644 ---- a/cmake/ffmpeg-compat/ffmpeg_compat.h.in -+++ b/cmake/ffmpeg-compat/ffmpeg_compat.h.in -@@ -6,3 +6,4 @@ - #define HAVE_av_frame_free (@HAVE_av_frame_free@) - #define HAVE_avcodec_free_context (@HAVE_avcodec_free_context@) - #define HAVE_AVVDPAUContext (@HAVE_AVVDPAUContext@) -+#define HAVE_AV_CODEC_FLAGS (@HAVE_AV_CODEC_FLAGS@) -diff --git a/src/ppb_video_decoder.c b/src/ppb_video_decoder.c -index eb150725..23647cdd 100644 ---- a/src/ppb_video_decoder.c -+++ b/src/ppb_video_decoder.c -@@ -70,6 +70,11 @@ - #define AV_CODEC_ID_H264 CODEC_ID_H264 - #endif // !HAVE_AVCodecID - -+#if !HAVE_AV_CODEC_FLAGS -+#define AV_CODEC_CAP_TRUNCATED CODEC_CAP_TRUNCATED -+#define AV_CODEC_FLAG_TRUNCATED CODEC_FLAG_TRUNCATED -+#endif // !HAVE_AV_CODEC_FLAGS -+ - enum hwdec_api_e { - HWDEC_NONE = 0, - HWDEC_VAAPI, -@@ -620,9 +625,9 @@ initialize_decoder(struct pp_video_decoder_s *vd) - goto err; - } - -- if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) { -- trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__); -- vd->avctx->flags |= CODEC_FLAG_TRUNCATED; -+ if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) { -+ trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__); -+ vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED; - } - - vd->avctx->opaque = vd; diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild deleted file mode 100644 index ffb3b7a382cb..000000000000 --- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -LICENSE="MIT" -HOMEPAGE="https://github.com/i-rinat/freshplayerplugin" -DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers" -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT=0 -IUSE="gles2 jack libav libressl pulseaudio v4l vaapi vdpau" - -KEYWORDS="amd64" - -HWDEC_DEPEND=" - libav? ( media-video/libav:0=[vaapi?,vdpau?] ) - !libav? ( media-video/ffmpeg:0=[vaapi?,vdpau?] ) - x11-libs/libvdpau -" - -COMMON_DEPEND=" - dev-libs/glib:2= - dev-libs/icu:0= - dev-libs/libevent:=[threads] - media-libs/alsa-lib:= - media-libs/freetype:2= - media-libs/mesa:=[egl,gles2?] - x11-libs/cairo:=[X] - x11-libs/libXcursor:= - x11-libs/libXrandr:= - x11-libs/libXrender:= - x11-libs/libdrm:= - x11-libs/libva:= - x11-libs/pango:=[X] - jack? ( - media-sound/jack-audio-connection-kit - media-libs/soxr - ) - pulseaudio? ( media-sound/pulseaudio ) - libressl? ( dev-libs/libressl:0= ) - !libressl? ( dev-libs/openssl:0= ) - v4l? ( media-libs/libv4l:0= ) - vaapi? ( ${HWDEC_DEPEND} ) - vdpau? ( ${HWDEC_DEPEND} ) -" - -DEPEND="${COMMON_DEPEND} - dev-util/ragel - virtual/pkgconfig - " -RDEPEND="${COMMON_DEPEND} - www-plugins/adobe-flash:22[abi_x86_64,ppapi(+)] - " - -PATCHES=( - "${FILESDIR}/0.3.5-cmake.patch" - "${FILESDIR}/0.3.9-ioctl.patch" - "${FILESDIR}/${P}-ffmpeg-4.patch" -) -DOCS=( ChangeLog data/freshwrapper.conf.example README.md ) - -src_configure() { - mycmakeargs=( - -DWITH_JACK=$(usex jack) - -DWITH_PULSEAUDIO=$(usex pulseaudio) - -DWITH_GLES2=$(usex gles2) - -DWITH_LIBV4L2=$(usex v4l) - -DCMAKE_SKIP_RPATH=1 - ) - if use vaapi || use vdpau ; then - mycmakeargs+=( -DWITH_HWDEC=1 ) - else - mycmakeargs+=( -DWITH_HWDEC=0 ) - fi - cmake-utils_src_configure -} diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml deleted file mode 100644 index d335982d456e..000000000000 --- a/www-plugins/freshplayerplugin/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!--maintainer-needed--> - <use> - <flag name="gles2">Use system GLESv2 libraries instead of ANGLE for shader translation</flag> - <flag name="v4l">Use libv4l2 for colorspace conversion</flag> - </use> - <upstream> - <remote-id type="github">i-rinat/freshplayerplugin</remote-id> - </upstream> -</pkgmetadata> diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest deleted file mode 100644 index ffd140b415b2..000000000000 --- a/www-plugins/google-talkplugin/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST google-talkplugin_5.41.0.0-1_amd64.deb 7813320 BLAKE2B 8e982ca7961f7bca69cadec9bb91f396ab5d79594cee479a09302a3ef9e7b7c13c3dd4c02eb03a43d087756b9bd3f2514b30a3e4f4467b7032563d3e2bcc06bc SHA512 cfeed6384fee1f25c12a90c3b39081f058dbcc1043a4692450f143569ce1fe6b94f0978f76362eafac87a15820b806fd01cc9975d80c076d35456533f9486cb1 -DIST google-talkplugin_5.41.0.0-1_i386.deb 7659028 BLAKE2B 3195dbeecc56cded73e94d4c47ea36a969ad728305485f2bdc52fe0dd99630f60f22126f303b8bfdf99927adaae5fd123cdfeb854e29c0b2b982c6d4c14f2411 SHA512 ca5cd6b296791de471151710558d6fb501d584620703817ba5de769d639b653fd67ed30ae6d3aff3411b69c39a22232f2af9067d8b771677d26c561ffe958533 -DIST google-talkplugin_5.41.3.0-1_amd64.deb 7800474 BLAKE2B be28444d07f0fa10beaeb5572b6e2faf1b6315f0928fc40c531bc4639bfbac3b15069f28bb03f9155771b2a7c871911ca5ed5bf5d2ab321e0bc3eba9f82ee577 SHA512 8802c1726c9b362db5302a8b2243c8d84c2b35b9ab55adacc08ed05a5fb98d2778c2ff516a5df13bcaa499ab9d902481957b119624467be69a2833e0b76ba218 -DIST google-talkplugin_5.41.3.0-1_i386.deb 7629820 BLAKE2B d0b42df38960f22b13a57c7d2a02ac4993c15cb27e749218a878b9b2ce23ca39e5b1c352dce3e086cff06c3c781a99e0123542a5bcf755f5a0f7286015a7eaa8 SHA512 9a133cec4c57672018985a1f924e87a6cc13c27b69fbf248daa60ae27df3669e4f510e591de20f41d75dfa2dd8bb499e8d8d04efd2b9d2288b381371b662dce9 diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild deleted file mode 100644 index 99e714c32ab8..000000000000 --- a/www-plugins/google-talkplugin/google-talkplugin-5.41.0.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib nsplugins unpacker - -if [ "${PV}" != "9999" ]; then - DEB_PATCH="1" - #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages - MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}" - MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb" - SRC_URI="x86? ( ${MY_URL}/${MY_PKG} ) - amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )" - KEYWORDS="-* ~amd64 ~x86" -else - inherit cvs #hack to make it part of @live-rebuild - MY_URL="https://dl.google.com/linux/direct" - MY_PKG="${PN}_current_i386.deb" - SRC_URI="" -fi - -DESCRIPTION="Video chat browser plug-in for Google Talk" - -HOMEPAGE="https://www.google.com/chat/video" -IUSE="libnotify selinux" -SLOT="0" - -#GoogleTalkPlugin binary contains openssl and celt -LICENSE="Google-TOS openssl BSD" - -OBSOLETE="yes" -[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror" - -RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) - dev-libs/expat - dev-libs/glib:2 - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/pango - sys-apps/lsb-release - selinux? ( sec-policy/selinux-googletalk ) - libnotify? ( x11-libs/libnotify )" - -DEPEND="" - -INSTALL_BASE="opt/google/talkplugin" - -QA_PREBUILT="${INSTALL_BASE}/*" - -S="${WORKDIR}" - -LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl -sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or -ro sr th ur" - -# nofetch means upstream bumped and thus needs version bump -pkg_nofetch() { - if [[ ${OBSOLETE} = yes ]]; then - elog "This version is no longer available from Google and the license prevents mirroring." - elog "This ebuild is intended for users who already downloaded it previously and have problems" - elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search" - use amd64 && MY_PKG="${MY_PKG/i386/amd64}" - elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}" - elog "and copy ${MY_PKG} to your DISTDIR directory." - else - einfo "This version is no longer available from Google." - einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." - einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)." - fi -} - -src_unpack() { - local pkg="${A:=${MY_PKG}}" - if [ "${PV}" = "9999" ]; then - use amd64 && pkg="${pkg/i386/amd64}" - einfo "Fetching ${pkg}" - wget "${MY_URL}/${pkg}" || die - fi - unpacker ${pkg} -} - -src_install() { - local plugindir i l - local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper - /usr/$(get_libdir)/chromium-browser/pepper ) - - unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz - dodoc changelog.Debian - - exeinto "/${INSTALL_BASE}" - doexe "${INSTALL_BASE}"/GoogleTalkPlugin - for i in "${INSTALL_BASE}"/lib*.so; do - doexe "${i}" - [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" - if [[ ${i##*/} = libpp* ]] ; then - for plugindir in "${ppapi_plugindirs[@]}"; do - dosym "/${i}" "${plugindir}/${i##*/}" - done - fi - done - - #install screen-sharing stuff - bug #397463 - insinto "/${INSTALL_BASE}" - doins "${INSTALL_BASE}"/windowpicker.glade - doins "${INSTALL_BASE}"/remoting24x24.png - doins -r "${INSTALL_BASE}"/data - - strip-linguas ${LANGS} - for l in ${LINGUAS}; do - insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/ - doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo - done -} diff --git a/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild deleted file mode 100644 index 31e21372df51..000000000000 --- a/www-plugins/google-talkplugin/google-talkplugin-5.41.3.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib nsplugins unpacker - -if [ "${PV}" != "9999" ]; then - DEB_PATCH="1" - #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages - MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}" - MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb" - SRC_URI="x86? ( ${MY_URL}/${MY_PKG} ) - amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )" - KEYWORDS="-* ~amd64 ~x86" -else - inherit cvs #hack to make it part of @live-rebuild - MY_URL="https://dl.google.com/linux/direct" - MY_PKG="${PN}_current_i386.deb" - SRC_URI="" -fi - -DESCRIPTION="Video chat browser plug-in for Google Talk" - -HOMEPAGE="https://www.google.com/chat/video" -IUSE="libnotify selinux" -SLOT="0" - -#GoogleTalkPlugin binary contains openssl and celt -LICENSE="Google-TOS openssl BSD" - -OBSOLETE="no" -[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror" - -RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) - dev-libs/expat - dev-libs/glib:2 - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/pango - sys-apps/lsb-release - selinux? ( sec-policy/selinux-googletalk ) - libnotify? ( x11-libs/libnotify )" - -DEPEND="" - -INSTALL_BASE="opt/google/talkplugin" - -QA_PREBUILT="${INSTALL_BASE}/*" - -S="${WORKDIR}" - -LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl -sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or -ro sr th ur" - -# nofetch means upstream bumped and thus needs version bump -pkg_nofetch() { - if [[ ${OBSOLETE} = yes ]]; then - elog "This version is no longer available from Google and the license prevents mirroring." - elog "This ebuild is intended for users who already downloaded it previously and have problems" - elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search" - use amd64 && MY_PKG="${MY_PKG/i386/amd64}" - elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}" - elog "and copy ${MY_PKG} to your DISTDIR directory." - else - einfo "This version is no longer available from Google." - einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." - einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)." - fi -} - -src_unpack() { - local pkg="${A:=${MY_PKG}}" - if [ "${PV}" = "9999" ]; then - use amd64 && pkg="${pkg/i386/amd64}" - einfo "Fetching ${pkg}" - wget "${MY_URL}/${pkg}" || die - fi - unpacker ${pkg} -} - -src_install() { - local plugindir i l - local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper - /usr/$(get_libdir)/chromium-browser/pepper ) - - unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz - dodoc changelog.Debian - - exeinto "/${INSTALL_BASE}" - doexe "${INSTALL_BASE}"/GoogleTalkPlugin - for i in "${INSTALL_BASE}"/lib*.so; do - doexe "${i}" - [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" - if [[ ${i##*/} = libpp* ]] ; then - for plugindir in "${ppapi_plugindirs[@]}"; do - dosym "/${i}" "${plugindir}/${i##*/}" - done - fi - done - - #install screen-sharing stuff - bug #397463 - insinto "/${INSTALL_BASE}" - doins "${INSTALL_BASE}"/windowpicker.glade - doins "${INSTALL_BASE}"/remoting24x24.png - doins -r "${INSTALL_BASE}"/data - - strip-linguas ${LANGS} - for l in ${LINGUAS}; do - insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/ - doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo - done -} diff --git a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild deleted file mode 100644 index 31e21372df51..000000000000 --- a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib nsplugins unpacker - -if [ "${PV}" != "9999" ]; then - DEB_PATCH="1" - #https://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages - MY_URL="https://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}" - MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb" - SRC_URI="x86? ( ${MY_URL}/${MY_PKG} ) - amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )" - KEYWORDS="-* ~amd64 ~x86" -else - inherit cvs #hack to make it part of @live-rebuild - MY_URL="https://dl.google.com/linux/direct" - MY_PKG="${PN}_current_i386.deb" - SRC_URI="" -fi - -DESCRIPTION="Video chat browser plug-in for Google Talk" - -HOMEPAGE="https://www.google.com/chat/video" -IUSE="libnotify selinux" -SLOT="0" - -#GoogleTalkPlugin binary contains openssl and celt -LICENSE="Google-TOS openssl BSD" - -OBSOLETE="no" -[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror" - -RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib ) - dev-libs/expat - dev-libs/glib:2 - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/pango - sys-apps/lsb-release - selinux? ( sec-policy/selinux-googletalk ) - libnotify? ( x11-libs/libnotify )" - -DEPEND="" - -INSTALL_BASE="opt/google/talkplugin" - -QA_PREBUILT="${INSTALL_BASE}/*" - -S="${WORKDIR}" - -LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl -sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or -ro sr th ur" - -# nofetch means upstream bumped and thus needs version bump -pkg_nofetch() { - if [[ ${OBSOLETE} = yes ]]; then - elog "This version is no longer available from Google and the license prevents mirroring." - elog "This ebuild is intended for users who already downloaded it previously and have problems" - elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search" - use amd64 && MY_PKG="${MY_PKG/i386/amd64}" - elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}" - elog "and copy ${MY_PKG} to your DISTDIR directory." - else - einfo "This version is no longer available from Google." - einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." - einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)." - fi -} - -src_unpack() { - local pkg="${A:=${MY_PKG}}" - if [ "${PV}" = "9999" ]; then - use amd64 && pkg="${pkg/i386/amd64}" - einfo "Fetching ${pkg}" - wget "${MY_URL}/${pkg}" || die - fi - unpacker ${pkg} -} - -src_install() { - local plugindir i l - local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper - /usr/$(get_libdir)/chromium-browser/pepper ) - - unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz - dodoc changelog.Debian - - exeinto "/${INSTALL_BASE}" - doexe "${INSTALL_BASE}"/GoogleTalkPlugin - for i in "${INSTALL_BASE}"/lib*.so; do - doexe "${i}" - [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}" - if [[ ${i##*/} = libpp* ]] ; then - for plugindir in "${ppapi_plugindirs[@]}"; do - dosym "/${i}" "${plugindir}/${i##*/}" - done - fi - done - - #install screen-sharing stuff - bug #397463 - insinto "/${INSTALL_BASE}" - doins "${INSTALL_BASE}"/windowpicker.glade - doins "${INSTALL_BASE}"/remoting24x24.png - doins -r "${INSTALL_BASE}"/data - - strip-linguas ${LANGS} - for l in ${LINGUAS}; do - insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/ - doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo - done -} diff --git a/www-plugins/google-talkplugin/metadata.xml b/www-plugins/google-talkplugin/metadata.xml deleted file mode 100644 index 01c7f29f34d2..000000000000 --- a/www-plugins/google-talkplugin/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>junghans@gentoo.org</email> - <name>Christoph Junghans</name> - </maintainer> -<maintainer type="project"> - <email>desktop-misc@gentoo.org</email> - <name>Gentoo Desktop Miscellaneous Project</name> - </maintainer> -</pkgmetadata> diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index 0a5f1694be5e..4fd489882718 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1 +1,2 @@ -DIST lightspark-0.8.1.tar.gz 1899466 BLAKE2B d057deccc8ee03f16bfd384c9aee94ee70b7f6674bb0d46c2965f27868a2177c2985f791801975aab1608b4e59d9d40a51e327ec4b00e60eb6714f610b4c319f SHA512 ee9f02e4aa160d8e68cab743eddce5f4f5de0bb78f5daaaf69890b442701dc42094a59433cef136f6dc85e6fbce989bc8ff7ce8ad1ed1929c8501b13e24f2646 +DIST lightspark-0.8.6.1.tar.gz 5419194 BLAKE2B dfe56f604c6dd9f9848c1cedffce5bc2a20f51a8b42405f5a38ddbc5c5a1db87e69cba99f5045cd7f60957e46992da8442d95d7ef929bcb806ed5ab0a17f084e SHA512 ea54b3d66acfcb12aac271669d550f6aa1709db59d4bcc005479b7be394a4ca30473a993a780c632228eeaad2977d97cdbcadff5cf8abbbf07503f9d56192f31 +DIST lightspark-0.8.7.tar.gz 5440706 BLAKE2B 53486183672c35a8b8040177ebc738e588c3ea39a316d2dd10fc4868393b0befea5ac9f411cdb87aad608f02df2f04e07b4a7f8a0635c0f6e0dee465469709f4 SHA512 a0207629238054d669710fcb4d6b1904624d4ed8fb19cf822447e55107d6c3596f6e9fb425c14968365a1c8224b7c3a899008428fd69c9714a03a74230e64f2f diff --git a/www-plugins/lightspark/lightspark-0.8.1.ebuild b/www-plugins/lightspark/lightspark-0.8.1.ebuild deleted file mode 100644 index 490141311ef0..000000000000 --- a/www-plugins/lightspark/lightspark-0.8.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils gnome2-utils llvm nsplugins toolchain-funcs xdg-utils - -EGIT_COMMIT="f6ed8284810ad91c277ed5d0835b215e7329450e" -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/" -SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - <sys-devel/llvm-7:= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( - libav? ( <media-video/libav-13_pre:0= ) - !libav? ( media-video/ffmpeg:0= ) - ) - gles? ( media-libs/mesa:0=[gles2] ) - !gles? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -LLVM_MAX_SLOT=6 - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - - if use nsplugin && ! has_version www-plugins/gnash; then - elog "Lightspark now supports gnash fallback for its browser plugin." - elog "Install www-plugins/gnash to take advantage of it." - fi - if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then - elog "Having two plugins installed for the same MIME type may confuse" - elog "Mozilla based browsers. It is recommended to disable the nsplugin" - elog "USE flag for either gnash or lightspark. For details, see" - elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-plugins/lightspark/lightspark-0.8.6.1.ebuild b/www-plugins/lightspark/lightspark-0.8.6.1.ebuild new file mode 100644 index 000000000000..eae7210c3eae --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.6.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/" +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND=" + app-arch/xz-utils:= + dev-libs/glib + dev-libs/libpcre:=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/libsdl2 + media-libs/sdl2-mixer + sys-libs/zlib:= + x11-libs/cairo + x11-libs/libX11 + x11-libs/pango + curl? ( net-misc/curl:= ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2-only? ( media-libs/mesa:=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:= ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then + elog "Having two plugins installed for the same MIME type may confuse" + elog "Mozilla based browsers. It is recommended to disable the nsplugin" + elog "USE flag for either gnash or lightspark. For details, see" + elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" + fi +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-plugins/lightspark/lightspark-0.8.7.ebuild b/www-plugins/lightspark/lightspark-0.8.7.ebuild new file mode 100644 index 000000000000..29b4fcc7e999 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.8.7.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://lightspark.github.io/" +SRC_URI=" + https://github.com/lightspark/lightspark/archive/${PV}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_rc*/} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" + +# Note: no LLVM since it's broken upstream +RDEPEND=" + app-arch/xz-utils:= + dev-libs/glib + dev-libs/libpcre:=[cxx] + media-fonts/liberation-fonts + media-libs/freetype:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/libsdl2 + sys-libs/zlib:= + x11-libs/cairo + x11-libs/libX11 + x11-libs/pango + curl? ( net-misc/curl:= ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2-only? ( media-libs/mesa:=[gles2] ) + !gles2-only? ( + >=media-libs/glew-1.5.3:= + virtual/opengl:0= + ) + rtmp? ( media-video/rtmpdump:= ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm ) + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_CURL=$(usex curl) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_LIBAVCODEC=$(usex ffmpeg) + -DENABLE_RTMP=$(usex rtmp) + + -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) + -DENABLE_PROFILING=$(usex profile) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + + -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) + -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins + # TODO: install /etc/chromium file? block adobe-flash? + -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) + -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use nsplugin; then + # copied from nsplugins.eclass, that's broken in EAPI 7 + dodir /usr/$(get_libdir)/nsbrowser/plugins + dosym ../../lightspark/plugins/liblightsparkplugin.so \ + /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + + if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then + elog "Having two plugins installed for the same MIME type may confuse" + elog "Mozilla based browsers. It is recommended to disable the nsplugin" + elog "USE flag for either gnash or lightspark. For details, see" + elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" + fi +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild deleted file mode 100644 index e85c7575af90..000000000000 --- a/www-plugins/lightspark/lightspark-9999.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils - -DESCRIPTION="High performance flash player" -HOMEPAGE="http://lightspark.github.io/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/lightspark/lightspark" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp" - -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - >=dev-libs/boost-1.42:0= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - >=sys-devel/llvm-3.4:= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( - libav? ( media-video/libav:0= ) - !libav? ( media-video/ffmpeg:0= ) - ) - gles? ( media-libs/mesa:0=[gles2] ) - !gles? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - - if use nsplugin && ! has_version www-plugins/gnash; then - elog "Lightspark now supports gnash fallback for its browser plugin." - elog "Install www-plugins/gnash to take advantage of it." - fi - if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then - elog "Having two plugins installed for the same MIME type may confuse" - elog "Mozilla based browsers. It is recommended to disable the nsplugin" - elog "USE flag for either gnash or lightspark. For details, see" - elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-plugins/lightspark/metadata.xml b/www-plugins/lightspark/metadata.xml index a6132373a429..5aed0105abb5 100644 --- a/www-plugins/lightspark/metadata.xml +++ b/www-plugins/lightspark/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>chithanh@gentoo.org</email> @@ -10,7 +10,6 @@ <name>Michał Górny</name> </maintainer> <use> - <flag name="gles">Replace default OpenGL renderer with GLESv2</flag> <flag name="ppapi">Install the PPAPI plugin (for Chromium)</flag> <flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag> </use> diff --git a/www-plugins/metadata.xml b/www-plugins/metadata.xml index b10aa1dfd1d1..a65d9302bae1 100644 --- a/www-plugins/metadata.xml +++ b/www-plugins/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <catmetadata> <longdescription lang="en"> The www-plugins category contains plug-ins for Web browsers. diff --git a/www-plugins/passff-host/Manifest b/www-plugins/passff-host/Manifest index 1f70adbbc567..67b1d77bd8f1 100644 --- a/www-plugins/passff-host/Manifest +++ b/www-plugins/passff-host/Manifest @@ -1,2 +1,4 @@ -DIST passff-host-1.2.0.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911 -DIST passff-host-1.2.0.py 3658 BLAKE2B 2b8fbd2c0e11cdc12804d4430b1028a45a7ff5abb1446d4c85d98b4b45b7cc78c86c0a801952f8810b8061abcbe1109d858d125717bc80f8194f510b39828c36 SHA512 8e3a61562b511895b07d6fe4edb6326d7cb6c14a8032dbcc4927b9a1c25a1a103042cd7dbbb6e417019fea768f30e32ff60fc4483b165968ec920fbfd40971b0 +DIST passff-host-1.2.3.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911 +DIST passff-host-1.2.3.py 3691 BLAKE2B 428573d2493f9ff8ef1dc6c8971508a05afa1bef7e06831462106e8daa98c9bedf63489e6630ff9c441ef981164656932c404ffd47e12a2e1e77a55c3ec4955e SHA512 be01e5ed3974bc0967e0dd102593ea8b4f62a5b4ca3f8f2fa2743f9abb4118334cfd27ecd595ce31dd079831614ebf8d91c5b504ad5ead067c245b921d756ceb +DIST passff-host-1.2.4.json 176 BLAKE2B 8eddc19cd0c072d25afff5cfa86a95d960ae7b986727099a04a1d983b887922f9ad77e940a2c80e0838a169afe81fa3f6529a901998bb98a6750ac888a09c264 SHA512 e4a4b90fb5323c6dbec339b9e67a7d546c6d7a95754fe03b3a4d96396c28de1caba3068b4e936ee0ce0997f865c8b5e53a3da1fb34f0123a04c5889302c28911 +DIST passff-host-1.2.4.py 4427 BLAKE2B 495947577f9ee7b2e02e42e5200d29896c63234f33dd3576b9d19fb986ac9419685f39c6bfd061fcc3754ab386030a62b08147b0967a6f49ac2be79268ea8e5a SHA512 ddc14a634f5ae33d3dd8db211fbea0e7728eb8fec8bca366b1860f0d92abc019556c1e3643fbcf85e92cbfbe99a4a67dda0c1d9c5651d20676fdd63b3635ffaa diff --git a/www-plugins/passff-host/metadata.xml b/www-plugins/passff-host/metadata.xml index 1e9cea82ee0e..0f445e236ce9 100644 --- a/www-plugins/passff-host/metadata.xml +++ b/www-plugins/passff-host/metadata.xml @@ -1,20 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> - <email>contact@hacktivis.me</email> -</maintainer> -<maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> -</maintainer> -<use> - <flag name="chrome">Install plugin for chrome (which also includes opera)</flag> - <flag name="chromium">Install plugin for chromium</flag> - <flag name="firefox">Install plugin for firefox</flag> - <flag name="vivaldi">Install plugin for vivaldi</flag> -</use> -<upstream> - <remote-id type="github">passff/passff-host</remote-id> -</upstream> + <!-- maintainer-needed --> + <use> + <flag name="chrome">Install plugin for chrome (which also includes opera)</flag> + <flag name="chromium">Install plugin for chromium</flag> + <flag name="firefox">Install plugin for firefox</flag> + <flag name="vivaldi">Install plugin for vivaldi</flag> + </use> + <upstream> + <remote-id type="github">passff/passff-host</remote-id> + </upstream> </pkgmetadata> diff --git a/www-plugins/passff-host/passff-host-1.2.0.ebuild b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild index f42fb96ba19b..833c60452afa 100644 --- a/www-plugins/passff-host/passff-host-1.2.0.ebuild +++ b/www-plugins/passff-host/passff-host-1.2.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2018-2019 Gentoo Authors +# Copyright 2018-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_5 python3_6 python3_7 ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-single-r1 @@ -17,9 +17,17 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="chrome chromium firefox vivaldi" -REQUIRED_USE="|| ( chrome chromium firefox vivaldi )" +KEYWORDS="amd64 ~ppc64 ~x86" +IUSE="chrome chromium +firefox vivaldi" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( chrome chromium firefox vivaldi ) +" + +RDEPEND=" + ${PYTHON_DEPS} + app-crypt/pinentry +" S="${WORKDIR}" @@ -39,6 +47,8 @@ src_install() { use chrome && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" ) use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" ) use firefox && target_dirs+=( "/usr/$(get_libdir)/mozilla/native-messaging-hosts" ) + # www-client/firefox-bin compile-time dir is under /usr/lib/ + use firefox && target_dirs+=( "/usr/lib/mozilla/native-messaging-hosts" ) use vivaldi && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" ) for target_dir in "${target_dirs[@]}"; do @@ -50,3 +60,9 @@ src_install() { newexe "${P}.py" passff.py done } + +pkg_postinst() { + elog "Make sure to use graphical version of pinentry for ${PN} to work properly" + elog "Run 'eselect pinentry list'" + elog "And select 'pinentry-qt5' or 'pinentry-gnome'. efl might work too." +} diff --git a/www-plugins/passff-host/passff-host-1.2.4.ebuild b/www-plugins/passff-host/passff-host-1.2.4.ebuild new file mode 100644 index 000000000000..7a0d38a68576 --- /dev/null +++ b/www-plugins/passff-host/passff-host-1.2.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit python-single-r1 + +DESCRIPTION="Host app for the PassFF WebExtension" +HOMEPAGE="https://github.com/passff/passff-host" + +SRC_URI=" + https://github.com/passff/passff-host/releases/download/${PV}/passff.py -> ${P}.py + https://github.com/passff/passff-host/releases/download/${PV}/passff.json -> ${P}.json +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="chrome chromium +firefox vivaldi" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( chrome chromium firefox vivaldi ) +" + +RDEPEND=" + ${PYTHON_DEPS} + app-crypt/pinentry +" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}/${P}.json" . || die + cp "${DISTDIR}/${P}.py" . || die +} + +src_prepare() { + default + python_fix_shebang "${P}.py" +} + +src_install() { + local target_dirs=() + + use chrome && target_dirs+=( "/etc/opt/chrome/native-messaging-hosts" ) + use chromium && target_dirs+=( "/etc/chromium/native-messaging-hosts" ) + use firefox && target_dirs+=( "/usr/$(get_libdir)/mozilla/native-messaging-hosts" ) + # www-client/firefox-bin compile-time dir is under /usr/lib/ + use firefox && target_dirs+=( "/usr/lib/mozilla/native-messaging-hosts" ) + use vivaldi && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" ) + + for target_dir in "${target_dirs[@]}"; do + sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > "passff.json" || die + + insinto "${target_dir}" + doins passff.json + exeinto "${target_dir}" + newexe "${P}.py" passff.py + done +} + +pkg_postinst() { + elog "Make sure to use graphical version of pinentry for ${PN} to work properly" + elog "Run 'eselect pinentry list'" + elog "And select 'pinentry-qt5' or 'pinentry-gnome'. efl might work too." +} diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest deleted file mode 100644 index 6dc113ca0cf7..000000000000 --- a/www-plugins/passff/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST passff-1.9-fx.xpi 72849 BLAKE2B 8b75fba4b5aeb04693966e74761e3ffb46512c83cfd27354c7e3e5c3ef83b9ea5eb7f53501e694a2e61157bb6b9c5ec62a6fcc9a5b81ef61d927a1a563f08671 SHA512 7810d97c1b5b5dc341684dceaac85f1d225880ea5d308a3eb72c807fa073f60f87abec0a6933d7918e565797c6eda9a78867d0edd33e90a6ccd5c8d1cbf80850 diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml deleted file mode 100644 index af94d61a3425..000000000000 --- a/www-plugins/passff/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>contact@hacktivis.me</email> -</maintainer> -<maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> -</maintainer> -<upstream> - <remote-id type="github">passff/passff</remote-id> -</upstream> -</pkgmetadata> diff --git a/www-plugins/passff/passff-1.9.ebuild b/www-plugins/passff/passff-1.9.ebuild deleted file mode 100644 index d2745055d54f..000000000000 --- a/www-plugins/passff/passff-1.9.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2018-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_XPINAME="${P}-fx" - -DESCRIPTION="zx2c4 pass manager extension for Firefox" -HOMEPAGE="https://github.com/passff/passff" -SRC_URI="https://addons.mozilla.org/firefox/downloads/file/3051801/${MY_XPINAME}.xpi" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="www-plugins/passff-host[firefox]" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die -} - -src_install() { - # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders - insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/" - # passff@invicem.pro is the extension id found in the manifest.json - newins "${MY_XPINAME}.xpi" "passff@invicem.pro.xpi" -} diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest index 0a9454d66fea..986bb3adf7ff 100644 --- a/www-plugins/pdfjs/Manifest +++ b/www-plugins/pdfjs/Manifest @@ -1 +1,4 @@ -DIST pdfjs-1.9.426.zip 3510568 BLAKE2B dbeaa51fea45c6bb0a538e96c39cabb096720aa41d882fe01f0e11ec26d23ead918f4d2c09c9cce37606be9b059abe5902c9eb9ff018755cb2278a55481bc1ec SHA512 4c6a7ac613755a73d694a80ccea0d0d3d100fb0c7039ae5d866059d39e58b650092a733c7bea6d302cfa196f439d28f59055443ab96443161d1770462d8976ef +DIST pdfjs-2.14.305.zip 5644865 BLAKE2B 8c8cb282732108e340d75bc575f067d0b9a1040ee49f5febb274270eb706d42f1f61f884467235741969ca5e7e4271903ebaa8e4c09ad2011bab8d2a94182bfc SHA512 9feb730b16b51985b828e12acfa35f2dbcc8c42b0294c477267cd5a2e2d2f65bb994aaa529759238847d6693fe479baedf75fdca27c071fbdc5c0e15081e1c5e +DIST pdfjs-3.9.179.zip 5775197 BLAKE2B 03bbdce1ebeffa025106ce88fcc61bcc523fcac6009cdac39a694a5347cdf63eb2da37a39ea08ca9c3c9e1e3ccf988f17619a14b07d2f8c3c2eac33a43cdabe3 SHA512 85fdcc7839a871a87312d0f006e6d54badf561bfff7bb16463230811cba47d1636e66b3865fb3dd19613444e88e7c1d89a298be04f88f2d1a7c6455df259ff4c +DIST pdfjs-4.0.269.zip 5781825 BLAKE2B 5ee4fea2eb0ed6c5e97a2135c077abd7747487070a7126be443ebfb5f0fe289e3584edfebf2bfa270daa1397f4ca42bb963b9ed8fe89c7a7c31ae0505f80d7f5 SHA512 68a2a8ddc11e732099c7a79d0bbb6c2db579fdeb96c8335206d5797c662e2bf3fcd257de5909a979e54afa09858b408dfc827360d86deac640199e0980354c12 +DIST pdfjs-4.0.379.zip 5813357 BLAKE2B b0ca37ad0ea4d0859c5a0277592d9f2f1ca0a49bfbd05ccde12e982d6485fe70a4d00ba5608c240a1b482c63f0bf39163fe49a7f833e3192b475af35059a3c73 SHA512 cdab3338b953c800056a26aa94a7b31ae0a67dd9f4725550318d133acbb7eec8dafed55e61cd838fc7f43ba11bfed186395330e7fe36bc0000082baea4ee6b73 diff --git a/www-plugins/pdfjs/metadata.xml b/www-plugins/pdfjs/metadata.xml index 1ce0d7605336..5d1118a6d3f5 100644 --- a/www-plugins/pdfjs/metadata.xml +++ b/www-plugins/pdfjs/metadata.xml @@ -1,14 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>hilobakho@gmail.com</email> - <name>Mykyta Holubakha</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Gentoo Proxy Maintainers Project</name> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">mozilla/pdf.js</remote-id> </upstream> diff --git a/www-plugins/pdfjs/pdfjs-1.9.426.ebuild b/www-plugins/pdfjs/pdfjs-2.14.305.ebuild index cb1fdf9d83fc..463a0a0be25e 100644 --- a/www-plugins/pdfjs/pdfjs-1.9.426.ebuild +++ b/www-plugins/pdfjs/pdfjs-2.14.305.ebuild @@ -1,19 +1,18 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="A PDF reader in JavaScript" HOMEPAGE="https://mozilla.github.io/pdf.js/" SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip" +S="${WORKDIR}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="app-arch/unzip" +KEYWORDS="amd64 ~arm64 ~x86" -S="${WORKDIR}" +BDEPEND="app-arch/unzip" src_install() { insinto /usr/share/pdf.js/ diff --git a/www-plugins/pdfjs/pdfjs-3.9.179.ebuild b/www-plugins/pdfjs/pdfjs-3.9.179.ebuild new file mode 100644 index 000000000000..ec418788bbe3 --- /dev/null +++ b/www-plugins/pdfjs/pdfjs-3.9.179.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A PDF reader in JavaScript" +HOMEPAGE="https://mozilla.github.io/pdf.js/" +SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~x86" + +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/pdf.js/ + + doins -r build + doins -r web +} diff --git a/www-plugins/pdfjs/pdfjs-4.0.269.ebuild b/www-plugins/pdfjs/pdfjs-4.0.269.ebuild new file mode 100644 index 000000000000..7d2127ad585d --- /dev/null +++ b/www-plugins/pdfjs/pdfjs-4.0.269.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A PDF reader in JavaScript" +HOMEPAGE="https://mozilla.github.io/pdf.js/" +SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/pdf.js/ + + doins -r build + doins -r web +} diff --git a/www-plugins/pdfjs/pdfjs-4.0.379.ebuild b/www-plugins/pdfjs/pdfjs-4.0.379.ebuild new file mode 100644 index 000000000000..a7c66a412285 --- /dev/null +++ b/www-plugins/pdfjs/pdfjs-4.0.379.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A PDF reader in JavaScript" +HOMEPAGE="https://mozilla.github.io/pdf.js/" +SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/pdf.js/ + + doins -r build + doins -r web +} |