commit:     6c80cd6b64de6fa402412eae6b1dd0b8f51cc135
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 01:29:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:42:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c80cd6b

x11-plugins/pidgin-xmpp-receipts: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild      | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild 
b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
index f16b5e0b5d7..c62d3d1c907 100644
--- a/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
+++ b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit vcs-snapshot toolchain-funcs
 
@@ -12,20 +12,19 @@ 
SRC_URI="https://github.com/noonien-d/pidgin-xmpp-receipts/archive/release_${PV}
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64"
-IUSE=""
 
 RDEPEND="net-im/pidgin[gtk]"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_compile() {
-       GTK_PIDGIN_INCLUDES=$($(tc-getPKG_CONFIG) --cflags gtk+-2.0 pidgin)
+       GTK_PIDGIN_INCLUDES="$($(tc-getPKG_CONFIG) --cflags gtk+-2.0 pidgin)"
        $(tc-getCC) ${LDFLAGS} -shared ${CFLAGS} -fpic ${GTK_PIDGIN_INCLUDES} 
-o ${PN/pidgin-/}.so ${PN/pidgin-/}.c || die
 }
 
 src_install() {
        PLUGIN_DIR_PIDGIN=$($(tc-getPKG_CONFIG) --variable=plugindir pidgin)
-       dodir "${PLUGIN_DIR_PIDGIN}"
+
        insinto "${PLUGIN_DIR_PIDGIN}"
        doins ${PN/pidgin-/}.so
 }

Reply via email to