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: kvirc-4.0_pre3437.ebuild ChangeLog kvirc-4.0_pre3244.ebuild
Date: Sun, 30 Aug 2009 16:11:03
Message-Id: E1Mhrod-0002j8-Hz@stork.gentoo.org
1 arfrever 09/08/30 21:19:59
2
3 Modified: ChangeLog
4 Added: kvirc-4.0_pre3437.ebuild
5 Removed: kvirc-4.0_pre3244.ebuild
6 Log:
7 Version bump.
8 (Portage version: 14170-svn/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.87 net-irc/kvirc/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/kvirc/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/kvirc/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/kvirc/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 15 Aug 2009 19:22:41 -0000 1.86
24 +++ ChangeLog 30 Aug 2009 21:19:59 -0000 1.87
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-irc/kvirc
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.86 2009/08/15 19:22:41 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.87 2009/08/30 21:19:59 arfrever Exp $
30 +
31 +*kvirc-4.0_pre3437 (30 Aug 2009)
32 +
33 + 30 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -kvirc-4.0_pre3244.ebuild, +kvirc-4.0_pre3437.ebuild:
35 + Version bump.
36
37 *kvirc-4.0_pre3412 (15 Aug 2009)
38
39
40
41
42 1.1 net-irc/kvirc/kvirc-4.0_pre3437.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/kvirc/kvirc-4.0_pre3437.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/kvirc/kvirc-4.0_pre3437.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kvirc-4.0_pre3437.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-irc/kvirc/kvirc-4.0_pre3437.ebuild,v 1.1 2009/08/30 21:19:59 arfrever Exp $
52
53 EAPI="2"
54
55 inherit cmake-utils multilib
56
57 DESCRIPTION="Advanced IRC Client"
58 HOMEPAGE="http://www.kvirc.net/"
59 SRC_URI="mirror://gentoo/${P}.tar.bz2"
60
61 LICENSE="kvirc"
62 SLOT="4"
63 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
64 IUSE="audiofile +crypt +dcc_voice debug doc gsm +ipc ipv6 kde +nls oss +perl +phonon profile +python +qt-dbus qt-webkit +ssl +transparency"
65
66 RDEPEND="
67 sys-libs/zlib
68 >=x11-libs/qt-core-4.5
69 >=x11-libs/qt-gui-4.5
70 >=x11-libs/qt-sql-4.5
71 kde? ( >=kde-base/kdelibs-4 )
72 oss? ( audiofile? ( media-libs/audiofile ) )
73 perl? ( dev-lang/perl )
74 phonon? ( || ( media-sound/phonon >=x11-libs/qt-phonon-4.5 ) )
75 python? ( dev-lang/python )
76 qt-dbus? ( >=x11-libs/qt-dbus-4.5 )
77 qt-webkit? ( >=x11-libs/qt-webkit-4.5 )
78 ssl? ( dev-libs/openssl )"
79 DEPEND="${RDEPEND}
80 >=dev-util/cmake-2.6.4
81 nls? ( sys-devel/gettext )
82 doc? ( app-doc/doxygen )"
83 RDEPEND="${RDEPEND}
84 gsm? ( media-sound/gsm )"
85
86 DOCS="ChangeLog TODO"
87
88 pkg_setup() {
89 if use audiofile && ! use oss; then
90 die "USE=\"audiofile\" requires USE=\"oss\""
91 fi
92 }
93
94 src_prepare() {
95 VERSIO_PRAESENS="${PV#*_pre}"
96 elog "Setting revision number to ${VERSIO_PRAESENS}"
97 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"
98 }
99
100 src_configure() {
101 local libdir="$(get_libdir)"
102 local mycmakeargs="
103 -DCMAKE_INSTALL_PREFIX=/usr
104 -DCOEXISTENCE=1
105 -DLIB_SUFFIX=${libdir#lib}
106 -DMANUAL_REVISION=${VERSIO_PRAESENS}
107 -DVERBOSE=1
108 $(cmake-utils_use_want audiofile AUDIOFILE)
109 $(cmake-utils_use_want crypt CRYPT)
110 $(cmake-utils_use_want dcc_voice DCC_VOICE)
111 $(cmake-utils_use_want debug DEBUG)
112 $(cmake-utils_use_want doc DOXYGEN)
113 $(cmake-utils_use_want gsm GSM)
114 $(cmake-utils_use_want ipc IPC)
115 $(cmake-utils_use_want ipv6 IPV6)
116 $(cmake-utils_use_want kde KDE4)
117 $(cmake-utils_use_want nls GETTEXT)
118 $(cmake-utils_use_want oss OSS)
119 $(cmake-utils_use_want perl PERL)
120 $(cmake-utils_use_want phonon PHONON)
121 $(cmake-utils_use_want profile MEMORY_PROFILE)
122 $(cmake-utils_use_want python PYTHON)
123 $(cmake-utils_use_want qt-dbus QTDBUS)
124 $(cmake-utils_use_want qt-webkit QTWEBKIT)
125 $(cmake-utils_use_want ssl OPENSSL)
126 $(cmake-utils_use_want transparency TRANSPARENCY)"
127
128 cmake-utils_src_configure
129 }
130
131 src_install() {
132 cmake-utils_src_install
133 mv "${D}"usr/share/man/man1/kvirc.1 "${D}"usr/share/man/man1/kvirc4.1 || die "mv kvirc.1 failed"
134
135 elog "In order to keep KVIrc 4 and KVIrc3 working both side-by-side"
136 elog "man page for ${P} is under \"man kvirc4\""
137 }
138
139 pkg_preinst() {
140 if has_version "=${CATEGORY}/${PN}-4.0_pre3412"; then
141 log_location_change="1"
142 fi
143 }
144
145 pkg_postinst() {
146 if [[ "${log_location_change}" == "1" ]]; then
147 elog "Default location of logs has changed back from ~/log to ~/.config/KVIrc/log."
148 elog "You might want to run the following command to restore default location:"
149 elog " sed -e \"/^stringLogsPath=/d\" -i ~/.config/KVIrc/config/main.kvc"
150 elog "You can also set location of logs in KVIrc configuration."
151 ebeep 12
152 fi
153 }