diff options
Diffstat (limited to 'www-plugins/passff')
-rw-r--r-- | www-plugins/passff/Manifest | 6 | ||||
-rw-r--r-- | www-plugins/passff/metadata.xml | 4 | ||||
-rw-r--r-- | www-plugins/passff/passff-1.5.1.ebuild | 39 | ||||
-rw-r--r-- | www-plugins/passff/passff-1.6.3.ebuild | 30 |
4 files changed, 33 insertions, 46 deletions
diff --git a/www-plugins/passff/Manifest b/www-plugins/passff/Manifest index be1691ca8e98..8fe444cfc582 100644 --- a/www-plugins/passff/Manifest +++ b/www-plugins/passff/Manifest @@ -1,3 +1,3 @@ -DIST passff-1.5.1-an+fx-linux.xpi 64094 BLAKE2B ebe19e26db05ca38f7ede9a01c1abaec786c197c6a25f0f144be903a93b85723bd143ad1805090fcfe81e83289a156f818d7b7b2a5462f151eb0ac12d1e82b0e SHA512 23dc3833c2d83181c21955169e5f65df88a4a26ab018a852d1181b84fd338a40f46b8ed5828f0e1fccca72f610facac68ceb766a3a7b454962228c36bde233f7 -EBUILD passff-1.5.1.ebuild 846 BLAKE2B 7858dffffef8ca0d721700419812c51a601dae5a2da9b26d0652d531dfeda1bfb991c346307e8afcdcc592d61abf28e9a6cc02e112e2b11988b8cbcfebbda43f SHA512 bdfbf1a0992163c40256dfee78f1947ad5b96414e82b327ce1041aaf18910f5423a0ca3db2a81a60ce71a557bb30ee649467450fbd841b4dca9657f7e3c2f7ed -MISC metadata.xml 582 BLAKE2B 44a227f047995fcfb3ffba141ed22c632c5be62d9c3526874cfc6bfb66a3dc001f2a0820b877c7f6a582c05f4f03a548e2cee98b7160e433a4c722217414dbe0 SHA512 3ae829aacd4a82e81b25f4b58f7a142d4d43e26bec35143f642f3a069591eb6546389b7e7758641ecf3a360ddbf0129611b669b20a290ea5b72c2462d3b517ca +DIST passff-1.6.3-fx.xpi 66124 BLAKE2B 9638567e141f0bc68d754325df2bc97a45f918778bddf536ccf9b5701a7e805f0081f8cd1c4193cd750c079b7e00880872cecb71324fd7267fe39638f4c46a9a SHA512 83dffe2b2f1284d90c6e37b5e794e45cc8e2e59f782ee0cce37da4bf16a6349f645e5fb59516bf5a10ef6a9e77a775cd81e4e775fb45b8a8454c9db4c0b781b5 +EBUILD passff-1.6.3.ebuild 890 BLAKE2B 6c1ce853b9d044dc641ce3467f5244fe10004253d1aa1b04bca7c637d50e0e7ddf3b0ea5a895854038074e4c87764199b1619db751a5c75fca024db0bc4b10c5 SHA512 b577c4b1c1ba6bf56ecd3338d32604d4763ba789198719389b4746095c9cfc966b62c5e14c774f0955ffbf9a57d05fb1c16acd74bd8f1bdbb82ae4c7a85742cf +MISC metadata.xml 405 BLAKE2B 67f6bbac11d8079427eaf30bbdb41ceeb738d31b437a9bc4253e912edd4ff4c8294ee27805188728a782bd99ddaba4fd0b274c5a6918159121ad840f328bb1ba SHA512 8312f9bc8e7859745d0ccf2ccda8e8e797d1d1b1b7537554c1ba788277ccb2de72d28a93e7cc55795c9f407389b2dc5067c5f025db98ff08b520ede3cb4aa513 diff --git a/www-plugins/passff/metadata.xml b/www-plugins/passff/metadata.xml index 234e183d237e..af94d61a3425 100644 --- a/www-plugins/passff/metadata.xml +++ b/www-plugins/passff/metadata.xml @@ -8,10 +8,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> -<use> - <flag name="firefox">Install plugin for <pkg>www-client/firefox</pkg></flag> - <flag name="firefox-bin">Install plugin for <pkg>www-client/firefox-bin</pkg></flag> -</use> <upstream> <remote-id type="github">passff/passff</remote-id> </upstream> diff --git a/www-plugins/passff/passff-1.5.1.ebuild b/www-plugins/passff/passff-1.5.1.ebuild deleted file mode 100644 index 8e1bdf3fe70f..000000000000 --- a/www-plugins/passff/passff-1.5.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit mozextension - -DESCRIPTION="zx2c4 pass manager extension for Firefox" -HOMEPAGE="https://github.com/passff/passff" -SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1056515/passff-1.5.1-an+fx-linux.xpi" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="firefox firefox-bin" - -RDEPEND="www-plugins/passff-host[firefox]" -REQUIRED_USE="|| ( firefox firefox-bin )" - -S="${WORKDIR}" - -MY_XPINAME="passff-1.5.1-an+fx-linux" - -src_unpack() { - xpi_unpack "${MY_XPINAME}.xpi" -} - -src_install() { - local MOZILLA_FIVE_HOME - if use firefox; then - MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox" - xpi_install "${MY_XPINAME}" - fi - - if use firefox-bin; then - MOZILLA_FIVE_HOME="/opt/firefox" - xpi_install "${MY_XPINAME}" - fi -} diff --git a/www-plugins/passff/passff-1.6.3.ebuild b/www-plugins/passff/passff-1.6.3.ebuild new file mode 100644 index 000000000000..80c02c29368a --- /dev/null +++ b/www-plugins/passff/passff-1.6.3.ebuild @@ -0,0 +1,30 @@ +# 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/1681210/${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" +} |