diff options
author | YmrDtnJu <YmrDtnJu@users.noreply.github.com> | 2018-06-22 22:31:21 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-06-23 00:07:10 +0200 |
commit | 243e42926e725d7348107b15489307bb2a334f67 (patch) | |
tree | e469fca8677021c724b4366dcd0162d8da099426 /sys-libs | |
parent | sys-cluster/keepalived: bump to v2.0.4 (diff) | |
download | gentoo-243e42926e725d7348107b15489307bb2a334f67.tar.gz gentoo-243e42926e725d7348107b15489307bb2a334f67.tar.bz2 gentoo-243e42926e725d7348107b15489307bb2a334f67.zip |
sys-libs/libblockdev: Add vdo use flag to conditionally require libyaml.
Additionally, move libyaml from DEPEND to RDEPEND.
Closes: https://github.com/gentoo/gentoo/pull/8938
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.18-r1.ebuild (renamed from sys-libs/libblockdev/libblockdev-2.18.ebuild) | 5 | ||||
-rw-r--r-- | sys-libs/libblockdev/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libblockdev/libblockdev-2.18.ebuild b/sys-libs/libblockdev/libblockdev-2.18-r1.ebuild index 1797d61bb6cb..839822874e03 100644 --- a/sys-libs/libblockdev/libblockdev-2.18.ebuild +++ b/sys-libs/libblockdev/libblockdev-2.18-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P} LICENSE="LGPL-2+" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="bcache +cryptsetup dmraid doc escrow lvm kbd test" +IUSE="bcache +cryptsetup dmraid doc escrow lvm kbd test vdo" RDEPEND=" >=dev-libs/glib-2.42.2 @@ -38,13 +38,13 @@ RDEPEND=" sys-fs/lvm2 virtual/udev ) + vdo? ( dev-libs/libyaml ) ${PYTHON_DEPS} " DEPEND=" ${RDEPEND} >=dev-libs/gobject-introspection-1.3.0 - dev-libs/libyaml doc? ( dev-util/gtk-doc ) " @@ -80,6 +80,7 @@ src_configure() { $(use_with kbd) $(use_with python_single_target_python2_7 python2) $(use_with !python_single_target_python2_7 python3) + $(use_with vdo) ) econf "${myeconfargs[@]}" } diff --git a/sys-libs/libblockdev/metadata.xml b/sys-libs/libblockdev/metadata.xml index 4f133ca27fa9..00d0c434c27c 100644 --- a/sys-libs/libblockdev/metadata.xml +++ b/sys-libs/libblockdev/metadata.xml @@ -12,6 +12,7 @@ <flag name="dmraid">Support for dmraid devices, also known as ATA-RAID, or Fake RAID.</flag> <flag name="lvm">Enable support for Logical Volume Management via <pkg>sys-fs/lvm2</pkg>.</flag> <flag name="kbd">Enable kernel block device support.</flag> + <flag name="vdo">Enable Virtual Data Optimizer support.</flag> </use> <upstream> <remote-id type="github">storaged-project/libblockdev</remote-id> |