Skip to content

Commit

Permalink
media-gfx/exiv2: Tarball respun
Browse files Browse the repository at this point in the history
See also: Exiv2/exiv2#620

Signed-off-by: Andreas Sturmlechner <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
a17r committed Jan 3, 2019
1 parent f2761fa commit 98a9d4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion media-gfx/exiv2/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST exiv2-0.26_p20180811d.tar.xz 1722216 BLAKE2B 9e1c8307eb923c340894c82c37e9f6c31d82ff1b1de3c79d4ec9b0ec9428ad1d05f945e9a4e440028335857e7fc32d50cdc5245842d743e017037bd641b654db SHA512 5453650888440028acb139a02b387eab0232551c97256ce88dd626fa4cc8800ec02ad66e093c314bbfdc60726995b6c8482572d1ffaec73a265209c98c901780
DIST exiv2-0.27.0-Source.tar.gz 27222970 BLAKE2B a935f6a41e322dda14d11400801f6b98fd3254af45a44d9d6e9f90d955cc58bb6f7477c49f1f99612a519216cdc954bacea74c68f76545c662db37849e99367e SHA512 3037d8e84b414e3915b807c5bea39f903668c0774f9dbc1367e23c595d5abaf318c746009e994234bcaf0088ad32a820ea42c9c77c9a53c65a7b5d7781a2c6d4
DIST exiv2-0.27.0a-Source.tar.gz 27168207 BLAKE2B 3f5c4fbe4f41c1114c0a54433c810ed0fb28ae3fbe8258eb7a02da716b833d62a94725f839accf22600c420ace5cdbead599440d335ff694a4f123820613ecd9 SHA512 9873d6815c2a87b7cdc49e8863f72c713fe1054f2f46d2c9aaa7ca2cd42096a36c2970e6a396af9000faba32fa9ff054b9d2c5e22f3e2624669440e553239f9c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -7,7 +7,7 @@ if [[ ${PV} = *9999 ]]; then
EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git"
inherit git-r3
else
SRC_URI="http://exiv2.dyndns.org/builds/${P}-Source.tar.gz"
SRC_URI="http://exiv2.dyndns.org/builds/${P}a-Source.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
fi

Expand Down Expand Up @@ -44,6 +44,8 @@ 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 @@ -53,14 +55,6 @@ 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 98a9d4a

Please sign in to comment.