1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
10 DESCRIPTION="Pidgin plug-in supporting microblog services like Twitter or identi.ca"
11 HOMEPAGE="https://code.google.com/p/microblog-purple/"
12 SRC_URI="https://microblog-purple.googlecode.com/files/${MY_P}.tar.gz"
19 RDEPEND="net-im/pidgin
20 twitgin? ( net-im/pidgin[gtk] )"
28 # upstream Issue 226 (Respect LDFLAGS)
29 sed -i "/^LDFLAGS/d" global.mak || die "sed for LDFLAGS failed"
31 # upstream Issue 225 (Warnings during compilation using make -j2)
32 sed -i "s/make /\$(MAKE) /g" Makefile || die "sed #2 failed"
34 # upstream Issue 224 (configurable twitgin)
35 if ! use twitgin; then
36 sed -i 's/twitgin//g' Makefile || die