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.
gentoo-overlay/media-gfx/mirage/mirage-0.9.5.1.ebuild

45 lines
938 B

# Copyright 1999-2011 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"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""
RDEPEND="x11-libs/libX11
>=dev-python/pygtk-2.12"
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
}