commit:     c7ca810baa2be5fc0e63f76127f5d27d76554d43
Author:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 11:14:48 2024 +0000
Commit:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 11:18:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ca810b

 x11-plugins/pidgin-mbpurple: EAPI8 bump, fix LICENSE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Andreas Schuerch <nativemad <AT> gentoo.org>

 .../pidgin-mbpurple-0.3.0-r3.ebuild                | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

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
+}

Reply via email to