Permalink
Browse files

FL-772: media-libs/gexiv2-0.6.1, with fix from FL-467 preserved

  • Loading branch information...
1 parent f3385b7 commit 901ccb9a3147e500d24af64e3e6bf7ee1b6acb23 @danielrobbins danielrobbins committed Sep 25, 2013
Showing with 54 additions and 0 deletions.
  1. +1 −0 media-libs/gexiv2/Manifest
  2. +53 −0 media-libs/gexiv2/gexiv2-0.6.1.ebuild
@@ -1,2 +1,3 @@
DIST libgexiv2-0.4.1.tar.bz2 25484 SHA256 c51e8bae7e53866b474b51e4eef19b98385fbeaf2edac2aefd7d24ed3f7d9d6e SHA512 cbc9b2e6c7bbb6ef1862d6cb2cc8319843dad46d7a14b7340cab368dd6cd9bda5b776ecf3980c835b60b17ba3d49717b4194bdac82324c27013b03df04fddfb5 WHIRLPOOL 2c8300d5971bf7f5cfd11ff5d34d22af32e7951b0e8434e874b840fba0027409e21b5ec72a59182ee14a3fdace62a1196e2c8a3d5c9ee3d763836ba16babc9c4
DIST libgexiv2_0.6.0.tar.xz 27244 SHA256 54ae999042847852168e507cb2ff25c243b8c63b95aad5068bb536044a15f4a4 SHA512 eb819c974dbe9543f2442711d75e5e494db602833e98259bceeac4a5ddab7bcfae4002f6a34d7a72f8dcf7e4006e56e4a2c3c181a19afa33210a34c87d9e0475 WHIRLPOOL 4cab5d23779446058dc684737e91e3d831640719b50dc0175a0c1bef2ab808b28afa43723d3c2f842dcce332f972f1f9988d8b9fa51474388ed209c25e611a38
+DIST libgexiv2_0.6.1.tar.xz 27300 SHA256 72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3 SHA512 76aecd20ffac202badb51eab4e40fee563c3073892beec716bcf24e285df42f2498594a9e0bf487e198e8c955047d55e5b49b506bbf8b67c64956c0b99a84b1b WHIRLPOOL f0d9b514c96ecd8924395a614f4e69d046eff7f99dcad332c843d934923d5a2ad115975c083cfa9fb5b6fe620e5a8fe662738691a54d5c42219279591d79846d
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gexiv2/gexiv2-0.6.1.ebuild,v 1.9 2013/09/07 20:11:09 ago Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit eutils multilib python-r1 toolchain-funcs versionator
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="GObject-based wrapper around the Exiv2 library"
+HOMEPAGE="http://trac.yorba.org/wiki/gexiv2/"
+SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/lib${PN}_${PV}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+IUSE="introspection static-libs"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/glib:2
+ >=media-gfx/exiv2-0.21
+ introspection? ( dev-libs/gobject-introspection )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/lib${P}
+
+src_prepare() {
+ tc-export CXX
+ sed -e 's:CFLAGS:CXXFLAGS:g' -i Makefile || die
+}
+
+src_configure() {
+ ./configure \
+ --prefix=/usr \
+ $(use_enable introspection) \
+ || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIB="$(get_libdir)" install
+ dodoc AUTHORS NEWS README THANKS
+
+ python_moduleinto gi/overrides/
+ python_foreach_impl python_domodule GExiv2.py
+
+ use static-libs || find "${D}" \( -name '*.a' -or -name '*.la' \) -delete
+}

0 comments on commit 901ccb9

Please sign in to comment.