summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-10-26 19:16:43 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2008-10-26 19:16:43 +0000
commit965b3223febbc4e81c29b11f36bc91651a21c8fc (patch)
tree5c8c8951565b91c265513b19f9caf473ee2fa472 /net-irc/kvirc/kvirc-9999.ebuild
parentx86 stable, bug #244448 (diff)
downloadhistorical-965b3223febbc4e81c29b11f36bc91651a21c8fc.tar.gz
historical-965b3223febbc4e81c29b11f36bc91651a21c8fc.tar.bz2
historical-965b3223febbc4e81c29b11f36bc91651a21c8fc.zip
Updating kvirc live ebuild so it actualy compiles now. Note: you will have to update it when we change eclass again or it stops working with new version of kde.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'net-irc/kvirc/kvirc-9999.ebuild')
-rw-r--r--net-irc/kvirc/kvirc-9999.ebuild38
1 files changed, 21 insertions, 17 deletions
diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
index 3c6cfa50f958..95be824a9f72 100644
--- a/net-irc/kvirc/kvirc-9999.ebuild
+++ b/net-irc/kvirc/kvirc-9999.ebuild
@@ -1,33 +1,37 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-9999.ebuild,v 1.12 2008/09/14 19:48:27 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-9999.ebuild,v 1.13 2008/10/26 19:16:43 scarabeus Exp $
-EAPI="1"
+EAPI="2"
+NEED_KDE=":4.1"
inherit cmake-utils multilib subversion
DESCRIPTION="Advanced IRC Client"
HOMEPAGE="http://www.kvirc.net/"
+SRC_URI=""
+ESVN_REPO_URI="https://svn.kvirc.de/svn/trunk/kvirc"
+ESVN_PROJECT="kvirc"
+
LICENSE="kvirc"
-SLOT="4"
+SLOT="4.1"
KEYWORDS=""
-IUSE="audiofile +crypt +dcc_voice debug doc +gsm +ipc ipv6 kde nls profile +qt-dbus qt-phonon qt-webkit ssl +transparency"
+IUSE="audiofile +crypt +dcc_voice debug doc +gsm +ipc ipv6 kde +nls profile +phonon +ssl +transparency"
RDEPEND="
+ !net-irc/kvirc:0
+ !net-irc/kvirc:4
sys-libs/zlib
- x11-libs/qt-core
- x11-libs/qt-gui
- x11-libs/qt-qt3support
+ x11-libs/qt-gui[qt3support,dbus]
+ x11-libs/qt-webkit
audiofile? ( media-libs/audiofile )
- kde? ( kde-base/kdelibs:kde-4 )
- qt-dbus? ( x11-libs/qt-dbus )
- qt-phonon? ( x11-libs/qt-phonon )
- qt-webkit? ( x11-libs/qt-webkit )
+ kde? ( kde-base/kdelibs:4.1 )
+ phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
- sys-devel/gettext
+ nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
DOCS="ChangeLog TODO"
@@ -43,12 +47,14 @@ src_unpack() {
sed -i -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" r${VERSIO_PRAESENS}\"/" src/kvirc/ui/kvi_frame.cpp || die "Failed to set revision number"
}
-src_compile() {
+src_configure() {
local mycmakeargs="
-DCMAKE_INSTALL_PREFIX=/usr
-DCOEXISTENCE=1
-DLIB_INSTALL_PREFIX="/usr/$(get_libdir)"
-DVERBOSE=1
+ -DWANT_QTDBUS=1
+ -DWANT_QTWEBKIT=1
$(cmake-utils_use_want audiofile AUDIOFILE)
$(cmake-utils_use_want crypt CRYPT)
$(cmake-utils_use_want dcc_voice DCC_VOICE)
@@ -59,12 +65,10 @@ src_compile() {
$(cmake-utils_use_want ipv6 IPV6)
$(cmake-utils_use_want kde KDE4)
$(cmake-utils_use_want nls GETTEXT)
+ $(cmake-utils_use_want phonon PHONON)
$(cmake-utils_use_want profile MEMORY_PROFILE)
- $(cmake-utils_use_want qt-dbus QTDBUS)
- $(cmake-utils_use_want qt-phonon PHONON)
- $(cmake-utils_use_want qt-webkit QTWEBKIT)
$(cmake-utils_use_want ssl OPENSSL)
$(cmake-utils_use_want transparency TRANSPARENCY)"
- cmake-utils_src_compile
+ cmake-utils_src_configure
}