Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/weechat: weechat-0.3.8.ebuild ChangeLog
Date: Thu, 07 Jun 2012 15:23:04
Message-Id: 20120607152249.C1CE22004B@flycatcher.gentoo.org
1 scarabeus 12/06/07 15:22:49
2
3 Modified: ChangeLog
4 Added: weechat-0.3.8.ebuild
5 Log:
6 Version bump to 0.3.8. Wrt bug#420119.
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.113 net-irc/weechat/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/weechat/ChangeLog?rev=1.113&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/weechat/ChangeLog?rev=1.113&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/weechat/ChangeLog?r1=1.112&r2=1.113
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/weechat/ChangeLog,v
20 retrieving revision 1.112
21 retrieving revision 1.113
22 diff -u -r1.112 -r1.113
23 --- ChangeLog 31 May 2012 11:15:05 -0000 1.112
24 +++ ChangeLog 7 Jun 2012 15:22:49 -0000 1.113
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-irc/weechat
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/weechat/ChangeLog,v 1.112 2012/05/31 11:15:05 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/weechat/ChangeLog,v 1.113 2012/06/07 15:22:49 scarabeus Exp $
30 +
31 +*weechat-0.3.8 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Tomáš Chvátal <scarabeus@g.o> +weechat-0.3.8.ebuild:
34 + Version bump to 0.3.8. Wrt bug#420119.
35
36 31 May 2012; Tomáš Chvátal <scarabeus@g.o> weechat-9999.ebuild:
37 Do not use ruby-ng eclass as the optional work is completely fucked.
38
39
40
41 1.1 net-irc/weechat/weechat-0.3.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/weechat/weechat-0.3.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/weechat/weechat-0.3.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: weechat-0.3.8.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-irc/weechat/weechat-0.3.8.ebuild,v 1.1 2012/06/07 15:22:49 scarabeus Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="python? *"
55
56 EGIT_REPO_URI="git://git.sv.gnu.org/weechat.git"
57 [[ ${PV} == "9999" ]] && GIT_ECLASS="git-2"
58 inherit python multilib cmake-utils ${GIT_ECLASS}
59
60 DESCRIPTION="Portable and multi-interface IRC client."
61 HOMEPAGE="http://weechat.org/"
62 [[ ${PV} == "9999" ]] || SRC_URI="http://${PN}.org/files/src/${P}.tar.bz2"
63
64 LICENSE="GPL-3"
65 SLOT="0"
66 if [[ ${PV} == "9999" ]]; then
67 KEYWORDS=""
68 else
69 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-linux ~amd64-linux"
70 fi
71
72 NETWORKS="+irc"
73 PLUGINS="+alias +charset +fifo +logger +relay +rmodifier +scripts +spell +xfer"
74 #INTERFACES="+ncurses gtk"
75 SCRIPT_LANGS="guile lua +perl +python ruby tcl"
76 IUSE="${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS} +crypt doc nls +ssl"
77
78 RDEPEND="
79 net-misc/curl[ssl]
80 sys-libs/ncurses
81 charset? ( virtual/libiconv )
82 guile? ( dev-scheme/guile )
83 lua? ( dev-lang/lua[deprecated] )
84 perl? ( dev-lang/perl )
85 ruby? ( >=dev-lang/ruby-1.9 )
86 ssl? ( net-libs/gnutls )
87 spell? ( app-text/aspell )
88 tcl? ( >=dev-lang/tcl-8.4.15 )
89 "
90 # ncurses? ( sys-libs/ncurses )
91 # gtk? ( x11-libs/gtk+:2 )
92 DEPEND="${RDEPEND}
93 nls? ( >=sys-devel/gettext-0.15 )
94 "
95
96 DOCS="AUTHORS ChangeLog NEWS README"
97
98 #REQUIRED_USE=" || ( ncurses gtk )"
99
100 LANGS=( cs de es fr hu it ja pl pt_BR ru )
101 for X in "${LANGS[@]}" ; do
102 IUSE="${IUSE} linguas_${X}"
103 done
104
105 pkg_setup() {
106 use python && python_pkg_setup
107 }
108
109 src_prepare() {
110 local i
111
112 # fix libdir placement
113 sed -i \
114 -e "s:lib/:$(get_libdir)/:g" \
115 -e "s:lib\":$(get_libdir)\":g" \
116 CMakeLists.txt || die "sed failed"
117
118 # install only required translations
119 for i in "${LANGS[@]}" ; do
120 if ! use linguas_${i} ; then
121 sed -i \
122 -e "/${i}.po/d" \
123 po/CMakeLists.txt || die
124 fi
125 done
126 }
127
128 # alias, rmodifier, xfer
129 src_configure() {
130 # $(cmake-utils_use_enable gtk)
131 # $(cmake-utils_use_enable ncurses)
132 local mycmakeargs=(
133 "-DENABLE_NCURSES=ON"
134 "-DENABLE_LARGEFILE=ON"
135 "-DENABLE_DEMO=OFF"
136 "-DENABLE_GTK=OFF"
137 $(cmake-utils_use_enable nls)
138 $(cmake-utils_use_enable crypt GCRYPT)
139 $(cmake-utils_use_enable spell ASPELL)
140 $(cmake-utils_use_enable charset)
141 $(cmake-utils_use_enable fifo)
142 $(cmake-utils_use_enable irc)
143 $(cmake-utils_use_enable logger)
144 $(cmake-utils_use_enable relay)
145 $(cmake-utils_use_enable scripts)
146 $(cmake-utils_use_enable perl)
147 $(cmake-utils_use_enable python)
148 $(cmake-utils_use_enable ruby)
149 $(cmake-utils_use_enable lua)
150 $(cmake-utils_use_enable tcl)
151 $(cmake-utils_use_enable guile)
152 $(cmake-utils_use_enable doc)
153 )
154
155 cmake-utils_src_configure
156 }
157
158 pkg_postinst() {
159 if use scripts && use python; then
160 elog "You may use the following script from upstream to manage your scripts."
161 elog "It helps with downloading and updating other scripts:"
162 elog " http://www.weechat.org/scripts/source/stable/weeget.py/"
163 fi
164 }