summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/exiv2/ChangeLog8
-rw-r--r--media-gfx/exiv2/Manifest6
-rw-r--r--media-gfx/exiv2/exiv2-0.18.1.ebuild100
-rw-r--r--media-gfx/exiv2/metadata.xml3
4 files changed, 114 insertions, 3 deletions
diff --git a/media-gfx/exiv2/ChangeLog b/media-gfx/exiv2/ChangeLog
index 472ed01a8732..3e44e16c9432 100644
--- a/media-gfx/exiv2/ChangeLog
+++ b/media-gfx/exiv2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/exiv2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.63 2009/02/28 10:54:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.64 2009/05/17 16:34:25 sbriesen Exp $
+
+*exiv2-0.18.1 (17 May 2009)
+
+ 17 May 2009; Stefan Briesenick <sbriesen@gentoo.org> +exiv2-0.18.1.ebuild,
+ metadata.xml:
+ version bump, solving bug #270110.
28 Feb 2009; Raúl Porcel <armin76@gentoo.org> exiv2-0.17.1.ebuild:
arm/sh stable
diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest
index 7a9054ff4480..56954db26962 100644
--- a/media-gfx/exiv2/Manifest
+++ b/media-gfx/exiv2/Manifest
@@ -1,8 +1,10 @@
DIST exiv2-0.17.1.tar.gz 1807220 RMD160 e9a91efcbbf31240e741a5994e4094905280345f SHA1 7872fde6181dd0958c8d855bea35b95094ac06c7 SHA256 6b5516159a1068e6253c787e391288e1b170bc702553c7121c4b693b293704cb
DIST exiv2-0.17.tar.gz 1807917 RMD160 a7cd49a233324e7fcf551bdc693edd9f5797adfd SHA1 281b79a3555caada55aa06314b44088ad2225330 SHA256 18daa920b68454b97f87adee021c01a6344d0898909e2f23be3a162fcfeacabd
+DIST exiv2-0.18.1.tar.gz 2342158 RMD160 2066f71903a61a32ed435c3602a71ef8c0ad2428 SHA1 d4ea2c790ea0bf36564f6442e90545574b1ba2d5 SHA256 e1480fe8859f47878cb3d5874573c395e622c073d64772f33521080ec468db35
DIST exiv2-0.18.tar.gz 2299215 RMD160 0206c1ff4f7ac0365d0f6b2796c15b102020ef22 SHA1 7584fff327383da4667390663f24c4100ab997eb SHA256 e567918c747043588a58b8f6de49727443f275291119edd84b1c62cc685be4cd
EBUILD exiv2-0.17.1.ebuild 2021 RMD160 30e6a6cfe209393da8e551c2e6bffbf9fb80d52c SHA1 54ac21abeac51e67a58df30a44aa80201ffb9b4a SHA256 a9191cd414fa2ba8c37caef3a9328df76a69c4c88f1ab37857728ec5dd25e3d7
EBUILD exiv2-0.17.ebuild 1994 RMD160 133d6f88b181e00cc2f444443ce420e30d50d61a SHA1 41dcc60df0bdf244b9c448b0b97788b2b2fae56f SHA256 1f6af83bbe511a342b5830e21629b2a6fbb88a702ae19de3bcb182a5b8cc0d84
+EBUILD exiv2-0.18.1.ebuild 2765 RMD160 7712a470254a10c62ae22fb3e3645d2230ab1fa1 SHA1 dc0a3fb0cefd9176df432d801ed0595d9d2b444b SHA256 5cb0b18a498bbfb438cf134168451ea54af55a3f9b577bb6a0e80b0508752853
EBUILD exiv2-0.18.ebuild 2108 RMD160 2227848e8e5e737cccc74e2464595e1d810ee43e SHA1 a2a719544f30418c0f76e5bc59d0298ba83ec657 SHA256 7307a83eb7c99384905bd744db57e524d3b65319203689ae804e32a81c4afc10
-MISC ChangeLog 7760 RMD160 7f3adeeee3a43234f796c325a1cae5c95226a04e SHA1 a61bcfde0722236cc40c3b9311c1370533aa086f SHA256 912f5bf7ff5f13685b3fe135e5e459ed3c63c5c841b9311bdaa84fac5772f6f1
-MISC metadata.xml 486 RMD160 ab14d793660fd5bccaa7cd34a46f06a63eccc6ab SHA1 70d5211ae2a128e5e85c9372859cbf7401fc93c1 SHA256 62df24ca4cbb748d460e20f242a157958c221e8ef0df46c8af8d5b4ca4961ecc
+MISC ChangeLog 7921 RMD160 8a9ceeed6006fb8f01ec36cc70abbdb2460fc36c SHA1 3955b64c5e1813495474930b384edaf073d95faf SHA256 6b91f49371fa7667661f5f73680c7e4e56c41c58902076619366c317b6319d4e
+MISC metadata.xml 559 RMD160 890ebf01e124351efae52ad34e0ff18228471c05 SHA1 700480aad5487da86b0669c42e7e64626e50bbe9 SHA256 8200a4e1207be507c8eeb097cc269c761b4758e70707f8c84d309802f8840634
diff --git a/media-gfx/exiv2/exiv2-0.18.1.ebuild b/media-gfx/exiv2/exiv2-0.18.1.ebuild
new file mode 100644
index 000000000000..ae9c69731084
--- /dev/null
+++ b/media-gfx/exiv2/exiv2-0.18.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.18.1.ebuild,v 1.1 2009/05/17 16:34:25 sbriesen Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility"
+HOMEPAGE="http://www.exiv2.org/"
+SRC_URI="http://www.exiv2.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc nls zlib xmp examples unicode contrib"
+IUSE_LINGUAS="de es fi fr pl ru sk"
+IUSE="${IUSE} $(printf 'linguas_%s ' ${IUSE_LINGUAS})"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ xmp? ( dev-libs/expat )
+ nls? ( virtual/libintl )
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-lang/python
+ app-doc/doxygen
+ dev-libs/libxslt
+ dev-util/pkgconfig
+ media-gfx/graphviz
+ )
+ nls? ( sys-devel/gettext )
+ contrib? ( >=dev-libs/boost-1.37 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use unicode; then
+ for i in doc/cmd.txt; do
+ echo ">>> Converting "${i}" to UTF-8"
+ iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~"
+ done
+ fi
+
+ if use doc; then
+ echo ">>> Updating doxygen config"
+ doxygen 2>&1 >/dev/null -u config/Doxyfile
+ fi
+
+ if use contrib; then
+ # create build environment for contrib
+ ln -snf ../../src contrib/organize/exiv2
+ sed -i -e 's:/usr/local/include/.*:/usr/include:g' \
+ -e 's:/usr/local/lib/lib:-l:g' -e 's:-gcc..-mt-._..\.a::g' \
+ contrib/organize/boost.mk
+ fi
+}
+
+src_compile() {
+ local myconf="$(use_enable nls) $(use_enable xmp)"
+ use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+
+ if use contrib; then
+ emake -C contrib/organize \
+ LDFLAGS="\$(BOOST_LIBS) -L../../src -lexiv2 ${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS} -I\$(BOOST_INC_DIR) -I. -DEXV_HAVE_STDINT_H" \
+ || die "emake organize failed"
+ fi
+
+ if use doc; then
+ emake doc || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use contrib; then
+ emake DESTDIR="${D}" -C contrib/organize install || die "emake install organize failed"
+ fi
+
+ dodoc README doc/{ChangeLog,cmd.txt}
+ use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt}
+ use doc && dohtml -r doc/html/.
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins samples/*.cpp
+ fi
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "PLEASE PLEASE take note of this:"
+ ewarn "Please make *sure* to run revdep-rebuild now"
+ ewarn "Certain things on your system may have linked against a"
+ ewarn "different version of exiv2 -- those things need to be"
+ ewarn "recompiled. Sorry for the inconvenience!"
+ ewarn
+}
diff --git a/media-gfx/exiv2/metadata.xml b/media-gfx/exiv2/metadata.xml
index 84e022f04dcf..c8ea17aefafc 100644
--- a/media-gfx/exiv2/metadata.xml
+++ b/media-gfx/exiv2/metadata.xml
@@ -14,5 +14,8 @@
<flag name='xmp'>
Adds support for Adobe XMP
</flag>
+ <flag name='contrib'>
+ Build additional contrib components
+ </flag>
</use>
</pkgmetadata>