Contents of /trunk/extras/pidgin/pidgin-2.6.3-r1.smage2
Parent Directory | Revision Log
Revision 4015 -
(show annotations)
(download)
Tue Nov 17 12:52:49 2009 UTC (14 years, 6 months ago) by niro
File size: 3035 byte(s)
Tue Nov 17 12:52:49 2009 UTC (14 years, 6 months ago) by niro
File size: 3035 byte(s)
ver bump to 2.6.3-r1; enabled ncurses-gui, libidn support, gadu protocol support, prediction support
1 | # $Id$ |
2 | |
3 | PNAME="pidgin" |
4 | PVER="2.6.3" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-im" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Pigin is a multi-protocol instant messaging client for Linux." |
11 | HOMEPAGE="http://www.pidgin.im/" |
12 | |
13 | DEPEND=">= x11-libs/gtk2+-2.18 |
14 | >= dev-libs/glib2-2.22 |
15 | >= dev-libs/nspr-4.8 |
16 | >= dev-libs/nss-3.12 |
17 | >= app-text/gtkspell-2.0.16 |
18 | >= x11-libs/startup-notification-0.10 |
19 | >= dev-lang/perl-5.10 |
20 | >= dev-lang/tcl-8.5 |
21 | >= dev-lang/tk-8.5 |
22 | >= sys-apps/dbus-1.3 |
23 | >= dev-libs/dbus-glib-0.82 |
24 | >= dev-libs/cyrus-sasl-2.1 |
25 | >= media-libs/gstreamer-0.10.25 |
26 | >= media-libs/gst-plugins-base-0.10.25 |
27 | >= media-libs/gst-plugins-good-0.10.16 |
28 | >= dev-db/sqlite-3.6 |
29 | >= x11-libs/libXScrnSaver-1 |
30 | >= net-libs/meanwhile-1 |
31 | >= net-dns/avahi-0.6.25 |
32 | >= net-dns/libidn-1.15 |
33 | >= net-libs/libgadu-1.8.2 |
34 | >= sys-libs/ncurses-5.7" |
35 | |
36 | SDEPEND=">= sys-dev/gettext-0.17" |
37 | |
38 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
39 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
40 | |
41 | PIDGIN_ENC_PVER="3.0" |
42 | PIDGIN_ENC_FILE="${PNAME}-encryption-${PIDGIN_ENC_PVER}.tar.gz" |
43 | PIDGIN_ENC_DIR="${BUILDDIR}/${PNAME}-encryption-${PIDGIN_ENC_PVER}" |
44 | |
45 | sminclude mtools |
46 | |
47 | SRC_URI=( |
48 | sourceforge://${PNAME}/${SRCFILE} |
49 | sourceforge://pidgin-encrypt/${PIDGIN_ENC_FILE} |
50 | mirror://${PNAME}/${SRCFILE} |
51 | mirror://${PNAME}/${PIDGIN_ENC_FILE} |
52 | mirror://${PNAME}/pidgin-2.0.2-prefs.xml |
53 | ) |
54 | |
55 | UP2DATE="updatecmd ${HOMEPAGE}/download/source/ | lasttarball" |
56 | |
57 | src_prepare() |
58 | { |
59 | munpack ${SRCFILE} || die |
60 | munpack ${PIDGIN_ENC_FILE} || die |
61 | } |
62 | |
63 | src_compile() |
64 | { |
65 | cd ${SRCDIR} |
66 | |
67 | # pidgin |
68 | mconfigure \ |
69 | --enable-nss \ |
70 | --enable-perl \ |
71 | --enable-tcl \ |
72 | --enable-tk \ |
73 | --enable-dbus \ |
74 | --enable-gstreamer \ |
75 | --enable-cyrus-sasl \ |
76 | --enable-meanwhile \ |
77 | --enable-avahi \ |
78 | --enable-consoleui \ |
79 | --enable-cap \ |
80 | --enable-idn \ |
81 | --with-gadu-includes=. \ |
82 | --with-gadu-libs=. \ |
83 | --disable-mono \ |
84 | --disable-gevolution \ |
85 | --disable-nm \ |
86 | || die |
87 | |
88 | mmake || die |
89 | |
90 | # pidgin-encryption |
91 | cd ${PIDGIN_ENC_DIR} |
92 | |
93 | PKG_CONFIG_PATH=${SRCDIR}/pidgin:${SRCDIR}/libpurple:${PKG_CONFIG_PATH} \ |
94 | mconfigure || die |
95 | mmake || die |
96 | } |
97 | |
98 | src_install() |
99 | { |
100 | |
101 | # pidgin |
102 | cd ${SRCDIR} |
103 | |
104 | # needed directories |
105 | minstalldir /etc/purple || die |
106 | minstalldir /usr/include/pidgin/src || die |
107 | |
108 | mmake DESTDIR=${BINDIR} install || die |
109 | |
110 | # install default preferences |
111 | minstallfile -s pidgin-2.0.2-prefs.xml /etc/purple/prefs.xml || die |
112 | |
113 | # install includes |
114 | minstallfile config.h /usr/include/pidgin || die |
115 | |
116 | cd ${SRCDIR}/src |
117 | tar cf - *.h | (cd ${BINDIR}/usr/include/pidgin/src ; tar xvf -) |
118 | |
119 | cd ${SRCDIR} |
120 | minstalldocs ABOUT-NLS NEWS AUTHORS PROGRAMMING_NOTES COPYING \ |
121 | README* COPYRIGHT ChangeLog* HACKING \ |
122 | doc/CREDITS doc/FAQ || die |
123 | |
124 | # pidgin-encryption |
125 | cd ${PIDGIN_ENC_DIR} |
126 | |
127 | # needed directories |
128 | minstalldir /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die |
129 | |
130 | mmake DESTDIR=${BINDIR} install || die |
131 | |
132 | # docs |
133 | local i |
134 | for i in CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST |
135 | do |
136 | minstallfile ${i} /usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die ${i} |
137 | done |
138 | gzip -r9 ${BINDIR}/usr/share/doc/${PNAME}-encryption-${PIDGIN_ENC_PVER} || die |
139 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |