From: Piotr Karbowski Date: Sat, 7 Mar 2020 20:58:08 +0000 (+0100) Subject: sys-fs/mergerfs-2.29: bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a48a2da4360b4496c368b5b16aeacfce97efa616;p=gentoo.git sys-fs/mergerfs-2.29: bump Signed-off-by: Piotr Karbowski --- diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest index 49068f2d9336..88f463eb87bd 100644 --- a/sys-fs/mergerfs/Manifest +++ b/sys-fs/mergerfs/Manifest @@ -1 +1,2 @@ DIST mergerfs-2.28.3.tar.gz 294065 BLAKE2B 2e59e00726aec53438d5a5df143ca204069794d68c663a130139102a19e118a54fede1c8eca99199a3e634ffa92cb21c25c30718ea0842826de8a64e876b2819 SHA512 5469b3515464680aa72fc393c218fb038bed31194a933e6736eec478d87a110979323308b642d7f100a5c506534ca75badf4a87a050007cdc77cd2a641217929 +DIST mergerfs-2.29.0.tar.gz 302391 BLAKE2B a7d051c63b12a95af2868d8b3be9b32aa1be3d9c4cc4e359914b07e18ed30dadece80861ad559d5cdd85b375f565b9e70dac9ad3e34b98c054dd54822897c1a6 SHA512 2c21dedffc2f261c6c8427af59cffcacacc9b67bce7bb9989bd5946aa645c68bac0f56250ec19710e586a00892f7198853390bea3ff5981035d5a492ae4569a2 diff --git a/sys-fs/mergerfs/mergerfs-2.29.0.ebuild b/sys-fs/mergerfs/mergerfs-2.29.0.ebuild new file mode 100644 index 000000000000..97325c3ba210 --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.29.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A featureful union filesystem" +HOMEPAGE="https://github.com/trapexit/mergerfs" + +SRC_URI="https://github.com/trapexit/mergerfs/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +# Vendorized libfuse that's bundled is under LGPL-2.1. +LICENSE="ISC LGPL-2.1" +SLOT="0" +IUSE="+xattr" + +DEPEND=" + xattr? ( sys-apps/attr ) +" + +RDEPEND="${DEPEND}" + +BDEPEND="sys-devel/gettext" + +src_prepare() { + default + + # Hand made build system at it's finest. + echo -e "#!/bin/sh\ntrue" >tools/update-version || die + echo "#pragma once" >src/version.hpp || die + echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp || die + + if ! use xattr; then + sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i Makefile || die + fi +} + +src_install() { + dobin build/mergerfs + dosym mergerfs /usr/bin/mount.mergerfs + dodoc README.md + doman man/mergerfs.1 +}