Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/exiv2/
Date: Sun, 30 Dec 2018 00:05:35
Message-Id: 1546128144.9935e583097e71b23f179681b740c15636d00ac1.asturm@gentoo
1 commit: 9935e583097e71b23f179681b740c15636d00ac1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 00:01:43 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 00:02:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9935e583
7
8 media-gfx/exiv2: Remove Apple filesystem cruft
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-gfx/exiv2/exiv2-0.27.0.ebuild | 10 ++++++++--
14 1 file changed, 8 insertions(+), 2 deletions(-)
15
16 diff --git a/media-gfx/exiv2/exiv2-0.27.0.ebuild b/media-gfx/exiv2/exiv2-0.27.0.ebuild
17 index c45a92101c2..f59464a6685 100644
18 --- a/media-gfx/exiv2/exiv2-0.27.0.ebuild
19 +++ b/media-gfx/exiv2/exiv2-0.27.0.ebuild
20 @@ -44,8 +44,6 @@ DEPEND="${RDEPEND}
21
22 DOCS=( README.md doc/ChangeLog doc/cmd.txt )
23
24 -S="${S}-Source"
25 -
26 PATCHES=(
27 # pending upstream
28 "${FILESDIR}"/${P}-png-broken-icc-profile.patch
29 @@ -55,6 +53,14 @@ pkg_setup() {
30 use doc && python-any-r1_pkg_setup
31 }
32
33 +src_unpack() {
34 + # FIXME @upstream: MacOS cruft is getting installed, don't let it in...
35 + # https://github.com/Exiv2/exiv2/issues/620
36 + tar -C "${WORKDIR}" --exclude=.* -xpf "${DISTDIR}/${A}" --gz 2> /dev/null ||
37 + elog "${my_tar}: tar extract command failed at least partially - continuing"
38 + mv "${P}-Source" "${S}" || die "Failed to create source dir ${S}"
39 +}
40 +
41 src_prepare() {
42 # FIXME @upstream:
43 einfo "Converting doc/cmd.txt to UTF-8"