Skip to content

Commit

Permalink
media-gfx/exiv2: Remove Apple filesystem cruft
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 30, 2018
1 parent eb02746 commit 9935e58
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions media-gfx/exiv2/exiv2-0.27.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 9935e58

Please sign in to comment.