diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-07-02 20:14:14 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-07-02 20:14:14 +0000 |
commit | cbfb96f14144a59c8e4d2a40945a434c0074801c (patch) | |
tree | 4f090c4c973835bf2ad0dc72846aa3816df2bedb /media-video/griffith | |
parent | amd64 stable, bug #273554 (diff) | |
download | gentoo-2-cbfb96f14144a59c8e4d2a40945a434c0074801c.tar.gz gentoo-2-cbfb96f14144a59c8e4d2a40945a434c0074801c.tar.bz2 gentoo-2-cbfb96f14144a59c8e4d2a40945a434c0074801c.zip |
Bump to 0.10_beta3
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/griffith')
-rw-r--r-- | media-video/griffith/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/griffith/files/0.10-fix_lib_path.patch | 13 | ||||
-rw-r--r-- | media-video/griffith/griffith-0.10_beta3.ebuild | 68 |
3 files changed, 88 insertions, 1 deletions
diff --git a/media-video/griffith/ChangeLog b/media-video/griffith/ChangeLog index 578310e26606..87f56a34ff03 100644 --- a/media-video/griffith/ChangeLog +++ b/media-video/griffith/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/griffith # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.34 2009/07/02 19:57:27 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.35 2009/07/02 20:14:13 hwoarang Exp $ + +*griffith-0.10_beta3 (02 Jul 2009) + + 02 Jul 2009; Markos Chandras <hwoarang@gentoo.org> + +files/0.10-fix_lib_path.patch, +griffith-0.10_beta3.ebuild: + Bump to 0.10_beta3. 02 Jul 2009; Markos Chandras <hwoarang@gentoo.org> -griffith-0.9.5.ebuild, -griffith-0.9.6-r1.ebuild, -griffith-0.9.7.1.ebuild: diff --git a/media-video/griffith/files/0.10-fix_lib_path.patch b/media-video/griffith/files/0.10-fix_lib_path.patch new file mode 100644 index 000000000000..952448f0f013 --- /dev/null +++ b/media-video/griffith/files/0.10-fix_lib_path.patch @@ -0,0 +1,13 @@ +Index: lib/initialize.py +=================================================================== +--- lib.orig/initialize.py ++++ lib/initialize.py +@@ -73,7 +73,7 @@ def locations(self, home_dir): + os.environ['LANG'] = lang + + elif os.name == 'posix': +- locations['share'] = os.path.abspath(os.path.join(locations['lib'], '..')) ++ locations['share'] = os.path.abspath(os.path.join(locations['lib'], '../../share/griffith/')) + locations['glade'] = os.path.join(locations['share'], 'glade') + locations['i18n'] = os.path.abspath(os.path.join(locations['share'], '..', 'locale')) + if not os.path.isdir(locations['i18n']): diff --git a/media-video/griffith/griffith-0.10_beta3.ebuild b/media-video/griffith/griffith-0.10_beta3.ebuild new file mode 100644 index 000000000000..ee537505c0f1 --- /dev/null +++ b/media-video/griffith/griffith-0.10_beta3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/griffith-0.10_beta3.ebuild,v 1.1 2009/07/02 20:14:13 hwoarang Exp $ + +EAPI="2" + +inherit eutils versionator python multilib + +ARTWORK_PV="0.9.4" + +DESCRIPTION="Movie collection manager" +HOMEPAGE="http://griffith.berlios.de/" +SRC_URI="mirror://berlios/griffith/${P/_/-}.tar.gz + mirror://berlios/griffith/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="csv doc spell" + +RDEPEND="dev-python/imaging + dev-util/glade:3 + dev-python/pyxml + >=dev-python/pygtk-2.6.1 + dev-python/pysqlite:2 + >=dev-python/sqlalchemy-0.5.2 + >=dev-python/reportlab-1.19 + csv? ( dev-python/chardet ) + spell? ( >=dev-python/gnome-python-extras-2.0 )" +DEPEND="${RDEPEND} + doc? ( app-text/docbook2X )" + +S="${WORKDIR}"/"${P/_/-}" +src_prepare() { + sed -i \ + -e 's#/pl/#/pl.UTF-8/#' \ + "${S}"/docs/pl/Makefile || die "sed failed" + + sed -i \ + -e 's/ISO-8859-1/UTF-8/' \ + "${S}"/lib/gconsole.py || die "sed failed" + epatch "${FILESDIR}/$(get_version_component_range 1-2)-fix_lib_path.patch" +} + +src_compile() { + # Nothing to compile and default `emake` spews an error message + true +} + +src_install() { + use doc || sed -i -e '/docs/d' Makefile + + python_version + emake \ + LIBDIR="${D}/usr/$(get_libdir)/griffith" \ + DESTDIR="${D}" DOC2MAN=docbook2man.pl install || die "emake install failed" + dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS + + cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/" + emake DESTDIR="${D}" install || die "emake install artwork failed" +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} |