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.
53 lines
1.2 KiB
53 lines
1.2 KiB
13 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/media-gfx/mcomix/mcomix-0.99.ebuild,v 1.1 2012/07/21 05:24:19 dirtyepic Exp $
|
||
13 years ago
|
|
||
|
EAPI="3"
|
||
|
|
||
|
SUPPORT_PYTHON_ABIS=1
|
||
13 years ago
|
PYTHON_USE_WITH="sqlite"
|
||
13 years ago
|
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||
13 years ago
|
|
||
|
inherit distutils fdo-mime python
|
||
|
|
||
|
DESCRIPTION="A fork of comix, a GTK image viewer for comic book archives."
|
||
|
HOMEPAGE="http://mcomix.sourceforge.net"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
13 years ago
|
|
||
|
DEPEND="dev-python/setuptools"
|
||
|
RDEPEND="${DEPEND}
|
||
13 years ago
|
app-arch/unrar
|
||
13 years ago
|
>=dev-python/imaging-1.1.5
|
||
|
>=dev-python/pygtk-2.14
|
||
13 years ago
|
virtual/jpeg
|
||
13 years ago
|
!media-gfx/comix"
|
||
|
|
||
|
src_install() {
|
||
|
distutils_src_install
|
||
|
insinto /etc/gconf/schemas/
|
||
|
doins "${S}"/mime/comicbook.schemas || die
|
||
|
dobin "${S}"/mime/comicthumb || die
|
||
|
dodoc ChangeLog README || die
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
distutils_pkg_postinst
|
||
|
fdo-mime_mime_database_update
|
||
|
fdo-mime_desktop_database_update
|
||
|
echo
|
||
|
elog "You can optionally add support for 7z or LHA archives by installing"
|
||
|
elog "app-arch/p7zip or app-arch/lha."
|
||
|
echo
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
distutils_pkg_postrm
|
||
|
fdo-mime_mime_database_update
|
||
|
fdo-mime_desktop_database_update
|
||
|
}
|