diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-30 15:06:36 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-30 15:06:36 +0000 |
commit | c7fd40abbef6b4f73523cb923598ff7a944d9e58 (patch) | |
tree | 3f068d5cbb0b44a7b938bd54c5df2ca4ae852548 /net-irc | |
parent | Version bump, drop old (diff) | |
download | gentoo-2-c7fd40abbef6b4f73523cb923598ff7a944d9e58.tar.gz gentoo-2-c7fd40abbef6b4f73523cb923598ff7a944d9e58.tar.bz2 gentoo-2-c7fd40abbef6b4f73523cb923598ff7a944d9e58.zip |
Move live ebuild to eapi4.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/quassel/quassel-9999.ebuild | 37 |
2 files changed, 20 insertions, 24 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog index e3bf79ab4257..661d52ee3f06 100644 --- a/net-irc/quassel/ChangeLog +++ b/net-irc/quassel/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/quassel -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.119 2010/11/04 14:46:11 scarabeus Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.120 2011/01/30 15:06:36 scarabeus Exp $ + + 30 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org> quassel-9999.ebuild: + Move live ebuild to eapi4. 04 Nov 2010; Tomáš Chvátal <scarabeus@gentoo.org> quassel-9999.ebuild, metadata.xml: diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild index cacc8f2438de..9aaca151b2ed 100644 --- a/net-irc/quassel/quassel-9999.ebuild +++ b/net-irc/quassel/quassel-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.55 2010/11/04 14:46:11 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.56 2011/01/30 15:06:36 scarabeus Exp $ -EAPI=3 +EAPI=4 EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" EGIT_BRANCH="master" @@ -55,14 +55,6 @@ RDEPEND=" server? ( ${SERVER_RDEPEND} ) X? ( ${GUI_RDEPEND} ) ) - !monolithic? ( - !server? ( - !X? ( - ${SERVER_RDEPEND} - ${GUI_RDEPEND} - ) - ) - ) " DEPEND="${RDEPEND}" @@ -70,15 +62,18 @@ DOCS="AUTHORS ChangeLog README" S="${WORKDIR}/${P/_/-}" -pkg_setup() { - if ! use monolithic && ! use server && ! use X ; then - ewarn "You have to build at least one of the monolithic client (USE=monolithic)," - ewarn "the quasselclient (USE=X) or the quasselcore (USE=server)." - echo - ewarn "Enabling monolithic by default." - FORCED_MONO="yes" - fi +REQUIRED_USE=" + || ( X server monolithic ) + crypt? ( || ( server monolithic ) ) + postgres? ( || ( server monolithic ) ) + kde? ( || ( X monolithic ) ) + phonon? ( || ( X monolithic ) ) + dbus? ( || ( X monolithic ) ) + ayatana? ( || ( X monolithic ) ) + webkit? ( || ( X monolithic ) ) +" +pkg_setup() { if use server; then QUASSEL_DIR=/var/lib/${PN} QUASSEL_USER=${PN} @@ -104,8 +99,6 @@ src_configure() { "-DEMBED_DATA=OFF" ) - [[ ${FORCED_MONO} == "yes" ]] && mycmakeargs+=( '-DWANT_MONO=ON' ) - cmake-utils_src_configure } @@ -128,7 +121,7 @@ src_install() { } pkg_postinst() { - if ( use monolithic || [[ "${FORCED_MONO}" == "yes" ]] ) && use ssl ; then + if use monolithic && use ssl ; then elog "Information on how to enable SSL support for client/core connections" elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc." fi |