diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-03-28 16:21:06 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-03-28 16:21:06 +0000 |
commit | 521c706bb8f78be7c3e644a2dffe18fd09d63ff2 (patch) | |
tree | ae5cfb1c228c39b55e8f560347565534c65aba0b /app-accessibility | |
parent | Fix mask entry (diff) | |
download | gentoo-2-521c706bb8f78be7c3e644a2dffe18fd09d63ff2.tar.gz gentoo-2-521c706bb8f78be7c3e644a2dffe18fd09d63ff2.tar.bz2 gentoo-2-521c706bb8f78be7c3e644a2dffe18fd09d63ff2.zip |
Version bump for Gnome 3.8
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/caribou/ChangeLog | 7 | ||||
-rw-r--r-- | app-accessibility/caribou/caribou-0.4.8.ebuild | 94 |
2 files changed, 100 insertions, 1 deletions
diff --git a/app-accessibility/caribou/ChangeLog b/app-accessibility/caribou/ChangeLog index 9a9401b3e01f..6898c9fff772 100644 --- a/app-accessibility/caribou/ChangeLog +++ b/app-accessibility/caribou/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-accessibility/caribou # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/ChangeLog,v 1.21 2013/03/05 22:29:24 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/ChangeLog,v 1.22 2013/03/28 16:21:06 pacho Exp $ + +*caribou-0.4.8 (28 Mar 2013) + + 28 Mar 2013; Pacho Ramos <pacho@gentoo.org> +caribou-0.4.8.ebuild: + Version bump for Gnome 3.8 05 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> -caribou-0.4.6.ebuild: Clean up old revisions. diff --git a/app-accessibility/caribou/caribou-0.4.8.ebuild b/app-accessibility/caribou/caribou-0.4.8.ebuild new file mode 100644 index 000000000000..4f5a9d172dee --- /dev/null +++ b/app-accessibility/caribou/caribou-0.4.8.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.8.ebuild,v 1.1 2013/03/28 16:21:06 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_{6,7} ) +PYTHON_REQ_USE="xml" + +inherit gnome2 python-r1 + +DESCRIPTION="Input assistive technology intended for switch and pointer users" +HOMEPAGE="https://live.gnome.org/Caribou" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +COMMON_DEPEND=" + >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] + >=x11-libs/gtk+-3:3[introspection] + x11-libs/gtk+:2 + >=dev-libs/gobject-introspection-0.10.7 + dev-libs/libgee:0.8 + dev-libs/libxml2 + >=media-libs/clutter-1.5.11:1.0[introspection] + x11-libs/libX11 + x11-libs/libxklavier + x11-libs/libXtst +" +# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key +# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed +# librsvg needed to load svg images in css styles +RDEPEND="${COMMON_DEPEND} + >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}] + >=gnome-base/gsettings-desktop-schemas-3 + gnome-base/librsvg:2 + sys-apps/dbus + virtual/python-argparse[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + dev-libs/libxslt + >=dev-util/intltool-0.35.5 + virtual/pkgconfig" + +src_prepare() { + # delete custom PYTHONPATH, useless on Gentoo and potential bug source + # + caribou is python2 only so fix the shell scripts + sed -e '/export PYTHONPATH=.*python/ d' \ + -e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \ + -i bin/{antler-keyboard,caribou-preferences}.in || + die "sed failed" + + gnome2_src_prepare + + prepare_caribou() { + mkdir -p "${BUILD_DIR}" || die + } + python_foreach_impl prepare_caribou +} + +src_configure() { + ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \ + gnome2_src_configure \ + --disable-docs \ + --disable-static \ + --enable-gtk3-module \ + --enable-gtk2-module \ + VALAC=$(type -P true) + # PYTHON=${EPREFIX}/usr/bin/python2 + # PYTHON is substituted into several installed shell scripts + # vala is not needed for tarball builds, but configure checks for it... +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +src_test() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + python_foreach_impl run_in_build_dir gnome2_src_install + dodoc AUTHORS ChangeLog NEWS README +} + +run_in_build_dir() { + pushd "${BUILD_DIR}" > /dev/null || die + "$@" + popd > /dev/null +} |