You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1013 B
49 lines
1013 B
12 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ninja-ide-2.1.1-r2.ebuild,v 1.1 2013/01/06 00:19:34 hasufell Exp $
|
||
|
|
||
|
# XXX: tests
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
PYTHON_COMPAT=( python2_6 python2_7 )
|
||
|
|
||
|
inherit gnome2-utils distutils-r1 vcs-snapshot
|
||
|
|
||
|
DESCRIPTION="Ninja-IDE Is Not Just Another IDE"
|
||
|
HOMEPAGE="http://www.ninja-ide.org"
|
||
|
SRC_URI="https://github.com/ninja-ide/ninja-ide/tarball/v${PV} -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-python/PyQt4[webkit]
|
||
|
dev-python/argparse
|
||
|
dev-python/simplejson
|
||
|
dev-python/pyinotify
|
||
|
virtual/python-argparse"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
PATCHES=( "${FILESDIR}"/${P}-lang.patch )
|
||
|
|
||
|
python_install_all() {
|
||
|
distutils-r1_python_install_all
|
||
|
newicon -s 256 icon.png ${PN}.png
|
||
|
make_desktop_entry ${PN} "NINJA-IDE"
|
||
|
}
|
||
|
|
||
|
pkg_preinst() {
|
||
|
gnome2_icon_savelist
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|