diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-22 14:25:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-22 14:25:03 +0100 |
commit | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (patch) | |
tree | b041acef19bb9ae66c228d5c9d34d1e00aeb2b95 /sys-block | |
parent | 5cfef3c94cd7e82136c69a0322f5ba21f7e64632 (diff) |
gentoo resync : 22.04.2018
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/Manifest.gz | bin | 11203 -> 11369 bytes | |||
-rw-r--r-- | sys-block/libzbc/Manifest | 4 | ||||
-rw-r--r-- | sys-block/libzbc/files/libzbc-no-automagic-gtk-dep.patch | 29 | ||||
-rw-r--r-- | sys-block/libzbc/libzbc-5.5.0.ebuild | 32 | ||||
-rw-r--r-- | sys-block/libzbc/metadata.xml | 19 |
5 files changed, 84 insertions, 0 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz Binary files differindex 38f6f8b88e9e..e5945b603a4a 100644 --- a/sys-block/Manifest.gz +++ b/sys-block/Manifest.gz diff --git a/sys-block/libzbc/Manifest b/sys-block/libzbc/Manifest new file mode 100644 index 000000000000..9dfab2170e76 --- /dev/null +++ b/sys-block/libzbc/Manifest @@ -0,0 +1,4 @@ +AUX libzbc-no-automagic-gtk-dep.patch 976 BLAKE2B 211a33a5eac0239526f050de30187b3392e953a257457de88c47eab39b9db518b2f9f7ea3110f6fd294ed2f54270f9a2cd25cdc38620ce7a62f2e3e68af088a6 SHA512 b1278b7d91bfabb577488016749a69714958601219a47a31794af4a22361a8f2621bdb1a964beaf78d7c73d00f934647a66e90681853abbcb5f8c7e969d981c7 +DIST libzbc-5.5.0.tar.gz 128170 BLAKE2B 9b5ce6a6627f276aaab714fb724d72b3611b21fe79327486927690e7e99557eb9a07c843f46c563a6629033c1045c44be10c856058e804c8c7fd5c139d06c140 SHA512 63c9f67f451e2e609037a74766ebc3274c1a12cbf3b7c658a5144bf307f5b9ec0e075f018ce49839ecf2c5dca54a1e8b85ffdd2dfa66f14a55f14fa5762b4f2d +EBUILD libzbc-5.5.0.ebuild 635 BLAKE2B 0e2f5d2ad0c2ce0479bccff31bcc92d8514f4d58ab5cab3a46c975f957eeca5f66d20e9ec8e2f115fb6a6cc071bf9ec5ab1dd191b1b343f407d6142f6fc55b25 SHA512 9ba5483efb32d96a8053f99d471a956df60e0c481991f9d61de6df9ab428ef4debff6d48e06a8d5e298c46633cd22777a385512766e44cd973a509c3a85d1d8a +MISC metadata.xml 836 BLAKE2B 360b17822ed9256339bb8a81993814aebd63925acc8b600d75851a2a1834ac6714f84f036882617f789362e06b5b58beec89e2ae5a5b01a88c67b7122311972f SHA512 6a53f78f3fb53d3ac0a97eac47710d5fcdf23db95c98f58ee1c296eef7bbbd218f79cd151eed6424a917ae69775bf2eb42916c7a51c7ac82dffd4e8e5b9ef451 diff --git a/sys-block/libzbc/files/libzbc-no-automagic-gtk-dep.patch b/sys-block/libzbc/files/libzbc-no-automagic-gtk-dep.patch new file mode 100644 index 000000000000..c6545033b435 --- /dev/null +++ b/sys-block/libzbc/files/libzbc-no-automagic-gtk-dep.patch @@ -0,0 +1,29 @@ +diff --git a/configure.ac b/configure.ac +index 122fd22..5ab9783 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -31,10 +31,22 @@ AC_CHECK_HEADER(libgen.h, [], [AC_MSG_ERROR([Couldn't find libgen.h])]) + AC_CHECK_HEADERS([linux/fs.h linux/blkzoned.h]) + + # Conditionals ++AC_ARG_WITH([gtk3], ++ AS_HELP_STRING([--without-gtk3], [Do not build gzbc even if gtk3 is present])) ++ ++AS_IF([test "x$with_gtk3" != "xno"], ++ [PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0])], ++ [have_gtk3=no]) ++ ++AS_IF([test "x$with_gtk3" = "xyes"], ++ [PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0])], ++ [AS_IF([test "x$with_gtk3" = "xyes"], ++ [AC_MSG_ERROR([gtk3 requested but not found]) ++ ]) ++]) + + # Build gzbc only if GTK3 is installed. +-PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0]) +-AM_CONDITIONAL([BUILD_GZBC], [test "$HAVE_GTK3" -eq 1]) ++AM_CONDITIONAL([BUILD_GZBC], [test "$HAVE_GTK3" = 1]) + + # Build test suite + AC_ARG_WITH([test], diff --git a/sys-block/libzbc/libzbc-5.5.0.ebuild b/sys-block/libzbc/libzbc-5.5.0.ebuild new file mode 100644 index 000000000000..5c726ff8a47f --- /dev/null +++ b/sys-block/libzbc/libzbc-5.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A library and tools for working with ZBC and ZAC disks" +HOMEPAGE="https://github.com/hgst/libzbc" +SRC_URI="https://github.com/hgst/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2 GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +DEPEND="virtual/pkgconfig + >=sys-kernel/linux-headers-4.13 + gtk? ( x11-libs/gtk+:3 )" + +PATCHES=( + "${FILESDIR}/libzbc-no-automagic-gtk-dep.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with gtk gtk3) +} diff --git a/sys-block/libzbc/metadata.xml b/sys-block/libzbc/metadata.xml new file mode 100644 index 000000000000..c590b2af8790 --- /dev/null +++ b/sys-block/libzbc/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <longdescription lang="en"> + libzbc is a simple library providing functions for manipulating disks + supporting the Zoned Block Command (ZBC) and Zoned-device ATA command + set (ZAC) disks. libzbc implemention is compliant with the latest + drafts of the ZBC and ZAC standards defined by INCITS technical + committee T10 and T13 (respectively). + + In addition to supporting ZBC and ZAC disks, libzbc also implements an + emulation mode allowing emulating the behavior of a host-managed zoned + disk using a regular file or a standard block device as backing store. + </longdescription> +</pkgmetadata> |