Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/kvirc: ChangeLog kvirc-4.1_pre4696.ebuild
Date: Tue, 27 Jul 2010 20:53:00
Message-Id: 20100727205252.13B732CE15@corvid.gentoo.org
1 arfrever 10/07/27 20:52:51
2
3 Modified: ChangeLog
4 Added: kvirc-4.1_pre4696.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: HEAD/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.111 net-irc/kvirc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/kvirc/ChangeLog?rev=1.111&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/kvirc/ChangeLog?rev=1.111&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/kvirc/ChangeLog?r1=1.110&r2=1.111
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v
20 retrieving revision 1.110
21 retrieving revision 1.111
22 diff -u -r1.110 -r1.111
23 --- ChangeLog 13 Jul 2010 13:33:16 -0000 1.110
24 +++ ChangeLog 27 Jul 2010 20:52:51 -0000 1.111
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-irc/kvirc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.110 2010/07/13 13:33:16 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.111 2010/07/27 20:52:51 arfrever Exp $
30 +
31 +*kvirc-4.1_pre4696 (27 Jul 2010)
32 +
33 + 27 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +kvirc-4.1_pre4696.ebuild:
35 + Version bump.
36
37 *kvirc-4.1_pre4666 (13 Jul 2010)
38
39
40
41
42 1.1 net-irc/kvirc/kvirc-4.1_pre4696.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/kvirc/kvirc-4.1_pre4696.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/kvirc/kvirc-4.1_pre4696.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kvirc-4.1_pre4696.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/net-irc/kvirc/kvirc-4.1_pre4696.ebuild,v 1.1 2010/07/27 20:52:51 arfrever Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="python? 2"
55
56 inherit cmake-utils multilib python
57
58 DESCRIPTION="Advanced IRC Client"
59 HOMEPAGE="http://www.kvirc.net/"
60 SRC_URI="mirror://gentoo/${P}.tar.bz2"
61
62 LICENSE="kvirc"
63 SLOT="4"
64 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
65 IUSE="audiofile dcc_video +dcc_voice debug doc gsm +ipc ipv6 kde +nls oss +perl +phonon profile +python +qt-dbus qt-webkit +ssl theora +transparency"
66
67 RDEPEND="
68 >=dev-libs/crypto++-5.6.0-r1
69 sys-libs/zlib
70 x11-libs/libX11
71 >=x11-libs/qt-core-4.5
72 >=x11-libs/qt-gui-4.5
73 >=x11-libs/qt-sql-4.5
74 dcc_video? (
75 media-libs/libv4l
76 theora? ( media-libs/libogg media-libs/libtheora )
77 )
78 kde? ( >=kde-base/kdelibs-4 )
79 oss? ( audiofile? ( media-libs/audiofile ) )
80 perl? ( dev-lang/perl )
81 phonon? ( || ( media-sound/phonon >=x11-libs/qt-phonon-4.5 ) )
82 qt-dbus? ( >=x11-libs/qt-dbus-4.5 )
83 qt-webkit? ( >=x11-libs/qt-webkit-4.5 )
84 ssl? ( dev-libs/openssl )"
85 DEPEND="${RDEPEND}
86 >=dev-util/cmake-2.6.4
87 dev-util/pkgconfig
88 x11-proto/scrnsaverproto
89 nls? ( sys-devel/gettext )
90 doc? ( app-doc/doxygen )"
91 RDEPEND="${RDEPEND}
92 gsm? ( media-sound/gsm )"
93
94 DOCS="ChangeLog doc/FAQ"
95
96 pkg_setup() {
97 if use audiofile && ! use oss; then
98 die "USE=\"audiofile\" requires USE=\"oss\""
99 fi
100
101 if use theora && ! use dcc_video; then
102 die "USE=\"theora\" requires USE=\"dcc_video\""
103 fi
104
105 if use python; then
106 python_set_active_version 2
107 python_pkg_setup
108 fi
109 }
110
111 src_prepare() {
112 VERSIO_PRAESENS="${PV#*_pre}"
113 elog "Setting revision number to ${VERSIO_PRAESENS}"
114 sed -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" r${VERSIO_PRAESENS}\"/" -i src/kvirc/ui/kvi_frame.cpp || die "Failed to set revision number"
115 }
116
117 src_configure() {
118 local libdir="$(get_libdir)"
119 local mycmakeargs="
120 -DCMAKE_INSTALL_PREFIX=/usr
121 -DCOEXISTENCE=1
122 -DLIB_SUFFIX=${libdir#lib}
123 -DMANUAL_REVISION=${VERSIO_PRAESENS}
124 -DUSE_ENV_FLAGS=1
125 -DVERBOSE=1
126 -DWANT_CRYPT=1
127 -DWANT_NO_EMBEDDED_CODE=1
128 $(cmake-utils_use_want audiofile AUDIOFILE)
129 $(cmake-utils_use_want dcc_video DCC_VIDEO)
130 $(cmake-utils_use_want dcc_voice DCC_VOICE)
131 $(cmake-utils_use_want debug DEBUG)
132 $(cmake-utils_use_want doc DOXYGEN)
133 $(cmake-utils_use_want gsm GSM)
134 $(cmake-utils_use_want ipc IPC)
135 $(cmake-utils_use_want ipv6 IPV6)
136 $(cmake-utils_use_want kde KDE4)
137 $(cmake-utils_use_want nls GETTEXT)
138 $(cmake-utils_use_want oss OSS)
139 $(cmake-utils_use_want perl PERL)
140 $(cmake-utils_use_want phonon PHONON)
141 $(cmake-utils_use_want profile MEMORY_PROFILE)
142 $(cmake-utils_use_want python PYTHON)
143 $(cmake-utils_use_want qt-dbus QTDBUS)
144 $(cmake-utils_use_want qt-webkit QTWEBKIT)
145 $(cmake-utils_use_want ssl OPENSSL)
146 $(cmake-utils_use_want theora OGG_THEORA)
147 $(cmake-utils_use_want transparency TRANSPARENCY)"
148
149 cmake-utils_src_configure
150 }