Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312113
Collapse All | Expand All

(-)nfoview-9999.ebuild (-2 / +24 lines)
Lines 2-15 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.6 2009/12/29 16:51:28 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.6 2009/12/29 16:51:28 vapier Exp $
4
4
5
inherit distutils
5
EAPI=3
6
7
PYTHON_DEPEND="2"
8
SUPPORT_PYTHON_ABIS="1"
9
RESTRICT_PYTHON_ABIS="3.*"
10
11
inherit distutils fdo-mime gnome2-utils
6
if [[ ${PV} == "9999" ]] ; then
12
if [[ ${PV} == "9999" ]] ; then
7
	EGIT_REPO_URI="git://gitorious.org/nfoview/mainline.git"
13
	EGIT_REPO_URI="git://gitorious.org/nfoview/mainline.git"
8
	inherit git
14
	inherit git
9
	SRC_URI=""
15
	SRC_URI=""
10
	#KEYWORDS=""
16
	#KEYWORDS=""
11
else
17
else
12
	SRC_URI="http://download.gna.org/nfoview/${PV}/${P}.tar.bz2"
18
	SRC_URI="http://download.gna.org/nfoview/1.9/${P}.tar.gz"
13
	KEYWORDS="~amd64 ~x86"
19
	KEYWORDS="~amd64 ~x86"
14
fi
20
fi
15
21
Lines 23-25 Link Here
23
DEPEND="dev-python/pygtk"
29
DEPEND="dev-python/pygtk"
24
RDEPEND="${DEPEND}
30
RDEPEND="${DEPEND}
25
	media-fonts/terminus-font"
31
	media-fonts/terminus-font"
32
33
pkg_preinst() {
34
	gnome2_icon_savelist
35
}
36
37
pkg_postinst() {
38
	fdo-mime_desktop_database_update
39
	gnome2_icon_cache_update
40
	distutils_pkg_postinst
41
}
42
43
pkg_postrm() {
44
	fdo-mime_desktop_database_update
45
	gnome2_icon_cache_update
46
	distutils_pkg_postrm
47
}

Return to bug 312113