diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2016-09-20 12:02:03 -0400 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-09-20 12:05:30 -0400 |
commit | 16a1c577438c85b3692dfde6f07b501f585d5380 (patch) | |
tree | a17f9b8dbf2d60c9da58d1f73a1dc433bb7e0e10 /dev-libs/libmateweather/libmateweather-1.12.2.ebuild | |
parent | app-emulation/wine: Add support for udev for PnP, thanks to bobwya (diff) | |
download | gentoo-16a1c577438c85b3692dfde6f07b501f585d5380.tar.gz gentoo-16a1c577438c85b3692dfde6f07b501f585d5380.tar.bz2 gentoo-16a1c577438c85b3692dfde6f07b501f585d5380.zip |
dev-libs/libmateweather: Bump to 1.12.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/libmateweather/libmateweather-1.12.2.ebuild')
-rw-r--r-- | dev-libs/libmateweather/libmateweather-1.12.2.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/libmateweather/libmateweather-1.12.2.ebuild b/dev-libs/libmateweather/libmateweather-1.12.2.ebuild new file mode 100644 index 000000000000..80cf76e3de09 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.12.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MATE_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="MATE library to access weather information from online services" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug gtk3 python" + +REQUIRED_USE=" + gtk3? ( !python ) + 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 + virtual/libintl:0 + !gtk3? ( >=x11-libs/gtk+-2.24:2 ) + gtk3? ( >=x11-libs/gtk+-3.0:3 ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] + )" + +DEPEND="${RDEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + sys-devel/gettext:* + >=sys-devel/libtool-2.2.6:2 + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + use python && python_copy_sources +} + +src_configure() { + mate_py_cond_func_wrap mate_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_enable python) +} + +src_compile() { + mate_py_cond_func_wrap default +} + +src_install() { + mate_py_cond_func_wrap mate_src_install +} |