logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/

kconfig-frontends-4.11.0.1.ebuild (1183B)


  1. # Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit autotools
  5. DESCRIPTION="kconfig frontends and parser, including kconfig-tweak"
  6. HOMEPAGE="https://bitbucket.org/nuttx/tools/src/master/kconfig-frontends/"
  7. SRC_URI="
  8. https://bitbucket.org/nuttx/tools/downloads/${P}.tar.bz2
  9. https://deb.debian.org/debian/pool/main/k/kconfig-frontends/kconfig-frontends_${PV}+dfsg-6.debian.tar.xz
  10. "
  11. LICENSE="GPL-2" # GPL-2.0-only
  12. SLOT="0"
  13. KEYWORDS="~amd64"
  14. IUSE="gtk nls qt"
  15. # ncurses is technically optional
  16. RDEPEND="
  17. sys-libs/ncurses:=
  18. nls? ( sys-devel/gettext )
  19. gtk? (
  20. x11-libs/gtk+:3
  21. dev-libs/glib
  22. gnome-base/libglade:2.0
  23. )
  24. qt? (
  25. dev-qt/qtcore:5
  26. dev-qt/qtgui:5
  27. dev-qt/qtwidgets:5
  28. )
  29. "
  30. DEPEND="
  31. ${RDEPEND}
  32. dev-util/gperf
  33. "
  34. PATCHES=(
  35. "${WORKDIR}/debian/patches/autoconf_270p.patch"
  36. "${WORKDIR}/debian/patches/gtk3.patch"
  37. "${WORKDIR}/debian/patches/python3_support.patch"
  38. "${WORKDIR}/debian/patches/gperf_newtype.patch"
  39. )
  40. src_prepare() {
  41. default
  42. eautoreconf
  43. }
  44. src_configure() {
  45. econf \
  46. $(use_enable gtk gconf) \
  47. $(use_enable nls L10n) \
  48. $(use_enable qt qconf)
  49. }