mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
adblock_plus: convert to webext eclass
This commit is contained in:
parent
b532826cfd
commit
44fb16826d
3 changed files with 23 additions and 46 deletions
|
|
@ -1,3 +1,2 @@
|
|||
DIST adblock_plus-2.8.2.xpi 1055311 SHA256 2de5616ae0ad17fd6345c6f8f8ec5bd8a8db1bdf8d8dad9995857ad2d6454306 SHA512 870f22e7b902a4c6569445892db7569f6698110b67dd578babe33bcc9ef70a787dc875d9f800ea12b49f2bee661493473b4ca5adb271d6607e7276c3e0705574 WHIRLPOOL 1c06fad545f037db37227d785f80621ca5b6817d6159dc557cf10d18a5e0277d18dcde1bd3b10a64019ea34bbf8ebee34f4b43cbe20e1634e72b2242061ea1c6
|
||||
DIST adblock_plus-2.9.1.xpi 1059016 SHA256 199b9e3a8531bd10451c3e8e8adc4c529b29a55979e742cbe52d9f308c3d606d SHA512 23bd76960bbeda7159b055972924f23756c1afc22bee481ca139c66b9e6321b2fc3bb53572fb7e9e0edbe3ae2b21dbd3fa451db3403dae90f931fd4691fc0c02 WHIRLPOOL abeddf73c14a38d1fdbe63aaba7b40559ce5d4eaa91f6cb1e72c3831556a863e3c0e060e346c03ca62125b80449aaa27dbf9f9091551c8ca0248d12a30b59f97
|
||||
DIST adblock_plus-3.0.1.xpi 1033260 SHA256 0e9973e14e6a57871e797b72d044e30b252121822e233b73e3087f51a0bc5efc SHA512 2886e3ca1b5908940e377756f7e07628d93fdfdc7b363cb7301c141ea4a9109ca59d05d4a3c41d92f6f91be5a16dc80fb315eb620773413941be2fc4039e00bc WHIRLPOOL ac240cc5f1c83604ba57af4f0d30ef17f2b8fd131bb6d44339ad56eacc9b6671ae3f0bbbac334987c2bc1a7e44380fbf9708a8659ffe4f341eff722a87d37957
|
||||
DIST adblock_plus-2.9.1.xpi 1059016 BLAKE2B 1ede527392da2bb0e66436c6a58baf0044c85bf4b637e9f6e1836d85757bf403540c82062fcf3e41d25e46ef0e1ab44a6b6fe4d9e37546284f3801f4cf73f93c SHA512 23bd76960bbeda7159b055972924f23756c1afc22bee481ca139c66b9e6321b2fc3bb53572fb7e9e0edbe3ae2b21dbd3fa451db3403dae90f931fd4691fc0c02
|
||||
DIST adblock_plus-3.0.4.xpi 1263134 BLAKE2B 6d5a4bc68e8602062405c3524001cad9ef7187ceb15016c4ed26c11c2af444351ba1fdcea189dacff13b1163b6197e044506bd43485a0b9e1a6caabb4e29de16 SHA512 0373dc4ceb35295ed7625c08eae8ba40c8be0d61f515eade2af4b9bf326e2f8ab79322ff62a45a9082133db7b19440c93f2393200697aeb632e46d8bcf769e2a
|
||||
|
|
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit mozilla-addon
|
||||
|
||||
MOZ_FILEID="764081"
|
||||
#https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/adblock-plus
|
||||
|
||||
DESCRIPTION="Firefox extension to block annoying ads automatically, no distractions."
|
||||
HOMEPAGE="http://adblockplus.org/en/firefox"
|
||||
SRC_URI="http://addons.mozilla.org/downloads/file/${MOZ_FILEID} -> ${P}.xpi"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+symlink_all_targets target_firefox target_thunderbird target_seamonkey target_firefox-bin target_thunderbird-bin target_seamonkey-bin"
|
||||
|
||||
RDEPEND="
|
||||
!symlink_all_targets? (
|
||||
target_firefox? ( www-client/firefox )
|
||||
target_firefox-bin? ( www-client/firefox-bin )
|
||||
target_seamonkey? ( www-client/seamonkey )
|
||||
target_seamonkey-bin? ( www-client/seamonkey-bin )
|
||||
target_thunderbird? ( mail-client/thunderbird )
|
||||
target_thunderbird-bin? ( mail-client/thunderbird-bin )
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
# symlink all possible target paths if this is set
|
||||
if use symlink_all_targets; then
|
||||
MZA_TARGETS="firefox thunderbird seamonkey firefox-bin thunderbird-bin seamonkey-bin"
|
||||
else
|
||||
use target_firefox && MZA_TARGETS+=" firefox"
|
||||
use target_firefox-bin && MZA_TARGETS+=" firefox-bin"
|
||||
use target_thunderbird && MZA_TARGETS+=" thunderbird"
|
||||
use target_thunderbird-bin && MZA_TARGETS+=" thunderbird-bin"
|
||||
use target_seamonkey && MZA_TARGETS+=" seamonkey"
|
||||
use target_seamonkey-bin && MZA_TARGETS+=" seamonkey-bin"
|
||||
fi
|
||||
mozilla-addon_src_install
|
||||
}
|
||||
21
www-plugins/adblock_plus/adblock_plus-3.0.4.ebuild
Normal file
21
www-plugins/adblock_plus/adblock_plus-3.0.4.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
#https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/adblock-plus
|
||||
#<install
|
||||
WEXT_FILEID="931995"
|
||||
#<guid>
|
||||
WEXT_GUID="{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
|
||||
|
||||
inherit mozilla-webext
|
||||
|
||||
DESCRIPTION="Firefox extension to block annoying ads automatically, no distractions."
|
||||
HOMEPAGE="http://adblockplus.org/en/firefox"
|
||||
SRC_URI="http://addons.mozilla.org/downloads/file/${MOZ_FILEID} -> ${P}.xpi"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
Loading…
Reference in a new issue