summaryrefslogtreecommitdiff
blob: e4e9d487f5c3f5365a0e687208d8728e87519628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/mirage-0.9.3.ebuild,v 1.7 2009/08/17 15:14:01 ssuominen Exp $

inherit distutils eutils

DESCRIPTION="Fast and simple GTK+ image viewer"
HOMEPAGE="http://mirageiv.berlios.de/"
SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""

RDEPEND=">=dev-python/pygtk-2.6"
DEPEND="${RDEPEND}
	!media-plugins/banshee-mirage"

src_unpack() {
	distutils_src_unpack
	epatch "${FILESDIR}"/${P}-stop_cleaning_up.patch
}

src_install() {
	local DOCS="CHANGELOG README TODO TRANSLATORS"
	distutils_src_install

	rm -f "${D}/usr/share/mirage/COPYING"

	# Do not install duplicate docs.
	for DOC in ${DOCS}; do
		rm -f "${D}/usr/share/mirage/${DOC}"
	done
}