diff options
author | Aric Belsito <lluixhi@gmail.com> | 2017-02-03 20:27:47 -0800 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-02-15 22:20:41 +1100 |
commit | 9519e0e07d06fe8f5f0a3371f5262167225722bd (patch) | |
tree | 4db2441adbb8260f190e01ec5f33486ff03459b3 /x11-plugins | |
parent | dev-perl/Crypt-OpenSSL-RSA: fix for libressl (diff) | |
download | gentoo-9519e0e07d06fe8f5f0a3371f5262167225722bd.tar.gz gentoo-9519e0e07d06fe8f5f0a3371f5262167225722bd.tar.bz2 gentoo-9519e0e07d06fe8f5f0a3371f5262167225722bd.zip |
x11-plugins/purple-hangouts: New package
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/purple-hangouts/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/purple-hangouts/metadata.xml | 12 | ||||
-rw-r--r-- | x11-plugins/purple-hangouts/purple-hangouts-0_p20170209.ebuild | 55 |
3 files changed, 68 insertions, 0 deletions
diff --git a/x11-plugins/purple-hangouts/Manifest b/x11-plugins/purple-hangouts/Manifest new file mode 100644 index 000000000000..480a61df36c4 --- /dev/null +++ b/x11-plugins/purple-hangouts/Manifest @@ -0,0 +1 @@ +DIST purple-hangouts-0_p20170209.tar.gz 144521 SHA256 7ed20cde10e1f6b65127d8c0f65e24a1495a24b5efdfdce99bae80ff8b4457a1 SHA512 aa5dda98e122cfdd7917b71c6f9e9322c9e8d4bf01b57569406004a7b0f0819b8170ef553088339a08a3932ff1e467a1779ec17acacc7f83af709e0596956d4c WHIRLPOOL f5b1269af801f56ca40dec9d8c265d289ba73d9ca2d4f56de9989c91288ca9c14de71f4021f4fa94914ab83537930cc47ce1a5abe78aab352a19b3ae340a16ae diff --git a/x11-plugins/purple-hangouts/metadata.xml b/x11-plugins/purple-hangouts/metadata.xml new file mode 100644 index 000000000000..6db627700829 --- /dev/null +++ b/x11-plugins/purple-hangouts/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" > + <email>lluixhi@gmail.com</email> + <name>Aric Belsito</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/x11-plugins/purple-hangouts/purple-hangouts-0_p20170209.ebuild b/x11-plugins/purple-hangouts/purple-hangouts-0_p20170209.ebuild new file mode 100644 index 000000000000..738ab6793c27 --- /dev/null +++ b/x11-plugins/purple-hangouts/purple-hangouts-0_p20170209.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="b7c56354ba8e" + 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() { + eapply_user + + # 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 +} |