Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/griffith: griffith-0.10_beta3.ebuild ChangeLog
Date: Thu, 02 Jul 2009 20:14:17
Message-Id: E1MMSfd-0007pc-RU@stork.gentoo.org
1 hwoarang 09/07/02 20:14:13
2
3 Modified: ChangeLog
4 Added: griffith-0.10_beta3.ebuild
5 Log:
6 Bump to 0.10_beta3
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.35 media-video/griffith/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/griffith/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/griffith/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/griffith/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 2 Jul 2009 19:57:27 -0000 1.34
23 +++ ChangeLog 2 Jul 2009 20:14:13 -0000 1.35
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-video/griffith
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.34 2009/07/02 19:57:27 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.35 2009/07/02 20:14:13 hwoarang Exp $
29 +
30 +*griffith-0.10_beta3 (02 Jul 2009)
31 +
32 + 02 Jul 2009; Markos Chandras <hwoarang@g.o>
33 + +files/0.10-fix_lib_path.patch, +griffith-0.10_beta3.ebuild:
34 + Bump to 0.10_beta3.
35
36 02 Jul 2009; Markos Chandras <hwoarang@g.o> -griffith-0.9.5.ebuild,
37 -griffith-0.9.6-r1.ebuild, -griffith-0.9.7.1.ebuild:
38
39
40
41 1.1 media-video/griffith/griffith-0.10_beta3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/griffith/griffith-0.10_beta3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/griffith/griffith-0.10_beta3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: griffith-0.10_beta3.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-video/griffith/griffith-0.10_beta3.ebuild,v 1.1 2009/07/02 20:14:13 hwoarang Exp $
51
52 EAPI="2"
53
54 inherit eutils versionator python multilib
55
56 ARTWORK_PV="0.9.4"
57
58 DESCRIPTION="Movie collection manager"
59 HOMEPAGE="http://griffith.berlios.de/"
60 SRC_URI="mirror://berlios/griffith/${P/_/-}.tar.gz
61 mirror://berlios/griffith/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
65 IUSE="csv doc spell"
66
67 RDEPEND="dev-python/imaging
68 dev-util/glade:3
69 dev-python/pyxml
70 >=dev-python/pygtk-2.6.1
71 dev-python/pysqlite:2
72 >=dev-python/sqlalchemy-0.5.2
73 >=dev-python/reportlab-1.19
74 csv? ( dev-python/chardet )
75 spell? ( >=dev-python/gnome-python-extras-2.0 )"
76 DEPEND="${RDEPEND}
77 doc? ( app-text/docbook2X )"
78
79 S="${WORKDIR}"/"${P/_/-}"
80 src_prepare() {
81 sed -i \
82 -e 's#/pl/#/pl.UTF-8/#' \
83 "${S}"/docs/pl/Makefile || die "sed failed"
84
85 sed -i \
86 -e 's/ISO-8859-1/UTF-8/' \
87 "${S}"/lib/gconsole.py || die "sed failed"
88 epatch "${FILESDIR}/$(get_version_component_range 1-2)-fix_lib_path.patch"
89 }
90
91 src_compile() {
92 # Nothing to compile and default `emake` spews an error message
93 true
94 }
95
96 src_install() {
97 use doc || sed -i -e '/docs/d' Makefile
98
99 python_version
100 emake \
101 LIBDIR="${D}/usr/$(get_libdir)/griffith" \
102 DESTDIR="${D}" DOC2MAN=docbook2man.pl install || die "emake install failed"
103 dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS
104
105 cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/"
106 emake DESTDIR="${D}" install || die "emake install artwork failed"
107 }
108
109 pkg_postinst() {
110 python_mod_optimize /usr/$(get_libdir)/${PN}
111 }
112
113 pkg_postrm() {
114 python_mod_cleanup /usr/$(get_libdir)/${PN}
115 }