summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-03-09 21:01:40 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-03-09 21:01:40 +0000
commit6ebe7ca256cd1c5028be6aa99c01fe2d1aa0b7e8 (patch)
treeb31c86a973ec3c732ba1b814e9f66b7e94fdc657 /media-libs/libexif
parentVersion bump. (diff)
downloadgentoo-2-6ebe7ca256cd1c5028be6aa99c01fe2d1aa0b7e8.tar.gz
gentoo-2-6ebe7ca256cd1c5028be6aa99c01fe2d1aa0b7e8.tar.bz2
gentoo-2-6ebe7ca256cd1c5028be6aa99c01fe2d1aa0b7e8.zip
convert to multilib-minimal wrt #458638
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'media-libs/libexif')
-rw-r--r--media-libs/libexif/ChangeLog9
-rw-r--r--media-libs/libexif/libexif-0.6.21-r1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/media-libs/libexif/ChangeLog b/media-libs/libexif/ChangeLog
index dd3654569c4e..2f028ae391bc 100644
--- a/media-libs/libexif/ChangeLog
+++ b/media-libs/libexif/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libexif
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.137 2012/11/07 19:03:58 grobian Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.138 2013/03/09 21:01:40 hasufell Exp $
+
+*libexif-0.6.21-r1 (09 Mar 2013)
+
+ 09 Mar 2013; Julian Ospald <hasufell@gentoo.org> +libexif-0.6.21-r1.ebuild:
+ convert to multilib-minimal wrt #458638
07 Nov 2012; Fabian Groffen <grobian@gentoo.org> libexif-0.6.21.ebuild:
Add Prefix keywords
diff --git a/media-libs/libexif/libexif-0.6.21-r1.ebuild b/media-libs/libexif/libexif-0.6.21-r1.ebuild
new file mode 100644
index 000000000000..4b123f6d18e2
--- /dev/null
+++ b/media-libs/libexif/libexif-0.6.21-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.21-r1.ebuild,v 1.1 2013/03/09 21:01:40 hasufell Exp $
+
+EAPI=5
+inherit eutils libtool multilib-minimal
+
+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 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="doc nls static-libs"
+
+RDEPEND="nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )"
+
+ECONF_SOURCE=${S}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
+ sed -i -e '/FLAGS=/s:-g::' configure || die #390249
+ elibtoolize # For *-bsd
+}
+
+multilib_src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable nls) \
+ $(use_enable doc docs) \
+ --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+ rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
+}