summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory A. Pratt <anarchy@gentoo.org>2018-06-17 23:40:05 -0500
committerJory A. Pratt <anarchy@gentoo.org>2018-06-17 23:40:05 -0500
commitfbeda725940aeb0be30afc1fd3cd0da53a693a19 (patch)
treef9ffa06b2a2ec43507719b6a824c6db071f34cc5
parentwww-client/firefox: Version bump beta14, adjust mozcoreconf-v6 to only (diff)
downloadmozilla-fbeda725940aeb0be30afc1fd3cd0da53a693a19.tar.gz
mozilla-fbeda725940aeb0be30afc1fd3cd0da53a693a19.tar.bz2
mozilla-fbeda725940aeb0be30afc1fd3cd0da53a693a19.zip
eclass: add support for torbrowser
-rw-r--r--eclass/mozconfig-v6.52.eclass2
-rw-r--r--eclass/mozcoreconf-v6.eclass4
2 files changed, 5 insertions, 1 deletions
diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 8dbb55f..eb5273a 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -26,7 +26,7 @@ case ${EAPI} in
;;
esac
-inherit flag-o-matic toolchain-funcs mozcoreconf-v5
+inherit flag-o-matic toolchain-funcs mozcoreconf-v6
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
# @DESCRIPTION:
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index cb80b3f..2f1b0e3 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -124,6 +124,7 @@ mozconfig_init() {
declare FF=$([[ ${PN} == firefox ]] && echo true || echo false)
declare SM=$([[ ${PN} == seamonkey ]] && echo true || echo false)
declare TB=$([[ ${PN} == thunderbird ]] && echo true || echo false)
+ declare TRB=$([[ ${PN} == torbrowser ]] && echo true || echo false)
####################################
#
@@ -139,6 +140,9 @@ mozconfig_init() {
*firefox)
cp browser/config/mozconfig .mozconfig \
|| die "cp browser/config/mozconfig failed" ;;
+ *torbrowser)
+ cp browser/config/mozconfig .mozconfig \
+ || die "cp browser/config/mozconfig failed" ;;
seamonkey)
# Must create the initial mozconfig to enable application
: >.mozconfig || die "initial mozconfig creation failed"