From 0120e85edcdfadd4b34a810f3c27510b88cf4511 Mon Sep 17 00:00:00 2001 From: KronoZed Date: Mon, 27 Feb 2017 14:17:59 +0300 Subject: [PATCH] Add files via upload --- mail-client/wmail-bin/Manifest | 4 ++ mail-client/wmail-bin/wmail-bin-2.2.0.ebuild | 48 ++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 mail-client/wmail-bin/Manifest create mode 100644 mail-client/wmail-bin/wmail-bin-2.2.0.ebuild diff --git a/mail-client/wmail-bin/Manifest b/mail-client/wmail-bin/Manifest new file mode 100644 index 0000000..7341e1e --- /dev/null +++ b/mail-client/wmail-bin/Manifest @@ -0,0 +1,4 @@ +AUX wmail.desktop 184 SHA256 e743fb84bd46835e719d91432a7b5ce3d35f5ded31f62f3e5025dc23a1842c6e SHA512 5eabc66ca7e8d1deceddcc6dae21e70f51d1c163f4deb94265fa41168039df05477358b39fff90ffc190b8ecfe0199d3bd11ec51130b3719d3c822a762f5514d WHIRLPOOL 6063d42432baba4291de4880a5c8690c9ef8f9d8ee538b95fce71206934254374dd4d40fee41cd20deb82c38a745834decc582c979ccec88b04821fed294de49 +DIST wmail-bin-2.2.0-amd64.tar.gz 55625340 SHA256 3ef5b92330f65533a715efba363a47cad375bc56a1eac83917b09105298d2be4 SHA512 91052067b4ef5adaeba113f922a30df007746dfe85d1ef899ea4b0ea4d202abd0f5759ee8cf5a06c7a7bae2f068424f94ea45241c4206e40a01dcc1347bffbcc WHIRLPOOL 187cf3cd235555795a00949103c00652a8ed80c321e3bf45fc1541ed5aab5b8cf95b599245a55d1ac14491936757075582fcb635696d1ae89441fb70190072d2 +DIST wmail-bin-2.2.0-x86.tar.gz 56971902 SHA256 a1621eb088af5433407fb2bc9f16bbec76c6f8ffd98e312a42a1f0bdb308e190 SHA512 b9508b5efc8f8de006ec9531e050ac20d498af1f7495360118ca86f0d823f261194530b29ae8fdd328c35a50a86377c4917e2b7516870e718b0a8e24858d4c92 WHIRLPOOL 11ae275c6a1903ccb9b0b5e6cb15be496718cf396181933a4cacf609a1555aa57621e8c088bf887841dc0543194887c9b07ae67a75eb2d259cef447c8fcee5c8 +EBUILD wmail-bin-2.2.0.ebuild 1333 SHA256 624986906fbbad0787cec55b20b81151958b2b8ce3b78a082fee294a65c08c12 SHA512 f8ca3c015f421ff82e51d0b4150928405fa5433f04042157efc0c824b0ebaabe26d3d2eb6d2f92bb772774d51b488fb575869b6becb1c6c49b92f8f33335b4fb WHIRLPOOL 19c6a73511a5f2ef7501dcfb8af7aa31a4bd27eca720ea254e9e850f695c38c7baa1271546ed426d7e48276ccc25eb422d23b77528c5cb88e6402de0f979c4da diff --git a/mail-client/wmail-bin/wmail-bin-2.2.0.ebuild b/mail-client/wmail-bin/wmail-bin-2.2.0.ebuild new file mode 100644 index 0000000..8270156 --- /dev/null +++ b/mail-client/wmail-bin/wmail-bin-2.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit versionator + +DESCRIPTION="The missing desktop client for Gmail & Google Inbox" +HOMEPAGE="https://github.com/Thomas101/${PN%-bin}" + +MY_PN="WMail" +MY_PV=$(replace_all_version_separators '_') +MAIN_VERISON="${PV}" +if [[ "${PV}" =~ _pre ]]; then + MY_PV="${MY_PV/_pre/_prerelease}" + MAIN_VERISON="v${PV%_pre*}" +fi +SRC_URI="amd64? ( ${HOMEPAGE}/releases/download/v${MAIN_VERISON}/${MY_PN}_${MY_PV}_linux_x86_64.tar.gz -> ${PN}-${PV}-amd64.tar.gz ) + x86? ( ${HOMEPAGE}/releases/download/v${MAIN_VERISON}/${MY_PN}_${MY_PV}_linux_ia32.tar.gz -> ${PN}-${PV}-x86.tar.gz )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-libs/nss + gnome-base/gconf + media-libs/alsa-lib + x11-libs/gtk+:2 + x11-libs/libXtst + x11-misc/xssstate" + +S="${WORKDIR}" + +src_install() { + [[ "${ABI}" == "amd64" ]] && local pkg_dir="${S}/${MY_PN}-linux-x64" + [[ "${ABI}" == "x86" ]] && local pkg_dir="${S}/${MY_PN}-linux-ia32" + + dodir "/opt/${PN%-bin}" + dodir "/opt/bin" + dodir "/usr/share/applications" + rsync -ach --safe-links "${pkg_dir}"/ "${D}/opt/${PN%-bin}"/ + ln -s "${D}/opt/${PN%-bin}/${MY_PN}" "${D}/opt/bin/${PN%-bin}" + insinto "/usr/share/applications" + doins "${FILESDIR}/${PN%-bin}.desktop" +}