1 |
commit: 35ab89accfe17141c6a1dd9fc97ae53506e38205 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 23 20:54:42 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 23 20:57:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ab89ac |
7 |
|
8 |
media-gfx/exiv2: Drop 0.27.1 (r0) |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.15 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-gfx/exiv2/exiv2-0.27.1.ebuild | 99 ------------------------------------- |
14 |
1 file changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/exiv2/exiv2-0.27.1.ebuild b/media-gfx/exiv2/exiv2-0.27.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index cec021ce43b..00000000000 |
19 |
--- a/media-gfx/exiv2/exiv2-0.27.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,99 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-if [[ ${PV} = *9999 ]]; then |
28 |
- EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git" |
29 |
- inherit git-r3 |
30 |
-else |
31 |
- SRC_URI="https://exiv2.org/builds/${P}-Source.tar.gz" |
32 |
- 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" |
33 |
-fi |
34 |
- |
35 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
36 |
-inherit cmake-multilib python-any-r1 |
37 |
- |
38 |
-DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility" |
39 |
-HOMEPAGE="https://www.exiv2.org/" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0/27" |
43 |
-IUSE="doc examples nls +png webready +xmp" |
44 |
- |
45 |
-BDEPEND=" |
46 |
- doc? ( |
47 |
- ${PYTHON_DEPS} |
48 |
- app-doc/doxygen |
49 |
- dev-libs/libxslt |
50 |
- media-gfx/graphviz |
51 |
- virtual/pkgconfig |
52 |
- ) |
53 |
- nls? ( sys-devel/gettext ) |
54 |
-" |
55 |
-DEPEND=" |
56 |
- >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
57 |
- nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) |
58 |
- png? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) |
59 |
- webready? ( |
60 |
- net-libs/libssh[${MULTILIB_USEDEP}] |
61 |
- net-misc/curl[${MULTILIB_USEDEP}] |
62 |
- ) |
63 |
- xmp? ( dev-libs/expat[${MULTILIB_USEDEP}] ) |
64 |
-" |
65 |
-RDEPEND="${DEPEND}" |
66 |
- |
67 |
-DOCS=( README.md doc/ChangeLog doc/cmd.txt ) |
68 |
- |
69 |
-S="${S}-Source" |
70 |
- |
71 |
-pkg_setup() { |
72 |
- use doc && python-any-r1_pkg_setup |
73 |
-} |
74 |
- |
75 |
-src_prepare() { |
76 |
- # FIXME @upstream: |
77 |
- einfo "Converting doc/cmd.txt to UTF-8" |
78 |
- iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die |
79 |
- mv -f doc/cmd.txt.tmp doc/cmd.txt || die |
80 |
- |
81 |
- cmake-utils_src_prepare |
82 |
-} |
83 |
- |
84 |
-multilib_src_configure() { |
85 |
- local mycmakeargs=( |
86 |
- -DEXIV2_BUILD_SAMPLES=NO |
87 |
- -DEXIV2_BUILD_PO=$(usex nls) |
88 |
- -DEXIV2_ENABLE_NLS=$(usex nls) |
89 |
- -DEXIV2_ENABLE_PNG=$(usex png) |
90 |
- -DEXIV2_ENABLE_CURL=$(usex webready) |
91 |
- -DEXIV2_ENABLE_SSH=$(usex webready) |
92 |
- -DEXIV2_ENABLE_WEBREADY=$(usex webready) |
93 |
- -DEXIV2_ENABLE_XMP=$(usex xmp) |
94 |
- $(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO) |
95 |
- $(multilib_is_native_abi && echo -DEXIV2_BUILD_DOC=$(usex doc)) |
96 |
- -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html |
97 |
- ) |
98 |
- |
99 |
- cmake-utils_src_configure |
100 |
-} |
101 |
- |
102 |
-multilib_src_compile() { |
103 |
- cmake-utils_src_compile |
104 |
- |
105 |
- if multilib_is_native_abi; then |
106 |
- use doc && eninja doc |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
-multilib_src_install_all() { |
111 |
- use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} ) |
112 |
- |
113 |
- einstalldocs |
114 |
- find "${D}" -name '*.la' -delete || die |
115 |
- |
116 |
- if use examples; then |
117 |
- docinto examples |
118 |
- dodoc samples/*.cpp |
119 |
- fi |
120 |
-} |