diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-26 01:24:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-26 01:24:16 +0000 |
commit | 3d54be7163994156fd80c5a215d5f3db99603f70 (patch) | |
tree | 54c169707d2be1d429925450bf945f342711b5fe /net-irc | |
parent | Mask quassel Alphas. (diff) | |
download | gentoo-2-3d54be7163994156fd80c5a215d5f3db99603f70.tar.gz gentoo-2-3d54be7163994156fd80c5a215d5f3db99603f70.tar.bz2 gentoo-2-3d54be7163994156fd80c5a215d5f3db99603f70.zip |
Initial import of Quassel, with a flag to enable/disable build of GUI client.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 10 | ||||
-rw-r--r-- | net-irc/quassel/Manifest | 4 | ||||
-rw-r--r-- | net-irc/quassel/metadata.xml | 16 | ||||
-rw-r--r-- | net-irc/quassel/quassel-0.2.0_alpha1.ebuild | 50 |
4 files changed, 80 insertions, 0 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog new file mode 100644 index 000000000000..22369ff95788 --- /dev/null +++ b/net-irc/quassel/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2008/02/26 01:24:16 flameeyes Exp $ + +*quassel-0.2.0_alpha1 (26 Feb 2008) + + 26 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml, + +quassel-0.2.0_alpha1.ebuild: + Initial import of Quassel, with a flag to enable/disable build of GUI client. + diff --git a/net-irc/quassel/Manifest b/net-irc/quassel/Manifest new file mode 100644 index 000000000000..b9adb6646607 --- /dev/null +++ b/net-irc/quassel/Manifest @@ -0,0 +1,4 @@ +DIST quassel-0.2.0-alpha1.tar.bz2 919272 RMD160 8ebb61f525a49b2dc91d8985273e844d3e7b8879 SHA1 c437026f7db02548507a101d37e8f00d54439000 SHA256 3b64f29922fe8720488d9b22d8db49df72ba23a40aa46182cbd4813c14cdf525 +EBUILD quassel-0.2.0_alpha1.ebuild 1115 RMD160 530e0d910a14fd6f4eed20728e1b6604e0fedeb7 SHA1 d1cb4e88148c97b32b1f76ab02a2849034926438 SHA256 a9ebaa5b9a87043e54576076a954fe5c031d92fe7db42b5f9780e4ae3e5f0e0c +MISC ChangeLog 334 RMD160 f4aebb953e9079fb5c8d065b317004b6e40c8938 SHA1 0b60bd850da3e5e267ec5b219653314014abd53e SHA256 c821ab0274944c2131747d00af0a9b54e3db1bcebafb0e8fc4775784779ead98 +MISC metadata.xml 505 RMD160 c1e365560a7938ea6ce218f3624b8c96a738d7ca SHA1 66c409b535ea77b7fbe1301210bcb3f17124d3a3 SHA256 496b4e75e14a40eacfbeebc935089e7fbfb35965289d987e966a3a97531bc12a diff --git a/net-irc/quassel/metadata.xml b/net-irc/quassel/metadata.xml new file mode 100644 index 000000000000..560ac06831f2 --- /dev/null +++ b/net-irc/quassel/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-irc</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> + <use> + <flag name="X"> + Also build the Qt 4 GUI client for quassel. If this USE flag is + disabled, only the core (server) binary is built. You might want + to disable this on the server, but you need it enabled on the + client. + </flag> + </use> +</pkgmetadata> diff --git a/net-irc/quassel/quassel-0.2.0_alpha1.ebuild b/net-irc/quassel/quassel-0.2.0_alpha1.ebuild new file mode 100644 index 000000000000..31b78ef57539 --- /dev/null +++ b/net-irc/quassel/quassel-0.2.0_alpha1.ebuild @@ -0,0 +1,50 @@ +# 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.0_alpha1.ebuild,v 1.1 2008/02/26 01:24:16 flameeyes Exp $ + +EAPI=1 + +inherit qt4 + +MY_P="${P/_alpha/-alpha}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Core/client IRC client." +HOMEPAGE="http://quassel-irc.org/" +SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2" + +LICENSE="GPL-3" + +KEYWORDS="~amd64" + +SLOT="0" + +IUSE="X debug" + +RDEPEND="$(qt4_min_version 4.0)" +DEPEND="${RDEPEND}" + +pkg_setup() { + if ! built_with_use x11-libs/qt:4 sqlite3; then + eerror "Quassel require Qt 4 built with SQLite support" + eerror "Please rebuild x11-libs/qt:4 with sqlite3 USE flag enabled." + die "Missing sqlite3 support in x11-libs/qt:4" + fi +} + +src_compile() { + local BUILD="core" + use X && BUILD="${BUILD} qtclient" + + eqmake4 ${PN}.pro BUILD="${BUILD}" || die "eqmake4 failed" + emake || die "emake failed" +} + +src_install() { + local targets="build/targets/quasselcore" + use X && targets="${targets} build/targets/quasselclient" + dobin $targets || die "quasselcore install failed" + + dodoc ChangeLog README README.Qtopia dev-notes/paulk-notes.txt \ + dev-notes/ROADMAP +} |