1 |
flameeyes 08/07/04 14:42:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: calibre-0.4.76.ebuild |
5 |
Removed: calibre-0.4.54.ebuild calibre-0.4.73.ebuild |
6 |
calibre-0.4.64.ebuild calibre-0.4.53.ebuild |
7 |
Log: |
8 |
Version bump, remove old versions. |
9 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.6 app-text/calibre/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.6&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.6&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?r1=1.5&r2=1.6 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v |
21 |
retrieving revision 1.5 |
22 |
retrieving revision 1.6 |
23 |
diff -u -r1.5 -r1.6 |
24 |
--- ChangeLog 24 Jun 2008 22:35:39 -0000 1.5 |
25 |
+++ ChangeLog 4 Jul 2008 14:42:25 -0000 1.6 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-text/calibre |
28 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.5 2008/06/24 22:35:39 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.6 2008/07/04 14:42:25 flameeyes Exp $ |
31 |
+ |
32 |
+*calibre-0.4.76 (04 Jul 2008) |
33 |
+ |
34 |
+ 04 Jul 2008; Diego Pettenò <flameeyes@g.o> -calibre-0.4.53.ebuild, |
35 |
+ -calibre-0.4.54.ebuild, -calibre-0.4.64.ebuild, -calibre-0.4.73.ebuild, |
36 |
+ +calibre-0.4.76.ebuild: |
37 |
+ Version bump, remove old versions. |
38 |
|
39 |
*calibre-0.4.73 (24 Jun 2008) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-text/calibre/calibre-0.4.76.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.4.76.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.4.76.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: calibre-0.4.76.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.4.76.ebuild,v 1.1 2008/07/04 14:42:25 flameeyes Exp $ |
54 |
|
55 |
NEED_PYTHON=2.5 |
56 |
|
57 |
inherit distutils eutils fdo-mime |
58 |
|
59 |
MY_P="${P/_p/-p}" |
60 |
S="${WORKDIR}/${MY_P}" |
61 |
|
62 |
DESCRIPTION="Ebook management application." |
63 |
HOMEPAGE="http://calibre.kovidgoyal.net" |
64 |
SRC_URI="http://calibre.kovidgoyal.net/downloads/${MY_P}.tar.bz2" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
|
68 |
KEYWORDS="~amd64" |
69 |
|
70 |
SLOT="0" |
71 |
|
72 |
IUSE="" |
73 |
|
74 |
RDEPEND=">=dev-python/imaging-1.1.6 |
75 |
>=dev-libs/libusb-0.1.12 |
76 |
>=dev-python/PyQt4-4.3.1 |
77 |
>=dev-python/fonttools-2.0_beta1 |
78 |
>=app-text/unrtf-0.20.1 |
79 |
>=dev-python/mechanize-0.1.7b |
80 |
>=media-gfx/imagemagick-6.3.5 |
81 |
>=dev-python/dbus-python-0.82.2 |
82 |
>=app-text/convertlit-1.8 |
83 |
>=dev-python/lxml-1.3.3 |
84 |
dev-python/ttfquery |
85 |
dev-python/genshi" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
dev-python/setuptools |
89 |
>=gnome-base/librsvg-2.0.0 |
90 |
>=x11-misc/xdg-utils-1.0.2-r2 |
91 |
sys-apps/help2man" |
92 |
|
93 |
src_compile() { |
94 |
emake || die "pre-build failed" |
95 |
distutils_src_compile |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
distutils_src_install |
100 |
|
101 |
# Create directory before running the postinst script |
102 |
# otherwise it will bail out. |
103 |
dodir /usr/share/icons/hicolor |
104 |
dodir /etc/xdg/menus |
105 |
dodir /usr/share/applications |
106 |
dodir /usr/share/desktop-directories |
107 |
dodir /usr/share/applnk |
108 |
dodir /usr/share/mime/packages |
109 |
|
110 |
# Bypass the default kde-config output, and force it to |
111 |
# tell xdg-mime to use a different path. |
112 |
cat - > "${T}/kde-config" <<EOF |
113 |
#!/bin/bash |
114 |
|
115 |
case \$1:\$2 in |
116 |
--version:) echo -e "Qt: 3.3.8\nKDE: 3.5.8\nkde-config: 1.0" ;; |
117 |
--path:mime) echo "${D}/usr/share/mimelnk/" ;; |
118 |
esac |
119 |
EOF |
120 |
|
121 |
chmod +x "${T}/kde-config" |
122 |
|
123 |
PATH="${T}:${PATH}" KDEDIRS="${D}/usr" XDG_DATA_DIRS="${D}/usr/share" DESTDIR="${D}" PYTHONPATH="${S}/build/lib" \ |
124 |
python "${S}"/src/${PN}/linux.py \ |
125 |
--use-destdir --do-not-reload-udev-hal \ |
126 |
--group-file="${ROOT}"/etc/group --dont-check-root \ |
127 |
|| die "post-installation failed." |
128 |
|
129 |
rm -r "${D}"/usr/share/applications/{mimeinfo.cache,defaults.list} \ |
130 |
"${D}"/usr/share/mime/{subclasses,XMLnamespaces,globs{,2},mime.cache,magic,aliases,{generic-,}icons} \ |
131 |
"${D}"/usr/share/applnk |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
fdo-mime_desktop_database_update |
136 |
fdo-mime_mime_database_update |
137 |
distutils_pkg_postinst |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
-- |
143 |
gentoo-commits@l.g.o mailing list |