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