diff options
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/purple-hangouts/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/purple-hangouts/purple-hangouts-0_p20170714.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-plugins/purple-hangouts/Manifest b/x11-plugins/purple-hangouts/Manifest index 480a61df36c4..894dac86c421 100644 --- a/x11-plugins/purple-hangouts/Manifest +++ b/x11-plugins/purple-hangouts/Manifest @@ -1 +1,2 @@ DIST purple-hangouts-0_p20170209.tar.gz 144521 SHA256 7ed20cde10e1f6b65127d8c0f65e24a1495a24b5efdfdce99bae80ff8b4457a1 SHA512 aa5dda98e122cfdd7917b71c6f9e9322c9e8d4bf01b57569406004a7b0f0819b8170ef553088339a08a3932ff1e467a1779ec17acacc7f83af709e0596956d4c WHIRLPOOL f5b1269af801f56ca40dec9d8c265d289ba73d9ca2d4f56de9989c91288ca9c14de71f4021f4fa94914ab83537930cc47ce1a5abe78aab352a19b3ae340a16ae +DIST purple-hangouts-0_p20170714.tar.gz 145914 SHA256 ffee848321c7880d30807f44014aa82901199451e847f06ffb3a6c3ac17cd615 SHA512 4b14eccd2140c98c88b5fb2bed6039306454484dc23c359b7860bc55997161bc8f5bbf1cb1939041bca40e98dd30afd224508903993031ee10dfb38b088d891e WHIRLPOOL d56347c5790ad4e06e9e9000d4ce41912b20d68f23635f78c170499aad34b4b2e70e82e71d0132e3a2854db1dd5cf1d4383f731c17f567e772f7c8148edc6532 diff --git a/x11-plugins/purple-hangouts/purple-hangouts-0_p20170714.ebuild b/x11-plugins/purple-hangouts/purple-hangouts-0_p20170714.ebuild new file mode 100644 index 000000000000..0e887cb8a859 --- /dev/null +++ b/x11-plugins/purple-hangouts/purple-hangouts-0_p20170714.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Hangouts Plugin for libpurple" +HOMEPAGE="https://bitbucket.org/EionRobb/purple-hangouts" + +if [[ ${PV} == 9999 ]]; then + inherit mercurial + EHG_REPO_URI="https://bitbucket.org/EionRobb/purple-hangouts" +else + COMMIT_ID="9f961b2962ae" + SRC_URI="https://bitbucket.org/EionRobb/purple-hangouts/get/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/EionRobb-${PN}-${COMMIT_ID}" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/json-glib + dev-libs/protobuf-c:= + net-im/pidgin + sys-libs/zlib" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + + # Does not respect CFLAGS + sed -i Makefile -e 's/-g -ggdb//g' || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + DESTDIR="${ED}" \ + install + + einstalldocs +} |