diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2016-02-08 19:23:54 -0500 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-02-08 21:44:56 -0500 |
commit | 4bfe4211e2398cb0853c6156d43dfd7aa8ebf8d4 (patch) | |
tree | 3d9ffd3bdaf58c826435a5481591724c25b3d7b9 /dev-libs/libmateweather | |
parent | media-libs/libmatemixer: Import 1.10.x from Project:MATE repo (diff) | |
download | gentoo-4bfe4211e2398cb0853c6156d43dfd7aa8ebf8d4.tar.gz gentoo-4bfe4211e2398cb0853c6156d43dfd7aa8ebf8d4.tar.bz2 gentoo-4bfe4211e2398cb0853c6156d43dfd7aa8ebf8d4.zip |
dev-libs/libmateweather: Import 1.10.x from Project:MATE repo
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/libmateweather')
-rw-r--r-- | dev-libs/libmateweather/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libmateweather/libmateweather-1.10.0.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-libs/libmateweather/Manifest b/dev-libs/libmateweather/Manifest index 211f8c33b397..b6a7b0d3869e 100644 --- a/dev-libs/libmateweather/Manifest +++ b/dev-libs/libmateweather/Manifest @@ -1 +1,2 @@ +DIST libmateweather-1.10.0.tar.xz 3463128 SHA256 4fc80145942781281efe99e17daef3d0947ae319771b2ab0a9b2a4559779484c SHA512 80eed6693e13d4dccb4e44ebab84955f7cbbd4f536cda1186db694149bf013429f41f38d2cb03a0dae517d6438e5cff1c18ae95598f700a1a9184ac47f85fcf5 WHIRLPOOL 9fab8e47d4f86ca13524cf9c6007e360f64725bfc98a872722b85270f5e87ce50ab3ce0a616cb46da2b1b285770c9d8afef3f1e270bc143b350050870f5a5a29 DIST libmateweather-1.8.0.tar.xz 3530972 SHA256 801ec5512e9099c39ce819a82e2dde62477a3783894a5e7fbfff3493d04607ba SHA512 5942af847b6940f94e2ac48bdeb0d3ae96d1e61e1c3ce28d8a3cfa6e2b5b287e5d9f5a1a63481cbdaaf0595243a87c7a35886dc7fdab09f17527388149dd3422 WHIRLPOOL 8181d254bd836e96adaf6b5b7c8d58f9c0652175ccea78a66db12769840db2401d0b5e1a365660cbfa1463bdd4a312ebcd58738bac631b17c4b6ae39472e168b diff --git a/dev-libs/libmateweather/libmateweather-1.10.0.ebuild b/dev-libs/libmateweather/libmateweather-1.10.0.ebuild new file mode 100644 index 000000000000..b9a44b8fd2a4 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.10.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_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 ~x86" + +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/glib-2.36:2[${PYTHON_USEDEP}] + >=dev-libs/libxml2-2.6:2 + >=net-libs/libsoup-2.34:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-2.24: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/intltool-0.40.3:* + >=mate-base/mate-common-1.10:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +my_command() { + if use python ; then + python_foreach_impl run_in_build_dir $@ + else + $@ + fi +} + +src_prepare() { + # Fix undefined use of MKDIR_P in python/Makefile.am. + epatch "${FILESDIR}"/${PN}-1.6.1-fix-mkdirp.patch + eautoreconf + + use python && python_copy_sources + my_command gnome2_src_prepare +} + +src_configure() { + my_command gnome2_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + $(use_enable python) +} + +src_compile() { + my_command gnome2_src_compile +} + +DOCS="AUTHORS ChangeLog NEWS" + +src_install() { + my_command gnome2_src_install +} |