commit: e2c606a1505a56eaaa26473f5cc4ca3dbb99e0d1
parent: 99ec28e28de8d7a257f2be4f2240d97d05a04086
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 4 May 2019 20:43:40 +0200
www-plugins/decentraleyes: Bump to 2.0.10
Diffstat:
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/www-plugins/decentraleyes/Manifest b/www-plugins/decentraleyes/Manifest
@@ -1 +1,2 @@
+DIST decentraleyes-2.0.10-an+fx.xpi 6825629 BLAKE2B 7f3f966e278316fdd38a57e091a2f9cb3242ffecf03976f0ede598e1e9d4db8a85aff527d12c9495f4fa536fd1c40ab36d97a13a9caaeaeb37fd29be01e923b3 SHA512 f3622a25dd0e19c1208297ab5d392b35912fbb0ce106fb82d870867a033d6369f274bbba32575d3bac29b25c512638e9893a07efa2ef9ae815d4c58f2e2ac8a6
DIST decentraleyes-2.0.9-an+fx.xpi 5936654 BLAKE2B 8f5ea505c68262e0bf7e336618d72f097b80c2ee2557cef80e216a77535ba7df20ebd588bceaa9208e8d023e0e473e084f1723d1678771e2c0ee7599b5ba5937 SHA512 1bdfd96a5df3dfceadca0b40e9aaa4578f55e837d236b23fa71d4a5df4251b006cc1bdadca135e295a917c65a2605edf7a31486b71367b51cd1a974a06e79051
diff --git a/www-plugins/decentraleyes/decentraleyes-2.0.10.ebuild b/www-plugins/decentraleyes/decentraleyes-2.0.10.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_XPINAME="${P}-an+fx"
+
+DESCRIPTION="Firefox addon that fixes low contrast text when using dark desktop theme"
+HOMEPAGE="https://decentraleyes.org/"
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1705979/decentraleyes-2.0.10-an+fx.xpi"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+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}/"
+ # Use the extension id found in the manifest.json for the filename and add .xpi
+ newins "${MY_XPINAME}.xpi" "jid1-BoFifL9Vbdl2zQ@jetpack.xpi"
+}