summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <stefan.strogin@gmail.com>2018-11-01 22:33:41 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-11-10 23:42:37 +0100
commit3566c098b7efca4beb14859ea5d1de461b923193 (patch)
treeb173c231e02f93ccac14edc456df73cfd38bc6ba /x11-plugins/purple-hangouts
parentx11-plugins/purple-hangouts: add maintainer to metadata.xml file. (diff)
downloadgentoo-3566c098b7efca4beb14859ea5d1de461b923193.tar.gz
gentoo-3566c098b7efca4beb14859ea5d1de461b923193.tar.bz2
gentoo-3566c098b7efca4beb14859ea5d1de461b923193.zip
x11-plugins/purple-hangouts: version bump to 0_p20181024, EAPI=7.
Closes: https://bugs.gentoo.org/670646 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'x11-plugins/purple-hangouts')
-rw-r--r--x11-plugins/purple-hangouts/Manifest1
-rw-r--r--x11-plugins/purple-hangouts/purple-hangouts-0_p20181024.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-plugins/purple-hangouts/Manifest b/x11-plugins/purple-hangouts/Manifest
index b469ff083d31..814b1c9b9bba 100644
--- a/x11-plugins/purple-hangouts/Manifest
+++ b/x11-plugins/purple-hangouts/Manifest
@@ -1,3 +1,4 @@
DIST purple-hangouts-0_p20170209.tar.gz 144521 BLAKE2B 09b7b733f83f69df172a4fe9893dc74666f9eeba0a7b73b5b46a8c20edeef75c84f9ceeddd17cd22590dfdd9f28a7880c4b7d8c97fb98d22484d6f8becfffce6 SHA512 aa5dda98e122cfdd7917b71c6f9e9322c9e8d4bf01b57569406004a7b0f0819b8170ef553088339a08a3932ff1e467a1779ec17acacc7f83af709e0596956d4c
DIST purple-hangouts-0_p20170714.tar.gz 145914 BLAKE2B cb932c7c31bffe98c62b2ce77b39a2262689d59676f51d66b3c6cfe31a3319226d429ee241e37985c836389809089c633f7a04152659eb88195372259281465b SHA512 4b14eccd2140c98c88b5fb2bed6039306454484dc23c359b7860bc55997161bc8f5bbf1cb1939041bca40e98dd30afd224508903993031ee10dfb38b088d891e
DIST purple-hangouts-0_p20180328.tar.gz 149992 BLAKE2B a9db51f236859806625ecaa70a18a39584278cd7865a3212355d4f88dd5a5d3da589ebc9a26ca24f5e3190ea37748251525b4f44e15124109f8902ed573bf127 SHA512 f20d3e7625d7d617c50a911a758af9131cee4d02f948db3f396e0241c0d556dd65070aff2f7f5f1db56e61a9e91975fed420d7d17e0c7c80f1714cab08e342c5
+DIST purple-hangouts-0_p20181024.tar.gz 150600 BLAKE2B 4dc9b689642b73d242d89f780188d581aac2524665048ef2c35606b2d15a852e6ef111238d1f7a3c65895555d8169c96a7158767ec2a6fa5fb6645fc3f5260eb SHA512 e1200845e64f20aef1b75bd8d7a128fa6b1fe2b731c7d83db876900e2bac988007f04d59996c86c78190770186210401af5a51e0ed490c0027a0933445ce125b
diff --git a/x11-plugins/purple-hangouts/purple-hangouts-0_p20181024.ebuild b/x11-plugins/purple-hangouts/purple-hangouts-0_p20181024.ebuild
new file mode 100644
index 000000000000..3954afa7a3b2
--- /dev/null
+++ b/x11-plugins/purple-hangouts/purple-hangouts-0_p20181024.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="a044363c1883"
+ 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
+}