summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-16 19:54:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-16 19:54:02 +0000
commit47c1217f18e5aa4d6cba79614d02a4e76928ac36 (patch)
treecb1aaecb7808155c578a2971a241e8cd9d3a50bc /net-irc
parentMarked ~hppa again (bug #227631). (diff)
downloadhistorical-47c1217f18e5aa4d6cba79614d02a4e76928ac36.tar.gz
historical-47c1217f18e5aa4d6cba79614d02a4e76928ac36.tar.bz2
historical-47c1217f18e5aa4d6cba79614d02a4e76928ac36.zip
Add live ebuild for 0.2 branch.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/quassel/ChangeLog8
-rw-r--r--net-irc/quassel/Manifest9
-rw-r--r--net-irc/quassel/quassel-0.2.9999.ebuild89
3 files changed, 101 insertions, 5 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog
index c62741701154..0886b1560571 100644
--- a/net-irc/quassel/ChangeLog
+++ b/net-irc/quassel/ChangeLog
@@ -1,6 +1,12 @@
# 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.16 2008/06/16 16:19:11 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.17 2008/06/16 19:54:02 flameeyes Exp $
+
+*quassel-0.2.9999 (16 Jun 2008)
+
+ 16 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +quassel-0.2.9999.ebuild:
+ Add live ebuild for 0.2 branch.
*quassel-9999-r1 (16 Jun 2008)
diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest
index 817fc7a37301..c3c8f360720a 100644
--- a/net-irc/quassel/Manifest
+++ b/net-irc/quassel/Manifest
@@ -3,13 +3,14 @@ Hash: SHA1
DIST quassel-0.2.0-beta1.tar.bz2 967029 RMD160 8ae5af27714b60f38b123f6b0bbef9da4c8b1ffe SHA1 36fe1f1352f79f77d824d076add4e9e24c49ba75 SHA256 b57e9736e40f43233902b8903ed9681fda2deadf9a3e31a75d3a7726b0c784ef
EBUILD quassel-0.2.0_beta1.ebuild 2225 RMD160 a5e6fc160138f5fa18cf5c9508772d1b3af8d4d0 SHA1 8cdc8d0e9f38213e2501c3caa94db9d79e172c48 SHA256 c6877e7aedebdaed044566df5cfb6c348e01ab4d9c6b5ec0a5d03d7944a4100c
+EBUILD quassel-0.2.9999.ebuild 2097 RMD160 63eb3393a446411bc3b73c420f0b798bc5532fea SHA1 72b168479cc5b0794e9e4af0bf00752326a9af9a SHA256 eaff6843e963cb69c7b7fa63e14b2ef6fe60617415dc29f42e5d1797ca2c9275
EBUILD quassel-9999-r1.ebuild 2096 RMD160 afcaee215918ed939579e3ab6edea505edb9a9e1 SHA1 28eebf0ceb25b9219c21c71c72bc71d18a291a06 SHA256 12cfb4de3e2bd1d45f2486f195eb8ad9a9ce76be501204ad284cc4906586d4ea
-MISC ChangeLog 3119 RMD160 b505906e59f842b38f6355dbac977bf89e4588f6 SHA1 5ac3a32c5dbc42600543439921ed0388ccd02cc8 SHA256 2c912cd68f9e2e7265a8ec9355560bdbd2d11685033040fca01385ec1218038d
+MISC ChangeLog 3268 RMD160 db722272da8ca248054942905cd5749ddb6516eb SHA1 5cafc35a5e54c1a80b6804ed88fa74181b956ac1 SHA256 0c0fea657a2cd4c590c6b557ab97c2d917256ac61b21f2e3852af2b7ac11ffc4
MISC metadata.xml 774 RMD160 010aec105a64c3df2588c730d486141c8a012fde SHA1 4ffb676c8c4fb09165ddb5b4290fc45cc669ceff SHA256 3dc9c83a72739921a5c7197db9f634cfe84dfd49f12fd4804252e3c583ecf799
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhWkoYACgkQAiZjviIA2XiXNACbBUF9Z00xNA6/7UwadzTn8pMN
-OXkAoJ4IiL/WfWeXn8/E/4GRCCqJWNrg
-=QCh4
+iEYEARECAAYFAkhWxOAACgkQAiZjviIA2XgVPwCcCflcxXZMgTFzphNuhfSgx1Sb
+af4An2Fm2s6rHIrj71In00sCEns3+Jh1
+=m+CK
-----END PGP SIGNATURE-----
diff --git a/net-irc/quassel/quassel-0.2.9999.ebuild b/net-irc/quassel/quassel-0.2.9999.ebuild
new file mode 100644
index 000000000000..e41e5ebbbed9
--- /dev/null
+++ b/net-irc/quassel/quassel-0.2.9999.ebuild
@@ -0,0 +1,89 @@
+# 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.2.9999.ebuild,v 1.1 2008/06/16 19:54:02 flameeyes Exp $
+
+EAPI=1
+
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git
+ EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
+
+ case ${PV} in
+ 0.2.9999) EGIT_BRANCH="0.2" ;;
+ *) EGIT_BRANCH="master"
+ esac
+else
+ MY_P="${P/_/-}"
+ SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2"
+ S=${WORKDIR}/${MY_P}
+fi
+
+DESCRIPTION="Core/client IRC client."
+HOMEPAGE="http://quassel-irc.org/"
+
+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 )
+ )
+ =x11-libs/qt-4.3*:4
+ )"
+DEPEND="${RDEPEND}"
+
+DOCS="ChangeLog README README.Qtopia"
+
+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
+ local size
+ for size in 16 24 32 48 64 96 128 256 512; do
+ insinto /usr/share/icons/hicolor/${size}x${size}
+ newins "${S}"/src/icons/quassel/connected/${size}.png quassel.png
+ done
+ fi
+}