x11-plugins/tbsync - 2.11 (xdch47)

Search

Install

Install this version:

emerge -a =x11-plugins/tbsync-2.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-plugins/tbsync-2.11

Or alternatively:

emerge --autounmask-write -a =x11-plugins/tbsync-2.11

Package Information

Description:
Central user interface to synchronize organisation data with Thunderbird
Homepage:
https://github.com/jobisoft/TbSync
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.11 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="TbSync"
DAV_PV="1.9"
EAS_PV="1.12"

DESCRIPTION="Central user interface to synchronize organisation data with Thunderbird"
HOMEPAGE="https://github.com/jobisoft/TbSync"
SRC_URI="https://github.com/jobisoft/TbSync/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/jobisoft/DAV-4-TbSync/archive/v${DAV_PV}.tar.gz -> dav-4-tbsync-${DAV_PV}.tar.gz
	https://github.com/jobisoft/EAS-4-TbSync/archive/v${EAS_PV}.tar.gz -> eas-4-tbsync-${EAS_PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+dav +eas"

DEPEND="app-arch/zip"
RDEPEND="${DEPEND}
		>=mail-client/thunderbird-68.0.0"
BDEPEND=""

S="${WORKDIR}/${MY_PN}-${PV}"

tbsync_emid="tbsync@jobisoft.de"
dav4tbsync_emid="dav4tbsync@jobisoft.de"
eas4tbsync_emid="eas4tbsync@jobisoft.de"

xpi_files=(content _locales skin chrome.manifest manifest.json LICENSE README.md bootstrap.js CONTRIBUTORS.md)

src_compile() {
	zip -r "$S/${tbsync_emid}.xpi" ${xpi_files[@]}

	if use dav ; then
		cd "${WORKDIR}/DAV-4-${MY_PN}-${DAV_PV}"
		zip -r "$S/${dav4tbsync_emid}.xpi" ${xpi_files[@]}
	fi

	if use eas ; then
		cd "${WORKDIR}/EAS-4-${MY_PN}-${EAS_PV}"
		zip -r "$S/${eas4tbsync_emid}.xpi" ${xpi_files[@]}
	fi
}

src_install() {
	insinto "/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}"
	doins "${tbsync_emid}.xpi"
	use dav && doins "${dav4tbsync_emid}.xpi"
	use eas && doins "${eas4tbsync_emid}.xpi"
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-plugins/tbsync | euse -E <flag> -p x11-plugins/tbsync | euse -D <flag> -p x11-plugins/tbsync

Global/Standard Flags

dav
Default: Enabled (+)
eas
Default: Enabled (+)

Dependencies

DEPEND

app-arch/zip

RDEPEND

app-arch/zip
		>=mail-client/thunderbird-68.0.0

Manifest for 2.11

Type File Size Source URLs
DIST dav-4-tbsync-1.9.tar.gz 697731 bytes https://github.com/jobisoft/DAV-4-TbSync/archive/v1.9.tar.gz
DIST eas-4-tbsync-1.12.tar.gz 402450 bytes https://github.com/jobisoft/EAS-4-TbSync/archive/v1.12.tar.gz
DIST tbsync-2.11.tar.gz 979528 bytes https://github.com/jobisoft/TbSync/archive/v2.11.tar.gz