summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-03-21 16:00:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-03-22 08:26:33 +0100
commit063a1ad1ab938db2296ffa133e898188c3352348 (patch)
tree7ee298110e6f8621733283de0c04e3cbd709b139 /media-libs/gexiv2
parentmedia-gfx/nip2: Require fftw for tests (diff)
downloadgentoo-063a1ad1ab938db2296ffa133e898188c3352348.tar.gz
gentoo-063a1ad1ab938db2296ffa133e898188c3352348.tar.bz2
gentoo-063a1ad1ab938db2296ffa133e898188c3352348.zip
media-libs/gexiv2: Bump to version 0.10.5
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-libs/gexiv2')
-rw-r--r--media-libs/gexiv2/Manifest1
-rw-r--r--media-libs/gexiv2/gexiv2-0.10.5.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest
index 9e0f6fdb389d..5656be13d16d 100644
--- a/media-libs/gexiv2/Manifest
+++ b/media-libs/gexiv2/Manifest
@@ -1,2 +1,3 @@
DIST gexiv2-0.10.3.tar.xz 244816 SHA256 390cfb966197fa9f3f32200bc578d7c7f3560358c235e6419657206a362d3988 SHA512 a258a95e3e9dddc6636430d8a2bc222b6605e5d0d122ea1b951f97568cecd04b2d3cbc522625918faf3b5a3e670b01db81a45c2c5c5d65e6eb4b4f4a2ac69e8f WHIRLPOOL e50401f642a2252cad664716004038fdd364e9a42b93c7b9748e0f93b652cad31432f7f58571dd0ff67c8dcb1deca590eaaf42ad287d8d27110d0626a352154b
DIST gexiv2-0.10.4.tar.xz 267800 SHA256 ad8d31afdc0a1932cc44c4cfcea449497c0d0b445c0ad2f9735707b306e71ca4 SHA512 90f864f47ff6c1580579c3497580b398bb8d4ab9b56488017ae92d778a931bceddb8eb6fdc6dc7451d6205187c734b87e2bf395b86cddfb9022f6423b3390d8f WHIRLPOOL 3f78ddf56e2b9eb96e903051a4f36ac030181686767eb3dc89dd22296855d92c0a799fb174d7b82ec89e083afcb24cc3904ee0db9dbd66436a5f12b8242fb897
+DIST gexiv2-0.10.5.tar.xz 591752 SHA256 318fe068cd414c0af91759a87c29fd577cd5d42bf7a6f50caff27535c02ac7f3 SHA512 350e9db388d0aa1c106f3e5bf8862206977d650be0223229c61c6a3ee20642890fbfd7681a215b9c85c10d0787a00a25bc05a639e19a5f39be27cb6d1bb0fc06 WHIRLPOOL 8177d284941d72346e87b8b463cd84e86aafe84d63fc9f4b01e5c9c3e7bd01999c7eace5b4179918033a2cc72cd2d14b07104413f59fda86bbb3a5bdc1839e4b
diff --git a/media-libs/gexiv2/gexiv2-0.10.5.ebuild b/media-libs/gexiv2/gexiv2-0.10.5.ebuild
new file mode 100644
index 000000000000..73d79469fb5b
--- /dev/null
+++ b/media-libs/gexiv2/gexiv2-0.10.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit autotools eutils multilib python-r1 toolchain-funcs versionator xdg-utils
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="GObject-based wrapper around the Exiv2 library"
+HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
+SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="introspection python static-libs test"
+
+REQUIRED_USE="
+ python? ( introspection ${PYTHON_REQUIRED_USE} )
+ test? ( python )
+"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/glib-2.26.1:2
+ >=media-gfx/exiv2-0.21:0=
+ introspection? ( dev-libs/gobject-introspection:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ xdg_environment_reset
+ tc-export CXX
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable introspection) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIB="$(get_libdir)" install
+ dodoc AUTHORS NEWS README THANKS
+
+ if use python ; then
+ python_moduleinto gi/overrides/
+ python_foreach_impl python_domodule GExiv2.py
+ fi
+
+ use static-libs || prune_libtool_files --modules
+}