sys-libs/libblockdev: Added "introspection" USE flag to live ebuild
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 17 Jun 2019 14:35:50 +0000 (16:35 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 17 Jun 2019 14:35:50 +0000 (16:35 +0200)
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

index fe1a9b0b4e7a39323a87f79e7fd5094de66a5dc8..fb0c5edf21875b33bfeedbfed2b6189e9e248fc4 100644 (file)
@@ -25,7 +25,7 @@ else
 fi
 LICENSE="LGPL-2+"
 SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc lvm kbd test +tools vdo"
+IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo"
 
 RDEPEND="
        >=dev-libs/glib-2.42.2
@@ -58,8 +58,8 @@ DEPEND="
 "
 
 BDEPEND+="
-       >=dev-libs/gobject-introspection-1.3.0
        dev-util/gtk-doc-am
+       introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -82,6 +82,7 @@ src_configure() {
                --with-part
                --without-mpath
                --without-nvdimm
+               $(use_enable introspection)
                $(use_enable test tests)
                $(use_with bcache)
                $(use_with cryptsetup crypto)