summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-08-27 14:23:49 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-08-27 14:23:49 +0000
commitbe5ce445070f53d19152d9522a6d7a21c1d0c4bf (patch)
tree9f09c69d500e916f4f8fb386bab266647dbb6137 /net-irc
parentstable amd64, bug #234740. Enable prestrip patch from version 2.0.8. (diff)
downloadgentoo-2-be5ce445070f53d19152d9522a6d7a21c1d0c4bf.tar.gz
gentoo-2-be5ce445070f53d19152d9522a6d7a21c1d0c4bf.tar.bz2
gentoo-2-be5ce445070f53d19152d9522a6d7a21c1d0c4bf.zip
0Hour Version bump :D
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/quassel/ChangeLog7
-rw-r--r--net-irc/quassel/quassel-0.3.0.ebuild82
2 files changed, 88 insertions, 1 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog
index 6ec075dc69a5..c2938d6ae723 100644
--- a/net-irc/quassel/ChangeLog
+++ b/net-irc/quassel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/quassel
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.23 2008/08/26 12:01:44 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.24 2008/08/27 14:23:49 jokey Exp $
+
+*quassel-0.3.0 (27 Aug 2008)
+
+ 27 Aug 2008; Markus Ullmann <jokey@gentoo.org> +quassel-0.3.0.ebuild:
+ 0Hour Version bump :D
26 Aug 2008; Markus Ullmann <jokey@gentoo.org> +files/quasselcore.conf,
+files/quasselcore.init, metadata.xml, quassel-0.2.0_rc1.ebuild,
diff --git a/net-irc/quassel/quassel-0.3.0.ebuild b/net-irc/quassel/quassel-0.3.0.ebuild
new file mode 100644
index 000000000000..7fa2409a4b1e
--- /dev/null
+++ b/net-irc/quassel/quassel-0.3.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.3.0.ebuild,v 1.1 2008/08/27 14:23:49 jokey Exp $
+
+EAPI=1
+
+inherit cmake-utils eutils
+
+MY_P="${P/_/-}"
+DESCRIPTION="Core/client IRC client."
+HOMEPAGE="http://quassel-irc.org/"
+SRC_URI="http://quassel-irc.org/pub/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+KEYWORDS=""
+SLOT="0"
+IUSE="+X +server debug"
+
+RDEPEND="x11-libs/qt-core:4
+ server? (
+ x11-libs/qt-sql:4
+ x11-libs/qt-script:4
+ )
+ X? ( x11-libs/qt-gui:4 )"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.7"
+
+DOCS="ChangeLog README README.Qtopia"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! use server && ! use X; then
+ eerror "You have to build one or both of quassel client or server."
+ die "Both server and X USE flags unset."
+ fi
+
+ qt44=$(has_version x11-libs/qt-sql && echo yes || echo no)
+ if use server && ! built_with_use $([[ ${qt44} == "yes" ]] && echo "x11-libs/qt-sql sqlite" || echo "x11-libs/qt:4 sqlite3"); then
+ eerror "Quassel require Qt 4 built with SQLite support"
+ if [[ ${qt44} == "yes" ]]; then
+ eerror "Please rebuild x11-libs/qt-sql:4 with sqlite USE flag enabled."
+ die "Missing sqlite support in x11-libs/qt-sql:4"
+ else
+ eerror "Please rebuild x11-libs/qt:4 with sqlite3 USE flag enabled."
+ die "Missing sqlite3 support in x11-libs/qt:4"
+ fi
+ fi
+}
+
+src_compile() {
+ local mycmakeargs="
+ $(cmake-utils_use_want server CORE)
+ $(cmake-utils_use_want X QTCLIENT)
+ -DWANT_MONO=OFF
+ "
+
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # Only install the icons if the X client was installed
+ if use X; then
+ insinto /usr/share/icons/hicolor
+ # avoid the connected/ directory, get only the ${size}x${size}
+ doins -r "${S}"/src/icons/quassel/*x*
+ fi
+
+ if use server; then
+ newinitd "${FILESDIR}"/quasselcore.init quasselcore
+ newconfd "${FILESDIR}"/quasselcore.conf quasselcore
+ fi
+}
+
+pkg_postinst() {
+ if use server; then
+ ewarn "In order to use the quassel init script you must set the"
+ ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username."
+ fi
+}