summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-03-07 23:54:26 +0000
committerMarkus Meier <maekke@gentoo.org>2009-03-07 23:54:26 +0000
commitdc7b467b63df51e23dd2d86e47dee41ae9da720a (patch)
tree34c4c7d4bf13d0c15960b39afd25cf495326b291 /media-gfx
parentfix for bug #242332 gpgme-config script fails with et_EE locale. thanks step ... (diff)
downloadgentoo-2-dc7b467b63df51e23dd2d86e47dee41ae9da720a.tar.gz
gentoo-2-dc7b467b63df51e23dd2d86e47dee41ae9da720a.tar.bz2
gentoo-2-dc7b467b63df51e23dd2d86e47dee41ae9da720a.zip
version bump, bug #261335
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/comix/ChangeLog7
-rw-r--r--media-gfx/comix/comix-4.0.3.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/media-gfx/comix/ChangeLog b/media-gfx/comix/ChangeLog
index fc08de0fe3fa..13e55f7deb92 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.50 2009/02/04 21:51:42 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.51 2009/03/07 23:54:26 maekke Exp $
+
+*comix-4.0.3 (07 Mar 2009)
+
+ 07 Mar 2009; Markus Meier <maekke@gentoo.org> +comix-4.0.3.ebuild:
+ version bump, bug #261335
04 Feb 2009; Markus Meier <maekke@gentoo.org> comix-4.0.1-r1.ebuild:
amd64/x86 stable, bug #256169
diff --git a/media-gfx/comix/comix-4.0.3.ebuild b/media-gfx/comix/comix-4.0.3.ebuild
new file mode 100644
index 000000000000..c6eee4e4fd4c
--- /dev/null
+++ b/media-gfx/comix/comix-4.0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/comix-4.0.3.ebuild,v 1.1 2009/03/07 23:54:26 maekke 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
+}