summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-30 21:19:59 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-30 21:19:59 +0000
commitfdf67352d1958990753401af20c2ba37f7a690d0 (patch)
treeb53cfc7ebed6bab1e17861bd31d42b47cc1c5ffc /net-irc/kvirc
parentVersion bump. (diff)
downloadgentoo-2-fdf67352d1958990753401af20c2ba37f7a690d0.tar.gz
gentoo-2-fdf67352d1958990753401af20c2ba37f7a690d0.tar.bz2
gentoo-2-fdf67352d1958990753401af20c2ba37f7a690d0.zip
Version bump.
(Portage version: 14170-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/ChangeLog8
-rw-r--r--net-irc/kvirc/kvirc-4.0_pre3437.ebuild (renamed from net-irc/kvirc/kvirc-4.0_pre3244.ebuild)33
2 files changed, 33 insertions, 8 deletions
diff --git a/net-irc/kvirc/ChangeLog b/net-irc/kvirc/ChangeLog
index 0f41c09816bb..fe98ed06f9a3 100644
--- a/net-irc/kvirc/ChangeLog
+++ b/net-irc/kvirc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/kvirc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.86 2009/08/15 19:22:41 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.87 2009/08/30 21:19:59 arfrever Exp $
+
+*kvirc-4.0_pre3437 (30 Aug 2009)
+
+ 30 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -kvirc-4.0_pre3244.ebuild, +kvirc-4.0_pre3437.ebuild:
+ Version bump.
*kvirc-4.0_pre3412 (15 Aug 2009)
diff --git a/net-irc/kvirc/kvirc-4.0_pre3244.ebuild b/net-irc/kvirc/kvirc-4.0_pre3437.ebuild
index 81b4cb78c387..f26866b31ecd 100644
--- a/net-irc/kvirc/kvirc-4.0_pre3244.ebuild
+++ b/net-irc/kvirc/kvirc-4.0_pre3437.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-4.0_pre3244.ebuild,v 1.1 2009/06/12 14:25:50 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-4.0_pre3437.ebuild,v 1.1 2009/08/30 21:19:59 arfrever Exp $
EAPI="2"
@@ -17,17 +17,19 @@ IUSE="audiofile +crypt +dcc_voice debug doc gsm +ipc ipv6 kde +nls oss +perl +ph
RDEPEND="
sys-libs/zlib
- x11-libs/qt-core
- x11-libs/qt-gui
+ >=x11-libs/qt-core-4.5
+ >=x11-libs/qt-gui-4.5
+ >=x11-libs/qt-sql-4.5
kde? ( >=kde-base/kdelibs-4 )
oss? ( audiofile? ( media-libs/audiofile ) )
perl? ( dev-lang/perl )
- phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
+ phonon? ( || ( media-sound/phonon >=x11-libs/qt-phonon-4.5 ) )
python? ( dev-lang/python )
- qt-dbus? ( x11-libs/qt-dbus )
- qt-webkit? ( x11-libs/qt-webkit )
+ qt-dbus? ( >=x11-libs/qt-dbus-4.5 )
+ qt-webkit? ( >=x11-libs/qt-webkit-4.5 )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.6.4
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
RDEPEND="${RDEPEND}
@@ -42,7 +44,7 @@ pkg_setup() {
}
src_prepare() {
- local VERSIO_PRAESENS="${PV#*_pre}"
+ VERSIO_PRAESENS="${PV#*_pre}"
elog "Setting revision number to ${VERSIO_PRAESENS}"
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"
}
@@ -53,6 +55,7 @@ src_configure() {
-DCMAKE_INSTALL_PREFIX=/usr
-DCOEXISTENCE=1
-DLIB_SUFFIX=${libdir#lib}
+ -DMANUAL_REVISION=${VERSIO_PRAESENS}
-DVERBOSE=1
$(cmake-utils_use_want audiofile AUDIOFILE)
$(cmake-utils_use_want crypt CRYPT)
@@ -84,3 +87,19 @@ src_install() {
elog "In order to keep KVIrc 4 and KVIrc3 working both side-by-side"
elog "man page for ${P} is under \"man kvirc4\""
}
+
+pkg_preinst() {
+ if has_version "=${CATEGORY}/${PN}-4.0_pre3412"; then
+ log_location_change="1"
+ fi
+}
+
+pkg_postinst() {
+ if [[ "${log_location_change}" == "1" ]]; then
+ elog "Default location of logs has changed back from ~/log to ~/.config/KVIrc/log."
+ elog "You might want to run the following command to restore default location:"
+ elog " sed -e \"/^stringLogsPath=/d\" -i ~/.config/KVIrc/config/main.kvc"
+ elog "You can also set location of logs in KVIrc configuration."
+ ebeep 12
+ fi
+}