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