diff options
-rw-r--r-- | gnome-extra/avant-window-navigator/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/avant-window-navigator/avant-window-navigator-0.4.0_rc1.ebuild | 91 |
2 files changed, 93 insertions, 0 deletions
diff --git a/gnome-extra/avant-window-navigator/Manifest b/gnome-extra/avant-window-navigator/Manifest new file mode 100644 index 0000000..d589553 --- /dev/null +++ b/gnome-extra/avant-window-navigator/Manifest @@ -0,0 +1,2 @@ +DIST avant-window-navigator-0.4.0~rc1.tar.gz 1293228 RMD160 d8078734b95f369a05a26e662e6891455aacfbb3 SHA1 e078f531f8d6e2c50556677b745ce88e9dde2db1 SHA256 a4ef5356434510f8f2efb5342ccd4d30a962063005d0ef7de9cf5003dc394835 +EBUILD avant-window-navigator-0.4.0_rc1.ebuild 1824 RMD160 4809d201f4e514e9dc5211c46e13869d3a23ac28 SHA1 6c1b5253454859ff172101828289972b5f4a2e9a SHA256 ca12121ffa87d9c7db1b61f6b3e05b01a5e54a5e223c4e351e353346720e87ba diff --git a/gnome-extra/avant-window-navigator/avant-window-navigator-0.4.0_rc1.ebuild b/gnome-extra/avant-window-navigator/avant-window-navigator-0.4.0_rc1.ebuild new file mode 100644 index 0000000..d9851bd --- /dev/null +++ b/gnome-extra/avant-window-navigator/avant-window-navigator-0.4.0_rc1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit gnome2 python + +PVS="0.4" + +DESCRIPTION="Fully customisable dock-like window navigator." +HOMEPAGE="https://launchpad.net/awn" +SRC_URI="http://launchpad.net/awn/${PVS}/${PV/_rc1}/+download/${P/_/~}.tar.gz" +LICENSE="GPL-2 LGPL-2.1" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc nls vala" + +RDEPEND=" + || ( + >=dev-lang/python-2.5 + dev-python/elementtree + ) + dev-libs/dbus-glib + >=dev-libs/glib-2.16.0 + dev-python/pycairo + >=dev-python/pygtk-2 + dev-python/pyxdg + >=gnome-base/gconf-2 + >=gnome-base/libglade-2 + >=x11-libs/gtk+-2 + >=x11-libs/libwnck-2.20 + vala? ( dev-lang/vala ) + x11-libs/desktop-agnostic" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.5 + dev-util/pkgconfig + doc? ( >=dev-util/gtk-doc-1.4 )" + +S="${WORKDIR}/${P/_/~}" + +pkg_setup() { + G2CONF="${G2CONF} + --disable-pymod-checks + --disable-shave + --disable-static + --with-gconf-schema-file-dir=/etc/gconf/schemas + --with-html-dir=/usr/share/doc/${PF}/html + $(use_enable nls) + $(use_enable doc gtk-doc) + $(use_with vala)" +} + +#DOCS="AUTHORS ChangeLog NEWS README TODO" +# +#src_unpack() { +# gnome2_src_unpack +# +# # Disable pyc compiling. +# mv py-compile py-compile.orig +# ln -s $(type -P true) py-compile +#} + +#src_compile() { +# local myconf +# +# if use gnome; then myconf="--with-desktop=gnome" +# elif use xfce; then myconf="--with-desktop=xfce4" +# else myconf="--with-desktop=agnostic" +# fi +# +# econf $(use_enable doc gtk-doc) \ +# $(use_with vala) \ +# --with-gconf \ +# --disable-static \ +# --disable-pymod-checks \ +# ${myconf} +# +# emake || die "emake failed" +#} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize $(python_get_sitedir)/awn +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup awn +} |