summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2010-02-11 00:52:38 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2010-02-11 00:52:38 +0000
commit6388b3158f64029fa7e54c74dcc2bc6eb1f1afaa (patch)
tree55b25f19d28403977a723e6f92189e47a61af893 /media-gfx/comix
parentstable sparc, security bug 300943 (diff)
downloadgentoo-2-6388b3158f64029fa7e54c74dcc2bc6eb1f1afaa.tar.gz
gentoo-2-6388b3158f64029fa7e54c74dcc2bc6eb1f1afaa.tar.bz2
gentoo-2-6388b3158f64029fa7e54c74dcc2bc6eb1f1afaa.zip
4.0.4 version bump.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-gfx/comix')
-rw-r--r--media-gfx/comix/ChangeLog9
-rw-r--r--media-gfx/comix/comix-4.0.4.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/media-gfx/comix/ChangeLog b/media-gfx/comix/ChangeLog
index db0589ad33c3..1593659b5e0f 100644
--- a/media-gfx/comix/ChangeLog
+++ b/media-gfx/comix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/comix
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.56 2009/05/21 09:07:01 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.57 2010/02/11 00:52:38 vanquirius Exp $
+
+*comix-4.0.4 (10 Feb 2010)
+
+ 10 Feb 2010; Marcelo Goes <vanquirius@gentoo.org> +comix-4.0.4.ebuild:
+ 4.0.4 version bump.
21 May 2009; Markus Meier <maekke@gentoo.org> -comix-4.0.1-r1.ebuild:
old
diff --git a/media-gfx/comix/comix-4.0.4.ebuild b/media-gfx/comix/comix-4.0.4.ebuild
new file mode 100644
index 000000000000..5619f6c6a79e
--- /dev/null
+++ b/media-gfx/comix/comix-4.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/comix-4.0.4.ebuild,v 1.1 2010/02/11 00:52:38 vanquirius Exp $
+
+inherit python
+
+DESCRIPTION="A GTK image viewer specifically designed to handle comic books."
+HOMEPAGE="http://comix.sourceforge.net"
+SRC_URI="mirror://sourceforge/comix/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+RDEPEND=">=dev-python/imaging-1.1.5
+ >=dev-python/pygtk-2.12
+ rar? ( || ( app-arch/unrar app-arch/rar ) )"
+LANGS=" ca cs es fr hr hu id ja ko pl pt_BR ru sv zh_CN zh_TW"
+IUSE="rar $(echo ${LANGS//\ /\ linguas_})"
+
+src_unpack() {
+ unpack ${A}
+ # do not install .pyc into /usr/share
+ local pythondir="$(python_get_sitedir)/comix"
+ pythondir="${pythondir/\/usr\/}"
+ sed -i -e "s:share/comix/src:${pythondir}:g" "${S}"/install.py || die
+}
+
+src_compile() {
+ einfo "Nothing to be compiled."
+}
+
+src_install() {
+ dodir /usr
+ python install.py install --no-mime --dir "${D}"usr || die
+ insinto /usr/share/mime/packages/
+ doins "${S}"/mime/comix.xml || die
+ insinto /etc/gconf/schemas/
+ doins "${S}"/mime/comicbook.schemas || die
+ dobin "${S}"/mime/comicthumb || die
+ dodoc ChangeLog README || die
+
+ for lang in ${LANGS} ; do
+ use linguas_${lang} || rm -r "${D}"/usr/share/locale/${lang}
+ done
+}