summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-19 11:44:57 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-19 11:44:57 +0000
commit6faca555680d7c70cc025abedb1827746f634014 (patch)
tree32e65fa566c5df2aab86f628f77b021b451b83ec /media-libs/flickcurl
parent[bump] dev-perl/Variable-Magic-0.480.0 (diff)
downloadgentoo-2-6faca555680d7c70cc025abedb1827746f634014.tar.gz
gentoo-2-6faca555680d7c70cc025abedb1827746f634014.tar.bz2
gentoo-2-6faca555680d7c70cc025abedb1827746f634014.zip
Version bump.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/flickcurl')
-rw-r--r--media-libs/flickcurl/ChangeLog10
-rw-r--r--media-libs/flickcurl/flickcurl-1.22.ebuild48
-rw-r--r--media-libs/flickcurl/metadata.xml1
3 files changed, 57 insertions, 2 deletions
diff --git a/media-libs/flickcurl/ChangeLog b/media-libs/flickcurl/ChangeLog
index 9c05761ef8fd..428ab59f47b5 100644
--- a/media-libs/flickcurl/ChangeLog
+++ b/media-libs/flickcurl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/flickcurl
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flickcurl/ChangeLog,v 1.2 2011/07/25 10:28:48 angelos Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flickcurl/ChangeLog,v 1.3 2012/02/19 11:44:57 radhermit Exp $
+
+*flickcurl-1.22 (19 Feb 2012)
+
+ 19 Feb 2012; Tim Harder <radhermit@gentoo.org> +flickcurl-1.22.ebuild,
+ metadata.xml:
+ Version bump.
25 Jul 2011; Christoph Mende <angelos@gentoo.org> flickcurl-1.21.ebuild,
+files/flickcurl-1.21-curl-headers.patch:
diff --git a/media-libs/flickcurl/flickcurl-1.22.ebuild b/media-libs/flickcurl/flickcurl-1.22.ebuild
new file mode 100644
index 000000000000..7e1aee012965
--- /dev/null
+++ b/media-libs/flickcurl/flickcurl-1.22.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flickcurl/flickcurl-1.22.ebuild,v 1.1 2012/02/19 11:44:57 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools
+
+DESCRIPTION="C library for the Flickr API"
+HOMEPAGE="http://librdf.org/flickcurl/"
+SRC_URI="http://download.dajobe.org/flickcurl/${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 GPL-2 Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc oauth raptor static-libs"
+
+RDEPEND=">=net-misc/curl-7.10.0
+ >=dev-libs/libxml2-2.6.8:2
+ raptor? ( media-libs/raptor:2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ if ! use doc ; then
+ # Only install html documentation when the use flag is enabled
+ sed -i -e '/gtk-doc.make/d' \
+ -e 's:+=:=:' docs/Makefile.am || die
+ else
+ # Install html docs in the correct directory
+ sed -i -e '/^TARGET_DIR/s:/$(DOC_MODULE)::' gtk-doc.make || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-html-dir=/usr/share/doc/${PF}/html \
+ $(use_enable oauth) \
+ $(use_with raptor) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f '{}' +
+}
diff --git a/media-libs/flickcurl/metadata.xml b/media-libs/flickcurl/metadata.xml
index bbe3ae036794..98d68197ae01 100644
--- a/media-libs/flickcurl/metadata.xml
+++ b/media-libs/flickcurl/metadata.xml
@@ -4,5 +4,6 @@
<herd>graphics</herd>
<use>
<flag name="raptor">Use <pkg>media-libs/raptor</pkg> for proper RDF serializing</flag>
+ <flag name="oauth">Enable experimental OAuth support</flag>
</use>
</pkgmetadata>