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: Wed, 03 Oct 2018 22:58:40
Message-Id: 1538606662.fcf49533516c5b206a6f782b7e68bed09235699e.asturm@gentoo
1 commit: fcf49533516c5b206a6f782b7e68bed09235699e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 3 22:38:19 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 3 22:44:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf49533
7
8 media-gfx/exiv2: Drop 0.26_p20180811-r2
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 media-gfx/exiv2/Manifest | 1 -
14 media-gfx/exiv2/exiv2-0.26_p20180811-r2.ebuild | 123 -------------------------
15 2 files changed, 124 deletions(-)
16
17 diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest
18 index 267e64f2b4f..1cdcc30af60 100644
19 --- a/media-gfx/exiv2/Manifest
20 +++ b/media-gfx/exiv2/Manifest
21 @@ -1,3 +1,2 @@
22 DIST exiv2-0.26_p20180319.tar.gz 28383543 BLAKE2B 753a2ebdb2033490c0f66cb1fb2574f02125f17813f6cbaf5eca66e053af9a2cdbc1266f0a033f0706ec22b31acd6e87271e426a335a58ee947757b52d283489 SHA512 852ce2cffcc0a2d902a939933127fdf5fa0b50020e1faf3ab0a375b129b9f61c7b97b76d4f39e376e7288d7cc045867bd1a96ae15dd0b7c0bcd1ba15259628e1
23 -DIST exiv2-0.26_p20180811c.tar.xz 1723668 BLAKE2B 0bbba3d04ca063f62797ce5bd9a1a39f87c5ed26ed9eecb73fb11051660c761d2c56dec392d73d3a33573599efa95790d84d59b3c4da3122a1eb564f5978ef65 SHA512 4a7bc11805e204b541819f434defc48ff579b2c84c9504d6c7826a3808f73cda3d68f357a179f14a8277e6a338c3bb94c9e63da9f61a5ea3c548e0ad93df56ce
24 DIST exiv2-0.26_p20180811d.tar.xz 1722216 BLAKE2B 9e1c8307eb923c340894c82c37e9f6c31d82ff1b1de3c79d4ec9b0ec9428ad1d05f945e9a4e440028335857e7fc32d50cdc5245842d743e017037bd641b654db SHA512 5453650888440028acb139a02b387eab0232551c97256ce88dd626fa4cc8800ec02ad66e093c314bbfdc60726995b6c8482572d1ffaec73a265209c98c901780
25
26 diff --git a/media-gfx/exiv2/exiv2-0.26_p20180811-r2.ebuild b/media-gfx/exiv2/exiv2-0.26_p20180811-r2.ebuild
27 deleted file mode 100644
28 index ec7d78e7856..00000000000
29 --- a/media-gfx/exiv2/exiv2-0.26_p20180811-r2.ebuild
30 +++ /dev/null
31 @@ -1,123 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
38 -inherit cmake-multilib python-any-r1
39 -
40 -DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
41 -HOMEPAGE="http://www.exiv2.org/"
42 -SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}c.tar.xz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0/26"
46 -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"
47 -IUSE="doc examples nls png webready xmp"
48 -
49 -RDEPEND="
50 - >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
51 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
52 - png? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
53 - webready? (
54 - net-libs/libssh[${MULTILIB_USEDEP}]
55 - net-misc/curl[${MULTILIB_USEDEP}]
56 - )
57 - xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] )
58 -"
59 -DEPEND="${RDEPEND}
60 - doc? (
61 - ${PYTHON_DEPS}
62 - app-doc/doxygen
63 - dev-libs/libxslt
64 - media-gfx/graphviz
65 - virtual/pkgconfig
66 - )
67 - nls? ( sys-devel/gettext )
68 -"
69 -
70 -DOCS=( README doc/ChangeLog doc/cmd.txt )
71 -
72 -PATCHES=(
73 - # TODO: Take to upstream
74 - "${FILESDIR}"/${PN}-0.26-fix-docs.patch
75 - "${FILESDIR}"/${PN}-0.26-tools-optional.patch
76 -)
77 -
78 -pkg_setup() {
79 - use doc && python-any-r1_pkg_setup
80 -}
81 -
82 -src_prepare() {
83 - if [[ ${PV} != *9999 ]] ; then
84 - if [[ -d po ]] ; then
85 - pushd po > /dev/null || die
86 - local lang
87 - for lang in *.po; do
88 - if [[ -e ${lang} ]] \
89 - && ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then
90 - case ${lang} in
91 - CMakeLists.txt | \
92 - ${PN}.pot) ;;
93 - *) rm -r ${lang} || die ;;
94 - esac
95 - fi
96 - done
97 - popd > /dev/null || die
98 - else
99 - die "Failed to prepare LINGUAS - po directory moved?"
100 - fi
101 - fi
102 -
103 - # FIXME @upstream:
104 - einfo "Converting doc/cmd.txt to UTF-8"
105 - iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
106 - mv -f doc/cmd.txt.tmp doc/cmd.txt || die
107 -
108 - if use doc; then
109 - einfo "Updating doxygen config"
110 - doxygen &>/dev/null -u config/Doxyfile || die
111 - fi
112 -
113 - edos2unix samples/exiv2json.cpp # workaround for CVE-2017-18005 patch
114 -
115 - cmake-utils_src_prepare
116 -}
117 -
118 -multilib_src_configure() {
119 - local mycmakeargs=(
120 - -DEXIV2_ENABLE_BUILD_SAMPLES=NO
121 - -DEXIV2_ENABLE_BUILD_PO=$(usex nls)
122 - -DEXIV2_ENABLE_NLS=$(usex nls)
123 - -DEXIV2_ENABLE_PNG=$(usex png)
124 - -DEXIV2_ENABLE_CURL=$(usex webready)
125 - -DEXIV2_ENABLE_SSH=$(usex webready)
126 - -DEXIV2_ENABLE_WEBREADY=$(usex webready)
127 - -DEXIV2_ENABLE_XMP=$(usex xmp)
128 - -DEXIV2_ENABLE_LIBXMP=NO
129 - $(multilib_is_native_abi || echo -DEXIV2_ENABLE_TOOLS=NO)
130 - )
131 -
132 - cmake-utils_src_configure
133 -}
134 -
135 -multilib_src_compile() {
136 - cmake-utils_src_compile
137 -
138 - if multilib_is_native_abi; then
139 - use doc && emake -j1 doc
140 - fi
141 -}
142 -
143 -multilib_src_install_all() {
144 - use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} )
145 - use doc && HTML_DOCS=( "${S}"/doc/html/. )
146 -
147 - einstalldocs
148 - find "${D}" -name '*.la' -delete || die
149 -
150 - if use examples; then
151 - docinto examples
152 - dodoc samples/*.cpp
153 - fi
154 -}