summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-30 01:01:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-30 01:02:24 +0100
commit9935e583097e71b23f179681b740c15636d00ac1 (patch)
tree8ba0dc8e5b8ac26fa72162758d4e2a9d77ec7323
parentapp-shells/mcfly: bump to 0.3.1 (diff)
downloadgentoo-9935e583097e71b23f179681b740c15636d00ac1.tar.gz
gentoo-9935e583097e71b23f179681b740c15636d00ac1.tar.bz2
gentoo-9935e583097e71b23f179681b740c15636d00ac1.zip
media-gfx/exiv2: Remove Apple filesystem cruft
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-gfx/exiv2/exiv2-0.27.0.ebuild10
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"