/[gentoo-x86]/media-libs/gexiv2/gexiv2-0.6.1.ebuild
Gentoo

Contents of /media-libs/gexiv2/gexiv2-0.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed Apr 8 17:59:35 2015 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/gexiv2/gexiv2-0.6.1.ebuild,v 1.10 2014/11/29 13:34:33 pacho Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
8
9 inherit eutils multilib python-r1 toolchain-funcs versionator
10
11 MY_PV=$(get_version_component_range 1-2)
12
13 DESCRIPTION="GObject-based wrapper around the Exiv2 library"
14 HOMEPAGE="http://trac.yorba.org/wiki/gexiv2/"
15 SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/lib${PN}_${PV}.tar.xz"
16
17 LICENSE="LGPL-2.1"
18 SLOT="0"
19 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
20 IUSE="introspection static-libs"
21
22 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
23
24 RDEPEND="${PYTHON_DEPS}
25 dev-libs/glib:2
26 >=media-gfx/exiv2-0.21"
27 DEPEND="${RDEPEND}
28 virtual/pkgconfig"
29
30 S=${WORKDIR}/lib${P}
31
32 src_prepare() {
33 tc-export CXX
34 sed -e 's:CFLAGS:CXXFLAGS:g' -i Makefile || die
35 }
36
37 src_configure() {
38 ./configure \
39 --prefix=/usr \
40 $(use_enable introspection) \
41 || die
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" LIB="$(get_libdir)" install
46 dodoc AUTHORS NEWS README THANKS
47
48 python_moduleinto gi/overrides/
49 python_foreach_impl python_domodule GExiv2.py
50
51 use static-libs || find "${D}" \( -name '*.a' -or -name '*.la' \) -delete
52 }

  ViewVC Help
Powered by ViewVC 1.1.20