diff options
Diffstat (limited to 'media-libs/libexif')
-rw-r--r-- | media-libs/libexif/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libexif/files/libexif-0.6.13-pkgconfig.patch | 11 | ||||
-rw-r--r-- | media-libs/libexif/libexif-0.6.21-r1.ebuild | 46 | ||||
-rw-r--r-- | media-libs/libexif/libexif-0.6.21.ebuild | 41 | ||||
-rw-r--r-- | media-libs/libexif/metadata.xml | 8 |
5 files changed, 107 insertions, 0 deletions
diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest new file mode 100644 index 000000000000..bb16f8cc6d5c --- /dev/null +++ b/media-libs/libexif/Manifest @@ -0,0 +1 @@ +DIST libexif-0.6.21.tar.bz2 1368435 SHA256 16cdaeb62eb3e6dfab2435f7d7bccd2f37438d21c5218ec4e58efa9157d4d41a SHA512 4e0fe2abe85d1c95b41cb3abe1f6333dc3a9eb69dba106a674a78d74a4d5b9c5a19647118fa1cc2d72b98a29853394f1519eda9e2889eb28d3be26b21c7cfc35 WHIRLPOOL 929dba4cbe95064f3de15de3ccbee8c0fb3014054e1615d3fa5fd63af75a425171aa1376e469f5f48d727288ab40ffaf02ecd974b366ea66810ee860ba37c09d diff --git a/media-libs/libexif/files/libexif-0.6.13-pkgconfig.patch b/media-libs/libexif/files/libexif-0.6.13-pkgconfig.patch new file mode 100644 index 000000000000..2c6460fd46cf --- /dev/null +++ b/media-libs/libexif/files/libexif-0.6.13-pkgconfig.patch @@ -0,0 +1,11 @@ +--- libexif/libexif.pc.in ++++ libexif/libexif.pc.in +@@ -1,7 +1,7 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ +-includedir=@includedir@ ++includedir=@includedir@/libexif + + Name: libexif + Description: Library for easy access to EXIF data 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..de0d7f9c539a --- /dev/null +++ b/media-libs/libexif/libexif-0.6.21-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~arm64 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} +} diff --git a/media-libs/libexif/libexif-0.6.21.ebuild b/media-libs/libexif/libexif-0.6.21.ebuild new file mode 100644 index 000000000000..0975597247c8 --- /dev/null +++ b/media-libs/libexif/libexif-0.6.21.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +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 ~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 )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch + sed -i -e '/FLAGS=/s:-g::' configure || die #390249 + elibtoolize # For *-bsd +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable nls) \ + $(use_enable doc docs) \ + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} +} diff --git a/media-libs/libexif/metadata.xml b/media-libs/libexif/metadata.xml new file mode 100644 index 000000000000..59b180fa99e1 --- /dev/null +++ b/media-libs/libexif/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> + <upstream> + <remote-id type="sourceforge">libexif</remote-id> + </upstream> +</pkgmetadata> |