gentoo-ebuilds/dev-libs/libgnt/libgnt-2.14.3-r1.ebuild
Arthur Zamarin 0ad96e879b
*/*: destable sparc
Result of running the command:
 grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-02 20:00:14 +03:00

46 lines
972 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic meson
DESCRIPTION="Pidgin's GLib Ncurses Toolkit"
HOMEPAGE="https://keep.imfreedom.org/libgnt/libgnt"
SRC_URI="https://downloads.sourceforge.net/pidgin/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc"
RDEPEND="
!<net-im/pidgin-2.14.0
dev-libs/glib:2
dev-libs/libxml2:=
sys-libs/ncurses:=
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
virtual/pkgconfig
doc? ( dev-util/gtk-doc )
"
PATCHES=(
"${FILESDIR}/${PN}-2.14.0-tinfo.patch"
"${FILESDIR}/${PN}-2.14.3-ncurses-opaque.patch"
)
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/855872
# https://issues.imfreedom.org/issue/LIBGNT-19/Build-fails-with-LTO
filter-lto
local emesonargs=(
-Dpython2=false
$(meson_use doc)
)
meson_src_configure
}