diff options
author | 2009-10-05 12:39:56 +0300 | |
---|---|---|
committer | 2009-10-05 12:39:56 +0300 | |
commit | c4b3625a528cb24f15645cc0f060ddac4190027b (patch) | |
tree | 626626b25b65c657e774eba2a93ed2a82779af86 | |
parent | On tree (diff) | |
download | hwoarang-c4b3625a528cb24f15645cc0f060ddac4190027b.tar.gz hwoarang-c4b3625a528cb24f15645cc0f060ddac4190027b.tar.bz2 hwoarang-c4b3625a528cb24f15645cc0f060ddac4190027b.zip |
Added griffith-0.10 for testing
-rw-r--r-- | media-video/griffith/Manifest | 2 | ||||
-rw-r--r-- | media-video/griffith/griffith-0.10.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-video/griffith/Manifest b/media-video/griffith/Manifest index 8e62a0e..045bb24 100644 --- a/media-video/griffith/Manifest +++ b/media-video/griffith/Manifest @@ -1,5 +1,7 @@ AUX 0.10-fix_lib_path.patch 667 RMD160 3fefe17aa5edaed7c1531f59be717f661e8b5bad SHA1 bbe76a6bf701260d5ee8adaf2d0888891b93f944 SHA256 f9c5a58ac4552ddfe254cdb9e02ef3e91a5feb500c7afe92f9faed9cc02687f2 AUX fix_lib_path.patch 667 RMD160 3fefe17aa5edaed7c1531f59be717f661e8b5bad SHA1 bbe76a6bf701260d5ee8adaf2d0888891b93f944 SHA256 f9c5a58ac4552ddfe254cdb9e02ef3e91a5feb500c7afe92f9faed9cc02687f2 +DIST griffith-0.10.tar.gz 1332714 RMD160 01a3a527dd7355ea09bc351133a8c323e86775ea SHA1 1fbda669f1d3ba8fe5c1f210fd1c5274941f2cb5 SHA256 024a4837590794bafe28730c6384d67e66691e91b6cddf05cd358e8dbfee5a11 DIST griffith-extra-artwork-0.9.4.tar.gz 124008 RMD160 926081627d650803d4a16b140a23de4e9798321e SHA1 c518bcca5f279fc3e5f0263c29296b9ba431b54f SHA256 96bc01a05ad54aad9fabcf411809c46c78b990fc7656ea004cebdfd8ea9894fd +EBUILD griffith-0.10.ebuild 1783 RMD160 c94a0dbe34724b021403360a80fd51c0460dd80a SHA1 749e7fc5b64fbe2ed933ebbe1d9b671075f3931f SHA256 6cda273ca8a6b7205d7215cfc4a46429725bb5b47e1e0d39116ef5f7b826d315 EBUILD griffith-9999.ebuild 2206 RMD160 937c04a443071832018aade19467f862006f0001 SHA1 c69a11f6f129daac96c03a1b697101cf99c20510 SHA256 870e956e9cf142bb5c05f06c05f22403f77f805175b6dd8a5e591af46117c4bb MISC metadata.xml 396 RMD160 bd923c9f95910d90c221d7ab2fb605ad04be4ea1 SHA1 0965485891286a8571c29a1975ece94d0cc20392 SHA256 ccf6be79fb955aeaafc2fffe07ba6a1cd8aaf7fe4afc1b5baa7a32153efc928d diff --git a/media-video/griffith/griffith-0.10.ebuild b/media-video/griffith/griffith-0.10.ebuild new file mode 100644 index 0000000..5480a72 --- /dev/null +++ b/media-video/griffith/griffith-0.10.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_rc1.ebuild,v 1.1 2009/07/21 13:01:48 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} +} |