commit: a4efbce87464726282562d685daaaafb94aa3054
parent 3ea5a9ec2fdbc5bb2fd730dd31874ddc49dee7ae
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 22 Jul 2025 06:11:09 +0200
app-admin/kconfig-frontends: new package, add 4.11.0.1
Diffstat:
2 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/app-admin/kconfig-frontends/Manifest b/app-admin/kconfig-frontends/Manifest
@@ -0,0 +1,2 @@
+DIST kconfig-frontends-4.11.0.1.tar.bz2 448594 BLAKE2B 4358ff353e571463871625d78f6148a6403a5af18e1c35f88b20502194cf2604614eb8b4f106411958ce17f062abce70a6dc22459d7b13a8fc48b673c341af99 SHA512 bf0ebce575f4a40f13c6cfaf4ec1b3f4e0e7bc3e11b37193604486cd312ae20e4664783696bf037477d5b7542af57dc5043887aba1ebb7435012eccf52441f98
+DIST kconfig-frontends_4.11.0.1+dfsg-6.debian.tar.xz 7036 BLAKE2B 2e1e6df1b9fecf48e0cf65f80aba7828df378e6a3a162207d9a43ae49992847b48c481674133907d9e7593843dce418a0f413b341d331ea2af5ef183364fc5bd SHA512 55adf9be01ab3f551b20a8265d9ec52eb8b0d8d21d68b79e5e78c6dcc87c639b5185b8bff03df012ac243244c10d43534d8902c586e63ae672934753a3e7d301
diff --git a/app-admin/kconfig-frontends/kconfig-frontends-4.11.0.1.ebuild b/app-admin/kconfig-frontends/kconfig-frontends-4.11.0.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="kconfig frontends and parser, including kconfig-tweak"
+HOMEPAGE="https://bitbucket.org/nuttx/tools/src/master/kconfig-frontends/"
+SRC_URI="
+ https://bitbucket.org/nuttx/tools/downloads/${P}.tar.bz2
+ https://deb.debian.org/debian/pool/main/k/kconfig-frontends/kconfig-frontends_${PV}+dfsg-6.debian.tar.xz
+"
+LICENSE="GPL-2" # GPL-2.0-only
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE="gtk nls qt"
+
+# ncurses is technically optional
+RDEPEND="
+ sys-libs/ncurses:=
+ nls? ( sys-devel/gettext )
+ gtk? (
+ x11-libs/gtk+:3
+ dev-libs/glib
+ gnome-base/libglade:2.0
+ )
+ qt? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/gperf
+"
+
+PATCHES=(
+ "${WORKDIR}/debian/patches/autoconf_270p.patch"
+ "${WORKDIR}/debian/patches/gtk3.patch"
+ "${WORKDIR}/debian/patches/python3_support.patch"
+ "${WORKDIR}/debian/patches/gperf_newtype.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gtk gconf) \
+ $(use_enable nls L10n) \
+ $(use_enable qt qconf)
+}