diff options
Diffstat (limited to 'gnome-extra/cameramonitor/cameramonitor-0.3.2.ebuild')
-rw-r--r-- | gnome-extra/cameramonitor/cameramonitor-0.3.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gnome-extra/cameramonitor/cameramonitor-0.3.2.ebuild b/gnome-extra/cameramonitor/cameramonitor-0.3.2.ebuild new file mode 100644 index 000000000000..842ab77edfbf --- /dev/null +++ b/gnome-extra/cameramonitor/cameramonitor-0.3.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +PYTHON_DEPEND="2" +RESTRICT_PYTHON_ABIS="3.*" + +inherit gnome2 python autotools + +DESCRIPTION="Local Webcam monitoring in system tray" +HOMEPAGE="https://launchpad.net/cameramonitor" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/gconf-python:2 + dev-python/notify-python + dev-python/pyinotify + dev-python/dbus-python" + +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_clean_py-compile_files + + eautoreconf + + gnome2_src_prepare +} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize cameramonitor +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup cameramonitor +} |