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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Aug 6 07:18:46 2015 UTC (4 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Stable for x86, wrt bug #553474

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

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.10.2.ebuild,v 1.6 2015/08/03 11:00:02 ago 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="https://wiki.gnome.org/Projects/gexiv2"
15 SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
16
17 LICENSE="LGPL-2.1"
18 SLOT="0"
19 KEYWORDS="alpha amd64 arm ~ia64 ppc ~ppc64 sparc x86"
20 IUSE="introspection python static-libs"
21
22 REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
23
24 RDEPEND="${PYTHON_DEPS}
25 >=dev-libs/glib-2.26.1:2
26 >=media-gfx/exiv2-0.21:0=
27 introspection? ( dev-libs/gobject-introspection )"
28 DEPEND="${RDEPEND}
29 virtual/pkgconfig"
30
31 src_prepare() {
32 tc-export CXX
33 }
34
35 src_configure() {
36 econf \
37 $(use_enable introspection) \
38 $(use_enable static-libs static)
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" LIB="$(get_libdir)" install
43 dodoc AUTHORS NEWS README THANKS
44
45 if use python ; then
46 python_moduleinto gi/overrides/
47 python_foreach_impl python_domodule GExiv2.py
48 fi
49
50 use static-libs || prune_libtool_files --modules
51 }

  ViewVC Help
Powered by ViewVC 1.1.20