Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198044 - net-im/psi-0.11 version bump
Summary: net-im/psi-0.11 version bump
Status: RESOLVED DUPLICATE of bug 131528
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 129536
Blocks:
  Show dependency tree
 
Reported: 2007-11-04 11:05 UTC by Louis Miller
Modified: 2007-11-04 15:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Miller 2007-11-04 11:05:49 UTC
A few weeks ago the new Psi Jabber Client released. Since this time nothing new in portage and so I tried to write a little ebuild for my machine and it works

Reproducible: Always




# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit confutils eutils qt4

IUSE="doc jingle plugins sasl spell ssl xscreensaver"

DESCRIPTION="QT 4.x Jabber Client, with Licq-like interface"
HOMEPAGE="http://psi-im.org/"
SRC_URI="http://downloads.sourceforge.net/psi/psi-0.11.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ~x86"

S="${WORKDIR}/${P}"

PLUGINS="chess echo noughtsandcrosses"

RDEPEND="$(qt4_min_version 4.2)
        media-libs/libpng
        sys-libs/zlib
        dev-libs/glib
        jingle? ( ~net-libs/ortp-0.7.1
                media-libs/speex )
        sasl? ( dev-libs/cyrus-sasl )
        spell? ( app-text/aspell )
        ssl? ( dev-libs/openssl )
        xscreensaver? ( x11-libs/libXScrnSaver )"

DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen )"

pkg_setup() {
        if ! (built_with_use x11-libs/qt qt3support); then
                eerror "In order to compile Psi, you will need to recompile"
                eerror "qt-4.2 with qt3support USE-flag enabled."
                die "Recompile qt4 with qt3support use flag enabled"
        fi;
}

src_unpack() {
        unpack ${A}

        cd ${S}
}

src_compile() {
        local myconf

         ./configure --prefix=/usr ${myconf} || die "Configure failed"

        emake || die "Error: emake failed!"
}

src_install() {
        einfo "Installing"

        make DESTDIR="${D}" install || die "Make install failed"
}
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-11-04 15:20:05 UTC

*** This bug has been marked as a duplicate of bug 131528 ***