libblockdev doesn't actually require gobject-introspection, its only needed for gnome based environments here is an ebuild patch to use the "introspection" use flag.. This flag is pretty common in portage tree =========================== --- /usr/portage/sys-libs/libblockdev/libblockdev-2.20-r2.ebuild 2019-04-17 19:35:38.448918238 -0700 +++ /usr/local/portage/sys-libs/libblockdev/libblockdev-2.20-r2.ebuild 2019-05-03 21:06:36.467237755 -0700 @@ -15,7 +15,7 @@ LICENSE="LGPL-2+" SLOT="0" KEYWORDS="alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="bcache +cryptsetup device-mapper dmraid doc escrow lvm kbd test vdo" +IUSE="bcache +cryptsetup device-mapper dmraid doc escrow introspection lvm kbd test vdo" RDEPEND=" >=dev-libs/glib-2.42.2 @@ -47,7 +47,7 @@ ${RDEPEND} " BDEPEND=" - >=dev-libs/gobject-introspection-1.3.0 + introspection? ( >=dev-libs/gobject-introspection-1.3.0 ) sys-devel/autoconf-archive doc? ( dev-util/gtk-doc ) " @@ -74,6 +74,7 @@ --with-part --without-mpath --without-nvdimm + $(use_enable introspection) $(use_enable test tests) $(use_with bcache) $(use_with cryptsetup crypto) ==========================================================
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e87617f23a8b2bd9f0b3bc3203ef79b400cc081 commit 6e87617f23a8b2bd9f0b3bc3203ef79b400cc081 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-06-17 14:35:50 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-06-17 14:35:50 +0000 sys-libs/libblockdev: Added "introspection" USE flag to live ebuild Thanks-to: Gino McCarty <onigino@protonmail.com> Bug: https://bugs.gentoo.org/685020 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/libblockdev/libblockdev-9999.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Sorry it took so long to make it into an ebuild. I've added your suggested changes into the live ebuild and will move that into the next upstream release ebuild as well.
$ grep -rsin "gobject" libblockdev-2.26.ebuild:65: introspection? ( >=dev-libs/gobject-introspection-1.3.0 ) libblockdev-2.27.ebuild:65: introspection? ( >=dev-libs/gobject-introspection-1.3.0 ) libblockdev-9999.ebuild:65: introspection? ( >=dev-libs/gobject-introspection-1.3.0 )