summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2024-02-25 12:14:48 +0100
committerAndreas Schuerch <nativemad@gentoo.org>2024-02-25 12:18:00 +0100
commitc7ca810baa2be5fc0e63f76127f5d27d76554d43 (patch)
tree89aaff2fbbee37db196fd9b84747fa559aeb7719 /x11-plugins
parentapp-arch/unp: add proper RESTRICT var for tests (diff)
downloadgentoo-c7ca810baa2be5fc0e63f76127f5d27d76554d43.tar.gz
gentoo-c7ca810baa2be5fc0e63f76127f5d27d76554d43.tar.bz2
gentoo-c7ca810baa2be5fc0e63f76127f5d27d76554d43.zip
x11-plugins/pidgin-mbpurple: EAPI8 bump, fix LICENSE
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Andreas Schuerch <nativemad@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r3.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r3.ebuild b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r3.ebuild
new file mode 100644
index 000000000000..fc5eecc24d38
--- /dev/null
+++ b/x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="${P/pidgin-/}"
+
+DESCRIPTION="Pidgin plug-in supporting microblog services like Twitter or identi.ca"
+HOMEPAGE="https://code.google.com/archive/p/microblog-purple/"
+SRC_URI="https://microblog-purple.googlecode.com/files/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="+twitgin"
+
+RDEPEND="net-im/pidgin
+ twitgin? ( net-im/pidgin[gtk] )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # upstream Issue 226 (Respect LDFLAGS)
+ sed -i "/^LDFLAGS/d" global.mak || die "sed for LDFLAGS failed"
+
+ # upstream Issue 225 (Warnings during compilation using make -j2)
+ sed -i "s/make /\$(MAKE) /g" Makefile || die "sed #2 failed"
+
+ # upstream Issue 224 (configurable twitgin)
+ if ! use twitgin; then
+ sed -i 's/twitgin//g' Makefile || die
+ fi
+}
+
+src_configure() {
+ tc-export CC
+}