diff options
-rw-r--r-- | media-gfx/exiv2/exiv2-0.27.0.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/media-gfx/exiv2/exiv2-0.27.0.ebuild b/media-gfx/exiv2/exiv2-0.27.0.ebuild index c45a92101c25..f59464a6685d 100644 --- a/media-gfx/exiv2/exiv2-0.27.0.ebuild +++ b/media-gfx/exiv2/exiv2-0.27.0.ebuild @@ -44,8 +44,6 @@ DEPEND="${RDEPEND} DOCS=( README.md doc/ChangeLog doc/cmd.txt ) -S="${S}-Source" - PATCHES=( # pending upstream "${FILESDIR}"/${P}-png-broken-icc-profile.patch @@ -55,6 +53,14 @@ pkg_setup() { use doc && python-any-r1_pkg_setup } +src_unpack() { + # FIXME @upstream: MacOS cruft is getting installed, don't let it in... + # https://github.com/Exiv2/exiv2/issues/620 + tar -C "${WORKDIR}" --exclude=.* -xpf "${DISTDIR}/${A}" --gz 2> /dev/null || + elog "${my_tar}: tar extract command failed at least partially - continuing" + mv "${P}-Source" "${S}" || die "Failed to create source dir ${S}" +} + src_prepare() { # FIXME @upstream: einfo "Converting doc/cmd.txt to UTF-8" |