1 |
commit: 34d57164970f68bd678de5b7093be3f8f92856aa |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 12 22:03:38 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 12 22:06:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d57164 |
7 |
|
8 |
media-gfx/exiv2: Drop 0.27.0-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-gfx/exiv2/exiv2-0.27.0-r1.ebuild | 107 --------------------------------- |
14 |
1 file changed, 107 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/exiv2/exiv2-0.27.0-r1.ebuild b/media-gfx/exiv2/exiv2-0.27.0-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 4582b1acd6f..00000000000 |
19 |
--- a/media-gfx/exiv2/exiv2-0.27.0-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,107 +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="http://exiv2.dyndns.org/builds/${P}a-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="http://www.exiv2.org/" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0/27" |
43 |
-IUSE="doc examples nls +png webready +xmp" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
47 |
- nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) |
48 |
- png? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) |
49 |
- webready? ( |
50 |
- net-libs/libssh[${MULTILIB_USEDEP}] |
51 |
- net-misc/curl[${MULTILIB_USEDEP}] |
52 |
- ) |
53 |
- xmp? ( dev-libs/expat[${MULTILIB_USEDEP}] ) |
54 |
-" |
55 |
-DEPEND="${RDEPEND} |
56 |
- doc? ( |
57 |
- ${PYTHON_DEPS} |
58 |
- app-doc/doxygen |
59 |
- dev-libs/libxslt |
60 |
- media-gfx/graphviz |
61 |
- virtual/pkgconfig |
62 |
- ) |
63 |
- nls? ( sys-devel/gettext ) |
64 |
-" |
65 |
- |
66 |
-DOCS=( README.md doc/ChangeLog doc/cmd.txt ) |
67 |
- |
68 |
-S="${S}-Source" |
69 |
- |
70 |
-PATCHES=( |
71 |
- # pending upstream |
72 |
- "${FILESDIR}"/${P}-png-broken-icc-profile.patch |
73 |
-) |
74 |
- |
75 |
-pkg_setup() { |
76 |
- use doc && python-any-r1_pkg_setup |
77 |
-} |
78 |
- |
79 |
-src_prepare() { |
80 |
- # FIXME @upstream: |
81 |
- einfo "Converting doc/cmd.txt to UTF-8" |
82 |
- iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die |
83 |
- mv -f doc/cmd.txt.tmp doc/cmd.txt || die |
84 |
- |
85 |
- if use doc; then |
86 |
- einfo "Updating doxygen config" |
87 |
- doxygen &>/dev/null -u config/Doxyfile || die |
88 |
- fi |
89 |
- |
90 |
- cmake-utils_src_prepare |
91 |
-} |
92 |
- |
93 |
-multilib_src_configure() { |
94 |
- local mycmakeargs=( |
95 |
- -DEXIV2_BUILD_SAMPLES=NO |
96 |
- -DEXIV2_BUILD_PO=$(usex nls) |
97 |
- -DEXIV2_ENABLE_NLS=$(usex nls) |
98 |
- -DEXIV2_ENABLE_PNG=$(usex png) |
99 |
- -DEXIV2_ENABLE_CURL=$(usex webready) |
100 |
- -DEXIV2_ENABLE_SSH=$(usex webready) |
101 |
- -DEXIV2_ENABLE_WEBREADY=$(usex webready) |
102 |
- -DEXIV2_ENABLE_XMP=$(usex xmp) |
103 |
- $(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO) |
104 |
- ) |
105 |
- |
106 |
- cmake-utils_src_configure |
107 |
-} |
108 |
- |
109 |
-multilib_src_compile() { |
110 |
- cmake-utils_src_compile |
111 |
- |
112 |
- if multilib_is_native_abi; then |
113 |
- use doc && emake -j1 doc |
114 |
- fi |
115 |
-} |
116 |
- |
117 |
-multilib_src_install_all() { |
118 |
- use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} ) |
119 |
- use doc && HTML_DOCS=( "${S}"/doc/html/. ) |
120 |
- |
121 |
- einstalldocs |
122 |
- find "${D}" -name '*.la' -delete || die |
123 |
- |
124 |
- if use examples; then |
125 |
- docinto examples |
126 |
- dodoc samples/*.cpp |
127 |
- fi |
128 |
-} |