1 |
pva 09/07/29 15:23:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: psi-0.13.ebuild |
5 |
Removed: psi-0.13_rc4.ebuild |
6 |
Log: |
7 |
Version bump. Finally released, enjoy! |
8 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.164 net-im/psi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?rev=1.164&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?rev=1.164&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/ChangeLog?r1=1.163&r2=1.164 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v |
20 |
retrieving revision 1.163 |
21 |
retrieving revision 1.164 |
22 |
diff -u -r1.163 -r1.164 |
23 |
--- ChangeLog 21 Jul 2009 14:47:25 -0000 1.163 |
24 |
+++ ChangeLog 29 Jul 2009 15:23:55 -0000 1.164 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-im/psi |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.163 2009/07/21 14:47:25 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.164 2009/07/29 15:23:55 pva Exp $ |
30 |
+ |
31 |
+*psi-0.13 (29 Jul 2009) |
32 |
+ |
33 |
+ 29 Jul 2009; Peter Volkov <pva@g.o> -psi-0.13_rc4.ebuild, |
34 |
+ +psi-0.13.ebuild: |
35 |
+ Version bump. Finally released, enjoy! |
36 |
|
37 |
*psi-0.13_rc4 (21 Jul 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-im/psi/psi-0.13.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/psi-0.13.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/psi/psi-0.13.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: psi-0.13.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.13.ebuild,v 1.1 2009/07/29 15:23:55 pva Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils qt4 multilib |
56 |
|
57 |
MY_P="${P/_rc/-rc}" |
58 |
|
59 |
LANGPACK_VER="20090217" |
60 |
|
61 |
DESCRIPTION="Qt4 Jabber client, with Licq-like interface" |
62 |
HOMEPAGE="http://psi-im.org/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 |
64 |
mirror://gentoo/${PN}-langs-${LANGPACK_VER}.tar.bz2 |
65 |
extras? ( mirror://gentoo/${PN}-extra-patches-r807.tar.bz2 |
66 |
mirror://gentoo/${PN}-extra-iconsets-r807.tar.bz2 )" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
71 |
IUSE="crypt dbus debug doc extras jingle spell ssl xscreensaver" |
72 |
RESTRICT="test" |
73 |
|
74 |
LANGS="cs de eo es_ES fr it mk pl pt_BR ru uk ur_PK vi zh zh_TW" |
75 |
for LNG in ${LANGS}; do |
76 |
IUSE="${IUSE} linguas_${LNG}" |
77 |
#SRC_URI="${SRC_URI} http://psi-im.org/download/lang/psi_${LNG/ur_PK/ur_pk}.qm" |
78 |
done |
79 |
|
80 |
RDEPEND=">=x11-libs/qt-gui-4.4:4[qt3support,dbus?] |
81 |
>=app-crypt/qca-2.0.2:2 |
82 |
spell? ( app-text/aspell ) |
83 |
xscreensaver? ( x11-libs/libXScrnSaver )" |
84 |
|
85 |
DEPEND="${RDEPEND} |
86 |
doc? ( app-doc/doxygen )" |
87 |
|
88 |
PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) |
89 |
jingle? ( net-im/psimedia ) |
90 |
ssl? ( app-crypt/qca-ossl:2 )" |
91 |
|
92 |
S=${WORKDIR}/${MY_P} |
93 |
|
94 |
src_prepare() { |
95 |
if use extras; then |
96 |
# some patches from psi+ project http://code.google.com/p/psi-dev |
97 |
ewarn "You're about to build heavily patched version of Psi called Psi+." |
98 |
ewarn "It has really nice features but still is under heavy development." |
99 |
ewarn "Take a look at homepage for more info: http://code.google.com/p/psi-dev" |
100 |
ewarn "If you wish to disable some patches just put" |
101 |
ewarn "MY_EPATCH_EXCLUDE=\"list of patches\"" |
102 |
ewarn "into /etc/portage/env/${CATEGORY}/${PN} file." |
103 |
ewarn |
104 |
ewarn "Note: some patches depend on other. So if you disabled some patch" |
105 |
ewarn "and other started to fail to apply, you'll have to disable patches" |
106 |
ewarn "that fail too." |
107 |
ebeep |
108 |
|
109 |
EPATCH_EXCLUDE="${MY_EPATCH_EXCLUDE} 270-psi-application-info.diff" \ |
110 |
EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch |
111 |
sed -e 's/\(^#define PROG_CAPS_NODE \).*/\1"http:\/\/psi-dev.googlecode.com\/caps";/' \ |
112 |
-e 's:\(^#define PROG_NAME "Psi\):\1+:' \ |
113 |
-i src/applicationinfo.cpp || die |
114 |
fi |
115 |
|
116 |
rm -rf third-party/qca # We use system libraries. |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
# unable to use econf because of non-standard configure script |
121 |
# disable growl as it is a MacOS X extension only |
122 |
local confcmd="./configure |
123 |
--prefix=/usr |
124 |
--qtdir=/usr |
125 |
--disable-bundled-qca |
126 |
--disable-growl |
127 |
$(use dbus || echo '--disable-qdbus') |
128 |
$(use debug && echo '--enable-debug') |
129 |
$(use spell || echo '--disable-aspell') |
130 |
$(use xscreensaver || echo '--disable-xss')" |
131 |
|
132 |
echo ${confcmd} |
133 |
${confcmd} || die "configure failed" |
134 |
} |
135 |
|
136 |
src_compile() { |
137 |
eqmake4 |
138 |
|
139 |
emake || die "emake failed" |
140 |
|
141 |
if use doc; then |
142 |
cd doc |
143 |
mkdir -p api # 259632 |
144 |
make api_public || die "make api_public failed" |
145 |
fi |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
emake INSTALL_ROOT="${D}" install || die "emake install failed" |
150 |
|
151 |
# this way the docs will be installed in the standard gentoo dir |
152 |
newdoc iconsets/roster/README README.roster || die |
153 |
newdoc iconsets/system/README README.system || die |
154 |
newdoc certs/README README.certs || die |
155 |
dodoc README || die |
156 |
|
157 |
if use doc; then |
158 |
cd doc |
159 |
dohtml -r api || die "dohtml failed" |
160 |
fi |
161 |
|
162 |
# install translations |
163 |
cd "${WORKDIR}/${PN}-langs" |
164 |
insinto /usr/share/${PN}/ |
165 |
for LNG in ${LANGS}; do |
166 |
if use linguas_${LNG}; then |
167 |
doins ${PN}_${LNG/ur_PK/ur_pk}.qm || die |
168 |
fi |
169 |
done |
170 |
|
171 |
if use extras; then |
172 |
cp -a "${WORKDIR}"/iconsets/* "${D}"/usr/share/${PN}/iconsets/ || die |
173 |
fi |
174 |
} |