diff options
Diffstat (limited to 'app-arch/wimlib')
-rw-r--r-- | app-arch/wimlib/Manifest | 2 | ||||
-rw-r--r-- | app-arch/wimlib/wimlib-1.13.0.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/app-arch/wimlib/Manifest b/app-arch/wimlib/Manifest index 755e2f17180d..c466e0258119 100644 --- a/app-arch/wimlib/Manifest +++ b/app-arch/wimlib/Manifest @@ -1,4 +1,6 @@ AUX syslinux-path.patch 713 BLAKE2B 94a9a0ef73b40ad9dc0febf732e5facc24fde0a3138a0298a72f7e2cde6d5fe34560d739432bcd12f172b48763f8deab2288eb14f99470d0a1340d0103941ab2 SHA512 dd0658529fb3b35690d34bb03ae8624314c0b379765566753b1ea0804ef8f1b94f300734b35ce0815e5352b02d09c86c91e371e0c442fcc3dca7ad89ceee4cbe DIST wimlib-1.12.0.tar.gz 1014508 BLAKE2B d12f4e0b458fe756b74c67f2f643256c44021e0f0c3e2a3a70eb87647c3c6cabd93413917bf8a8c6ab6820860c407f4454454719227f5cbf1a9a81a7bedc1a6e SHA512 0343b37550366f07fd6a6689f4445f390187beddde677f4d6d831c07936d03b613ae95f612ec7a75e978a5e678f33ab766d0f3b3d942886df56e4ef77d4b07b9 +DIST wimlib-1.13.0.tar.gz 1035146 BLAKE2B 305d4bd4a0299c99b537c2bc59c674740239d3fe7c240038f4846849f36046ef587b04643d5a482c876668bf8f9a94a7b45a5e4f12c6d235a579a08c3879acff SHA512 a7ec729dda07b3884a851533a3c9e9db3061d9f6273ec318e40ece3687f4671f66989c07c080fa9cdcf5f01318c5eba7256b58f15f711b3ff14f4eb61c2114cb EBUILD wimlib-1.12.0.ebuild 1454 BLAKE2B 67e5bc2760f9a0aaae9de8d761ab2eb5eac2888cd5d84c1bb65c0725d3e19e28a1b547e2fb9daacfdce740a8a8bc5028c9c4f7e5f45b208518a86d0ccf18a7e8 SHA512 1c4d848b98c34678efe2479efa1deec3365fc210b3c7c53dbfbdc43a52aeb21cb9de38104e0b47accd999a61fd886c3dc41c704fdfa3cb22809c60da608d456c +EBUILD wimlib-1.13.0.ebuild 1454 BLAKE2B 60a51c4acbaefd3a2e626ed17c0c1b8808ef8eedd28c14e25a48d2ed7bfd6e7f54121fac41415843f7c34a99f2d35e22fc2dc05a9fea968ca18852342a40c4e7 SHA512 1bec01f388af7f97506572f1df2007c50e420ad37d745ca896015c43bb27850a65a5201c82864a9f29cd5bf2f7aec77f5a75c971ecb8cb14c16839708fc130e1 MISC metadata.xml 684 BLAKE2B bc45d2b67f015842912d4fa5043bf31f2eb2ae59b29a9104987c6041282730491470fefd065be7ab49de230ea26dc10f64d4fd85591a1df6aec5a6ab408752dd SHA512 999d8b7bd11c22193d1e87e73b70fd750404e92c26b7916a4405c0bdd930a103ef8b809259e0c3ddfb73281f2622b284bd20ea73dff409cc8063406cf41a7724 diff --git a/app-arch/wimlib/wimlib-1.13.0.ebuild b/app-arch/wimlib/wimlib-1.13.0.ebuild new file mode 100644 index 000000000000..9db9ef57d01a --- /dev/null +++ b/app-arch/wimlib/wimlib-1.13.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools pax-utils +if [[ -z ${PV%%*9999} ]]; then + inherit git-r3 + EGIT_REPO_URI="git://wimlib.net/${PN}" +else + inherit vcs-snapshot + MY_PV="${PV/_/-}" + MY_PV="${MY_PV^^}" + SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" + RESTRICT="primaryuri" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="The open source Windows Imaging (WIM) library" +HOMEPAGE="https://wimlib.net/" + +LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0" +SLOT="0" +IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl threads yasm" +REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )" + +PATCHES=( "${FILESDIR}/syslinux-path.patch" ) + +RDEPEND=" + dev-libs/libxml2:2 + ntfs? ( sys-fs/ntfs3g ) + fuse? ( sys-fs/fuse:0 ) + openssl? ( dev-libs/openssl:0 ) + iso? ( + app-arch/cabextract + app-cdr/cdrtools + ) +" +DEPEND=" + ${RDEPEND} + cpu_flags_x86_ssse3? ( + yasm? ( dev-lang/yasm ) + !yasm? ( dev-lang/nasm ) + ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with ntfs ntfs-3g) + $(use_with fuse) + $(use_enable cpu_flags_x86_ssse3 ssse3-sha1) + $(use_with openssl libcrypto) + $(use_enable threads multithreaded-compression) + ) + has test ${FEATURES} && myeconfargs+=( --enable-test-support ) + ac_cv_prog_NASM="$(usex yasm yasm nasm)" \ + econf "${myeconfargs[@]}" +} + +src_compile() { + emake + pax-mark m "${S}"/.libs/wimlib-imagex +} |