summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild')
-rw-r--r--x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild
new file mode 100644
index 000000000000..20c48048f1e6
--- /dev/null
+++ b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild,v 1.1 2011/01/18 09:58:12 fauli Exp $
+
+EAPI=2
+
+inherit base toolchain-funcs
+
+DESCRIPTION="Libpurple (Pidgin) plug-in supporting microblog services like Twitter or identi.ca"
+HOMEPAGE="http://code.google.com/p/microblog-purple/"
+MY_P="${P/pidgin-/}"
+SRC_URI="http://microblog-purple.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+twitgin"
+
+RDEPEND="net-im/pidgin
+ twitgin? ( net-im/pidgin[gtk] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ # upstream Issue 226 (Respect LDFLAGS)
+ sed -i "/^LDFLAGS/d" global.mak || die
+
+ # upstream Issue 225 (Warnings during compilation using make -j2)
+ sed -i "s/make /\$(MAKE) /g" Makefile || die
+
+ # upstream Issue 224 (configurable twitgin)
+ if ! use twitgin; then
+ sed -i 's/twitgin//g' Makefile || die
+ fi
+}