Gentoo Archives: gentoo-commits

From: Slawek Lis <slis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/
Date: Tue, 01 Jan 2019 18:47:47
Message-Id: 1546368328.4e7bd64df49223405cb0b477530ee4bd8d0f4b53.slis@gentoo
1 commit: 4e7bd64df49223405cb0b477530ee4bd8d0f4b53
2 Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 1 18:45:28 2019 +0000
4 Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 1 18:45:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e7bd64d
7
8 app-arch/wimlib: version bump to 1.13.0
9
10 closes: https://bugs.gentoo.org/674262
11 Package-Manager: Portage-2.3.52, Repoman-2.3.12
12 Signed-off-by: Slawek Lis <slis <AT> gentoo.org>
13
14 app-arch/wimlib/Manifest | 1 +
15 app-arch/wimlib/wimlib-1.13.0.ebuild | 68 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 69 insertions(+)
17
18 diff --git a/app-arch/wimlib/Manifest b/app-arch/wimlib/Manifest
19 index 758e0402156..01df841c87a 100644
20 --- a/app-arch/wimlib/Manifest
21 +++ b/app-arch/wimlib/Manifest
22 @@ -1 +1,2 @@
23 DIST wimlib-1.12.0.tar.gz 1014508 BLAKE2B d12f4e0b458fe756b74c67f2f643256c44021e0f0c3e2a3a70eb87647c3c6cabd93413917bf8a8c6ab6820860c407f4454454719227f5cbf1a9a81a7bedc1a6e SHA512 0343b37550366f07fd6a6689f4445f390187beddde677f4d6d831c07936d03b613ae95f612ec7a75e978a5e678f33ab766d0f3b3d942886df56e4ef77d4b07b9
24 +DIST wimlib-1.13.0.tar.gz 1035146 BLAKE2B 305d4bd4a0299c99b537c2bc59c674740239d3fe7c240038f4846849f36046ef587b04643d5a482c876668bf8f9a94a7b45a5e4f12c6d235a579a08c3879acff SHA512 a7ec729dda07b3884a851533a3c9e9db3061d9f6273ec318e40ece3687f4671f66989c07c080fa9cdcf5f01318c5eba7256b58f15f711b3ff14f4eb61c2114cb
25
26 diff --git a/app-arch/wimlib/wimlib-1.13.0.ebuild b/app-arch/wimlib/wimlib-1.13.0.ebuild
27 new file mode 100644
28 index 00000000000..9db9ef57d01
29 --- /dev/null
30 +++ b/app-arch/wimlib/wimlib-1.13.0.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit autotools pax-utils
38 +if [[ -z ${PV%%*9999} ]]; then
39 + inherit git-r3
40 + EGIT_REPO_URI="git://wimlib.net/${PN}"
41 +else
42 + inherit vcs-snapshot
43 + MY_PV="${PV/_/-}"
44 + MY_PV="${MY_PV^^}"
45 + SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
46 + RESTRICT="primaryuri"
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +
50 +DESCRIPTION="The open source Windows Imaging (WIM) library"
51 +HOMEPAGE="https://wimlib.net/"
52 +
53 +LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
54 +SLOT="0"
55 +IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl threads yasm"
56 +REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
57 +
58 +PATCHES=( "${FILESDIR}/syslinux-path.patch" )
59 +
60 +RDEPEND="
61 + dev-libs/libxml2:2
62 + ntfs? ( sys-fs/ntfs3g )
63 + fuse? ( sys-fs/fuse:0 )
64 + openssl? ( dev-libs/openssl:0 )
65 + iso? (
66 + app-arch/cabextract
67 + app-cdr/cdrtools
68 + )
69 +"
70 +DEPEND="
71 + ${RDEPEND}
72 + cpu_flags_x86_ssse3? (
73 + yasm? ( dev-lang/yasm )
74 + !yasm? ( dev-lang/nasm )
75 + )
76 +"
77 +
78 +src_prepare() {
79 + default
80 + eautoreconf
81 +}
82 +
83 +src_configure() {
84 + local myeconfargs=(
85 + $(use_with ntfs ntfs-3g)
86 + $(use_with fuse)
87 + $(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
88 + $(use_with openssl libcrypto)
89 + $(use_enable threads multithreaded-compression)
90 + )
91 + has test ${FEATURES} && myeconfargs+=( --enable-test-support )
92 + ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
93 + econf "${myeconfargs[@]}"
94 +}
95 +
96 +src_compile() {
97 + emake
98 + pax-mark m "${S}"/.libs/wimlib-imagex
99 +}