commit:     e0b3e6a3ee11708abe9eeb8bd8e462741b754155
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 03:15:29 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 03:15:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b3e6a3

x11-plugins/pidgin-encryption: bump to EAPI 7

Closes: https://bugs.gentoo.org/740906
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-3.1.ebuild => pidgin-encryption-3.1-r1.ebuild} | 25 +++++++++++-----------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild 
b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r1.ebuild
similarity index 66%
rename from x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild
rename to x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r1.ebuild
index 561a3df71d6..28f7c2dbaec 100644
--- a/x11-plugins/pidgin-encryption/pidgin-encryption-3.1.ebuild
+++ b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit flag-o-matic eutils
+inherit flag-o-matic
 
 DESCRIPTION="Pidgin IM Encryption PlugIn"
 HOMEPAGE="http://pidgin-encrypt.sourceforge.net/";
@@ -14,24 +14,25 @@ SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 sparc x86"
 IUSE="nls"
 
-RDEPEND="net-im/pidgin[gtk]
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+       >=dev-libs/nss-3.11
+       net-im/pidgin[gtk]
        x11-libs/gtk+:2
-       >=dev-libs/nss-3.11"
+"
+DEPEND="${RDEPEND}"
 
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-src_prepare() {
-       epatch "${FILESDIR}/${P}-glib2.32.patch"
-}
+PATCHES=(
+       "${FILESDIR}/${P}-glib2.32.patch"
+)
 
 src_configure() {
        strip-flags
        replace-flags -O? -O2
-       econf $(use_enable nls)
+       econf $(use_enable nls) --disable-static
 }
 
 src_install() {
-       emake install DESTDIR="${D}"
+       emake install DESTDIR="${ED}"
        dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
 }

Reply via email to