summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-11 10:37:42 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-11 10:37:42 +0000
commitb73304dabae2a12f69a6bcd5d62559a0644773ae (patch)
tree1443c3640b138910c8a9522758c42ca82dbb30b2 /net-irc/kvirc
parentUpdate dependencies. (diff)
downloadgentoo-2-b73304dabae2a12f69a6bcd5d62559a0644773ae.tar.gz
gentoo-2-b73304dabae2a12f69a6bcd5d62559a0644773ae.tar.bz2
gentoo-2-b73304dabae2a12f69a6bcd5d62559a0644773ae.zip
Version bump.
(Portage version: 15191-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_pre3831.ebuild117
2 files changed, 124 insertions, 1 deletions
diff --git a/net-irc/kvirc/ChangeLog b/net-irc/kvirc/ChangeLog
index bce3e46c2f06..eaa5d772d536 100644
--- a/net-irc/kvirc/ChangeLog
+++ b/net-irc/kvirc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/kvirc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.96 2010/01/02 11:17:46 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.97 2010/01/11 10:37:42 arfrever Exp $
+
+*kvirc-4.0_pre3831 (11 Jan 2010)
+
+ 11 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +kvirc-4.0_pre3831.ebuild:
+ Version bump.
02 Jan 2010; Markos Chandras <hwoarang@gentoo.org>
kvirc-4.0_pre3636.ebuild:
diff --git a/net-irc/kvirc/kvirc-4.0_pre3831.ebuild b/net-irc/kvirc/kvirc-4.0_pre3831.ebuild
new file mode 100644
index 000000000000..8751ba8ec7e1
--- /dev/null
+++ b/net-irc/kvirc/kvirc-4.0_pre3831.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-4.0_pre3831.ebuild,v 1.1 2010/01/11 10:37:42 arfrever Exp $
+
+EAPI="2"
+
+inherit cmake-utils multilib python
+
+DESCRIPTION="Advanced IRC Client"
+HOMEPAGE="http://www.kvirc.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="kvirc"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="audiofile +crypt dcc_video +dcc_voice debug doc gsm +ipc ipv6 kde +nls oss +perl +phonon profile +python +qt-dbus qt-webkit +ssl theora +transparency"
+
+RDEPEND="
+ >=dev-libs/crypto++-5.6.0-r1
+ sys-libs/zlib
+ x11-libs/libX11
+ >=x11-libs/qt-core-4.5
+ >=x11-libs/qt-gui-4.5
+ >=x11-libs/qt-sql-4.5
+ dcc_video? (
+ media-libs/libv4l
+ theora? ( media-libs/libogg media-libs/libtheora )
+ )
+ kde? ( >=kde-base/kdelibs-4 )
+ oss? ( audiofile? ( media-libs/audiofile ) )
+ perl? ( dev-lang/perl )
+ phonon? ( || ( media-sound/phonon >=x11-libs/qt-phonon-4.5 ) )
+ python? ( dev-lang/python )
+ 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
+ dev-util/pkgconfig
+ x11-proto/scrnsaverproto
+ nls? ( sys-devel/gettext )
+ doc? ( app-doc/doxygen )"
+RDEPEND="${RDEPEND}
+ gsm? ( media-sound/gsm )"
+
+DOCS="ChangeLog TODO"
+
+pkg_setup() {
+ if use audiofile && ! use oss; then
+ die "USE=\"audiofile\" requires USE=\"oss\""
+ fi
+
+ if use theora && ! use dcc_video; then
+ die "USE=\"theora\" requires USE=\"dcc_video\""
+ fi
+
+ if use python; then
+ python_set_active_version 2
+ fi
+}
+
+src_prepare() {
+ 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"
+}
+
+src_configure() {
+ local libdir="$(get_libdir)"
+ local mycmakeargs="
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCOEXISTENCE=1
+ -DLIB_SUFFIX=${libdir#lib}
+ -DMANUAL_REVISION=${VERSIO_PRAESENS}
+ -DUSE_ENV_FLAGS=1
+ -DVERBOSE=1
+ -DWANT_NO_EMBEDDED_CODE=1
+ $(cmake-utils_use_want audiofile AUDIOFILE)
+ $(cmake-utils_use_want crypt CRYPT)
+ $(cmake-utils_use_want dcc_video DCC_VIDEO)
+ $(cmake-utils_use_want dcc_voice DCC_VOICE)
+ $(cmake-utils_use_want debug DEBUG)
+ $(cmake-utils_use_want doc DOXYGEN)
+ $(cmake-utils_use_want gsm GSM)
+ $(cmake-utils_use_want ipc IPC)
+ $(cmake-utils_use_want ipv6 IPV6)
+ $(cmake-utils_use_want kde KDE4)
+ $(cmake-utils_use_want nls GETTEXT)
+ $(cmake-utils_use_want oss OSS)
+ $(cmake-utils_use_want perl PERL)
+ $(cmake-utils_use_want phonon PHONON)
+ $(cmake-utils_use_want profile MEMORY_PROFILE)
+ $(cmake-utils_use_want python PYTHON)
+ $(cmake-utils_use_want qt-dbus QTDBUS)
+ $(cmake-utils_use_want qt-webkit QTWEBKIT)
+ $(cmake-utils_use_want ssl OPENSSL)
+ $(cmake-utils_use_want theora OGG_THEORA)
+ $(cmake-utils_use_want transparency TRANSPARENCY)"
+
+ cmake-utils_src_configure
+}
+
+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
+}