summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libexif
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libexif')
-rw-r--r--media-libs/libexif/Manifest1
-rw-r--r--media-libs/libexif/files/libexif-0.6.13-pkgconfig.patch11
-rw-r--r--media-libs/libexif/libexif-0.6.21-r1.ebuild46
-rw-r--r--media-libs/libexif/libexif-0.6.21.ebuild41
-rw-r--r--media-libs/libexif/metadata.xml8
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>