blob: 6671186aab9d56feacc6e6c632d0b354bb61447e (
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
36
37
38
39
40
41
42
43
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=3
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
inherit distutils eutils
DESCRIPTION="A fast and simple image viewer based on python and GTK+"
HOMEPAGE="http://mirageiv.berlios.de/"
SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="x11-libs/libX11
>=dev-python/pygtk-2.12:2"
DEPEND="${RDEPEND}
sys-devel/gettext
!media-plugins/banshee-mirage"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.9.3-stop_cleaning_up.patch
distutils_src_prepare
}
src_install() {
local DOCS="CHANGELOG README TODO TRANSLATORS"
distutils_src_install
rm -f "${D}"/usr/share/mirage/COPYING
local x
for x in ${DOCS}; do
rm -f "${D}"/usr/share/mirage/${x}
done
}
|