From 51564faa4dfefe84e7b9def184ab105823beaf88 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 14 Apr 2022 18:57:21 -0700 Subject: sys-devel/sparse: Depend on x11-libs/gtk+:3, not :2 Upstream commit 52ac1749 ("test-inspect: Detect gtk3 then gtk2 package") in 2017 changed the default to GTK 3 and we didn't notice apparently. Signed-off-by: Matt Turner --- sys-devel/sparse/metadata.xml | 2 +- sys-devel/sparse/sparse-0.6.4-r1.ebuild | 72 +++++++++++++++++++++++++++++++++ sys-devel/sparse/sparse-0.6.4.ebuild | 72 --------------------------------- sys-devel/sparse/sparse-9999.ebuild | 4 +- 4 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 sys-devel/sparse/sparse-0.6.4-r1.ebuild delete mode 100644 sys-devel/sparse/sparse-0.6.4.ebuild diff --git a/sys-devel/sparse/metadata.xml b/sys-devel/sparse/metadata.xml index aec196782c68..4eec8f82d259 100644 --- a/sys-devel/sparse/metadata.xml +++ b/sys-devel/sparse/metadata.xml @@ -10,7 +10,7 @@ Gentoo Toolchain Project - Build the test-inspect utility (requires x11-libs/gtk+ version 2) + Build the test-inspect utility (requires x11-libs/gtk+:3) Build the sparse-llvm utility Build the c2xml utility (requires dev-libs/libxml2) diff --git a/sys-devel/sparse/sparse-0.6.4-r1.ebuild b/sys-devel/sparse/sparse-0.6.4-r1.ebuild new file mode 100644 index 000000000000..a7c5b9dbc728 --- /dev/null +++ b/sys-devel/sparse/sparse-0.6.4-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LLVM_MAX_SLOT=12 +inherit llvm toolchain-funcs + +DESCRIPTION="C semantic parser" +HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git" +else + SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="gtk llvm sqlite test xml" +RESTRICT="!test? ( test )" + +RDEPEND="gtk? ( x11-libs/gtk+:3 ) + llvm? (