From 28e6e07cc7e23635d700ab3a17d73af2f4203dc8 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Sun, 21 Dec 2008 09:27:31 +0000 Subject: bump to 0.6.17, bug #248249; graphics herd will maintain this. (Portage version: 2.1.6.1/cvs/Linux 2.6.28-rc9 i686) --- media-libs/libexif/ChangeLog | 8 +++- media-libs/libexif/libexif-0.6.17.ebuild | 70 ++++++++++++++++++++++++++++++++ media-libs/libexif/metadata.xml | 5 +-- 3 files changed, 78 insertions(+), 5 deletions(-) create mode 100644 media-libs/libexif/libexif-0.6.17.ebuild (limited to 'media-libs/libexif') diff --git a/media-libs/libexif/ChangeLog b/media-libs/libexif/ChangeLog index 08199c852609..bee00fc1d77c 100644 --- a/media-libs/libexif/ChangeLog +++ b/media-libs/libexif/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libexif # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.97 2008/11/02 12:55:22 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.98 2008/12/21 09:27:31 maekke Exp $ + +*libexif-0.6.17 (21 Dec 2008) + + 21 Dec 2008; Markus Meier metadata.xml, + +libexif-0.6.17.ebuild: + bump to 0.6.17, bug #248249; graphics herd will maintain this. 02 Nov 2008; Jorge Manuel B. S. Vicetto metadata.xml: diff --git a/media-libs/libexif/libexif-0.6.17.ebuild b/media-libs/libexif/libexif-0.6.17.ebuild new file mode 100644 index 000000000000..e9da20327eb5 --- /dev/null +++ b/media-libs/libexif/libexif-0.6.17.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.17.ebuild,v 1.1 2008/12/21 09:27:31 maekke Exp $ + +inherit eutils libtool + +DESCRIPTION="Library for parsing, editing, and saving EXIF data" +HOMEPAGE="http://libexif.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc nls" + +DEPEND="dev-util/pkgconfig + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext )" + +RDEPEND="nls? ( virtual/libintl )" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${PN}-0.6.13-pkgconfig.patch" + + # We do this for sane .so versioning on FreeBSD + elibtoolize +} + +src_compile() { + local my_conf="--with-doc-dir=/usr/share/doc/${PF}" + use nls || my_conf="${my_conf} --without-libintl-prefix" + econf $(use_enable nls) $(use_enable doc docs) \ + --with-pic --disable-rpath ${my_conf} || die + emake || die +} + +src_install() { + dodir /usr/$(get_libdir) + dodir /usr/include/libexif + use nls && dodir /usr/share/locale + use doc && dodir /usr/share/doc/${PF} + dodir /usr/$(get_libdir)/pkgconfig + + make DESTDIR="${D}" install || die + + dodoc ChangeLog README + + # installs a blank directory for whatever broken reason + use nls || rm -rf "${D}usr/share/locale" +} + +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-0.6.13-r2" + previous_less_than_0_6_13_r2=$? +} + +pkg_postinst() { + if [[ $previous_less_than_0_6_13_r2 = 0 ]] ; then + elog "If you are upgrading from a version of libexif older than 0.6.13-r2," + elog "you will need to do the following to rebuild dependencies:" + elog "# revdep-rebuild --soname libexif.so.9" + elog "# revdep-rebuild --soname libexif.so.10" + elog "" + elog "Note, it is actually safe to create a symlink from libexif.so.10 to" + elog "libexif.so.12 if you need to during the update." + fi +} diff --git a/media-libs/libexif/metadata.xml b/media-libs/libexif/metadata.xml index 73420b6cf0f0..e770d1bc9a96 100644 --- a/media-libs/libexif/metadata.xml +++ b/media-libs/libexif/metadata.xml @@ -1,8 +1,5 @@ -no-herd - - maintainer-needed@gentoo.org - +graphics -- cgit v1.2.3-65-gdbad