diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-24 10:41:41 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-24 10:41:41 +0000 |
commit | 97d9533430383ae406ab360286b3feb4b94a70d9 (patch) | |
tree | 575ec019e578e4861914ecf3c9522daae8e516b1 /net-im/psi | |
parent | Marked ~ppc-macos, bug #449786 (diff) | |
download | gentoo-2-97d9533430383ae406ab360286b3feb4b94a70d9.tar.gz gentoo-2-97d9533430383ae406ab360286b3feb4b94a70d9.tar.bz2 gentoo-2-97d9533430383ae406ab360286b3feb4b94a70d9.zip |
Version bump, wrt bug #410911. Psi+ support has been removed for now
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-im/psi')
-rw-r--r-- | net-im/psi/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/psi/psi-0.15.ebuild | 109 |
2 files changed, 115 insertions, 1 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index 378304a5a4a5..5f9f825e46db 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/psi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.233 2013/03/17 15:21:13 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.234 2013/03/24 10:41:41 pinkbyte Exp $ + +*psi-0.15 (24 Mar 2013) + + 24 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +psi-0.15.ebuild: + Version bump, wrt bug #410911. Psi+ support has been removed for now 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Add proxy-maintainers to metadata.xml diff --git a/net-im/psi/psi-0.15.ebuild b/net-im/psi/psi-0.15.ebuild new file mode 100644 index 000000000000..5801bdf79fbe --- /dev/null +++ b/net-im/psi/psi-0.15.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.15.ebuild,v 1.1 2013/03/24 10:41:41 pinkbyte Exp $ + +EAPI=5 + +PLOCALES="be cs de fr it ja pl pt_BR ru sl sv ur_PK zh_TW" +inherit eutils l10n multilib qt4-r2 readme.gentoo + +DESCRIPTION="Qt4 Jabber client, with Licq-like interface" +HOMEPAGE="http://psi-im.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +for LNG in ${PLOCALES}; do + SRC_URI="${SRC_URI} + linguas_${LNG}? ( http://psi-im.org/download/lang/${PN}_${LNG}.qm -> ${P}_${LNG}.qm )" +done + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="crypt dbus debug doc jingle spell ssl xscreensaver whiteboarding" +RESTRICT="test" + +RDEPEND="app-arch/unzip + >=dev-qt/qtgui-4.7:4[qt3support,dbus?] + >=dev-qt/qt3support-4.7:4 + >=app-crypt/qca-2.0.2:2 + spell? ( >=app-text/enchant-1.3.0 ) + xscreensaver? ( x11-libs/libXScrnSaver ) + whiteboarding? ( dev-qt/qtsvg:4 ) + || ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 )" + +DEPEND="${RDEPEND} + sys-devel/qconf + doc? ( app-doc/doxygen )" + +PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) + jingle? ( net-im/psimedia + app-crypt/qca-ossl:2 ) + ssl? ( app-crypt/qca-ossl:2 )" + +DOC_CONTENTS='Psi+ support(USE="extras") was removed from ebuild since 0.15' +FORCE_PRINT_ELOG=1 + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.14-drop-debug-cflags.patch" + epatch_user + + qconf || die "Failed to create ./configure." +} + +src_configure() { + # unable to use econf because of non-standard configure script + # disable growl as it is a MacOS X extension only + local confcmd="./configure + --prefix=/usr + --qtdir=/usr + --disable-growl + $(use dbus || echo '--disable-qdbus') + $(use debug && echo '--debug') + $(use spell || echo '--disable-aspell') + $(use spell || echo '--disable-enchant') + $(use xscreensaver || echo '--disable-xss') + $(use whiteboarding && echo '--enable-whiteboarding')" + + echo ${confcmd} + ${confcmd} || die "configure failed" + # Makefile is not always created... + [[ ! -f Makefile ]] && die "configure failed" +} + +src_compile() { + eqmake4 + + emake + + if use doc; then + cd doc || die + mkdir -p api || die # 259632 + emake api_public + fi +} + +src_install() { + install_locale() { + newins "${DISTDIR}/${P}_${1}.qm" "${PN}_${1}.qm" + } + + emake INSTALL_ROOT="${D}" install + rm "${D}"/usr/share/psi/{COPYING,README} || die + + readme.gentoo_create_doc + + # this way the docs will be installed in the standard gentoo dir + newdoc iconsets/roster/README README.roster + newdoc iconsets/system/README README.system + newdoc certs/README README.certs + dodoc README + + if use doc; then + cd doc || die + dohtml -r api + fi + + # install translations + insinto /usr/share/${PN} + l10n_for_each_locale_do install_locale +} |