diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2014-02-28 23:09:59 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2014-02-28 23:09:59 +0000 |
commit | 6809b39e34953ba7c851aee3a6b6ee2cc8eb68a7 (patch) | |
tree | f5f31f334a813f4ca11fbd486b44c3a6999a005f /dev-libs/libmateweather | |
parent | Not RDEPEND on coolkey and pam_pkcs11 as discussed on IRC and bugs #502204 #5... (diff) | |
download | gentoo-2-6809b39e34953ba7c851aee3a6b6ee2cc8eb68a7.tar.gz gentoo-2-6809b39e34953ba7c851aee3a6b6ee2cc8eb68a7.tar.bz2 gentoo-2-6809b39e34953ba7c851aee3a6b6ee2cc8eb68a7.zip |
New ebuild for dev-libs/libmateweather, MATE library to access weather information from online services; imported from the mate-overlay, reviewed and adjusted.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-libs/libmateweather')
5 files changed, 122 insertions, 0 deletions
diff --git a/dev-libs/libmateweather/ChangeLog b/dev-libs/libmateweather/ChangeLog new file mode 100644 index 000000000000..63adc244c04b --- /dev/null +++ b/dev-libs/libmateweather/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-libs/libmateweather +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmateweather/ChangeLog,v 1.1 2014/02/28 23:09:59 tomwij Exp $ + +*libmateweather-1.6.2 (28 Feb 2014) + + 28 Feb 2014; Tom Wijsman <TomWij@gentoo.org> + +files/libmateweather-1.5.0-fix-automagic-python-support.patch, + +files/libmateweather-1.6.1-fix-mkdirp.patch, +libmateweather-1.6.2.ebuild, + +metadata.xml: + New ebuild for dev-libs/libmateweather, MATE library to access weather + information from online services; imported from the mate-overlay, reviewed and + adjusted. diff --git a/dev-libs/libmateweather/files/libmateweather-1.5.0-fix-automagic-python-support.patch b/dev-libs/libmateweather/files/libmateweather-1.5.0-fix-automagic-python-support.patch new file mode 100644 index 000000000000..de5f44a2c0fd --- /dev/null +++ b/dev-libs/libmateweather/files/libmateweather-1.5.0-fix-automagic-python-support.patch @@ -0,0 +1,12 @@ +diff -burN libmateweather-1.5.1.orig/configure.ac libmateweather-1.5.1/configure.ac +--- libmateweather-1.5.1.orig/configure.ac 2013-02-04 15:53:55.420890494 +0100 ++++ libmateweather-1.5.1/configure.ac 2013-02-04 15:55:19.618967277 +0100 +@@ -215,7 +215,7 @@ + AC_ARG_ENABLE(python, + [AC_HELP_STRING([--enable-python], + [Build libmateweather python bindings])], +- [enable_python=yes], ++ [enable_python=$enableval], + [enable_python=no]) + if test "$enable_python" = "yes"; then + AM_PATH_PYTHON() diff --git a/dev-libs/libmateweather/files/libmateweather-1.6.1-fix-mkdirp.patch b/dev-libs/libmateweather/files/libmateweather-1.6.1-fix-mkdirp.patch new file mode 100644 index 000000000000..a76d6c76a192 --- /dev/null +++ b/dev-libs/libmateweather/files/libmateweather-1.6.1-fix-mkdirp.patch @@ -0,0 +1,11 @@ +diff -burN a/python/Makefile.am b/python/Makefile.am +--- a/python/Makefile.am 2012-06-22 01:08:01.978411103 +0200 ++++ b/python/Makefile.am 2012-06-22 01:11:02.007416691 +0200 +@@ -1,4 +1,7 @@ + if BUILD_PYTHON ++ ++MKDIR_P=@mkdir_p@ ++ + AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(PYTHON_INCLUDES) \ diff --git a/dev-libs/libmateweather/libmateweather-1.6.2.ebuild b/dev-libs/libmateweather/libmateweather-1.6.2.ebuild new file mode 100644 index 000000000000..7a18c95c7f0d --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.6.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmateweather/libmateweather-1.6.2.ebuild,v 1.1 2014/02/28 23:09:59 tomwij Exp $ + +EAPI="5" + +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_{6,7} ) + +inherit autotools gnome2 python-r1 versionator + +MATE_BRANCH="$(get_version_component_range 1-2)" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="MATE library to access weather information from online services" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/glib-2.13:2[${PYTHON_USEDEP}] + >=dev-libs/libxml2-2.6.0:2 + >=net-libs/libsoup-2.42.1:2.4 + >=net-libs/libsoup-gnome-2.25.1:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-2.11:2 + sys-libs/glibc:2.2 + virtual/libintl:0 + + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] + )" + +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-1.9:0 + >=dev-util/intltool-0.40.3:0 + >=mate-base/mate-common-1.6:0 + sys-devel/gettext:0 + virtual/pkgconfig:0" + +src_prepare() { + # Fix python automagic dependency in configure.in. + epatch "${FILESDIR}"/${PN}-1.5.0-fix-automagic-python-support.patch + + # Fix undefined use of MKDIR_P in python/Makefile.am. + epatch "${FILESDIR}"/${PN}-1.6.1-fix-mkdirp.patch + + eautoreconf + + python_copy_sources + python_foreach_impl run_in_build_dir gnome2_src_prepare +} + +src_configure() { + python_foreach_impl run_in_build_dir gnome2_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + $(use_enable python) +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +DOCS="AUTHORS ChangeLog MAINTAINERS NEWS" + +src_install() { + python_foreach_impl run_in_build_dir gnome2_src_install +} diff --git a/dev-libs/libmateweather/metadata.xml b/dev-libs/libmateweather/metadata.xml new file mode 100644 index 000000000000..dca1781cb290 --- /dev/null +++ b/dev-libs/libmateweather/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> +</pkgmetadata> |