mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
x11-plugins/pidgin-encryption: drop strip/replace compiler flags by default
+20 years ago there's was a bug with ```net-im/gaim```, probably caused by gcc-2.95 and ```-Os``` optimization. The following developers and maintainers just copied those lines when bumping versions, and nobody tried to remove them with new Gaim/Pidgin/GCC versions. Also ```x11-plugins/pidgin-encryption``` has the same code; I guess the Gentoo maintainer/developer was extra cautious. Bug: https://bugs.gentoo.org/29394 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Closes: https://github.com/gentoo/gentoo/pull/41309 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
8d9891cab3
commit
2c297a5d6a
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Pidgin IM Encryption PlugIn"
|
||||
HOMEPAGE="https://pidgin-encrypt.sourceforge.net/"
|
||||
SRC_URI="https://downloads.sourceforge.net/pidgin-encrypt/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
>=dev-libs/nss-3.11
|
||||
net-im/pidgin[gui]
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-glib2.32.patch"
|
||||
"${FILESDIR}/${P}-time.patch"
|
||||
"${FILESDIR}/${P}-includes.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${ED}"
|
||||
dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user