Mercurial > hg > portage
changeset 378:2288352e429d
add a ebuild for psi plus
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 03 Mar 2015 11:03:08 +0100 |
parents | 368438494ded |
children | 8d5629e582b5 |
files | net-im/psi-plus/Manifest net-im/psi-plus/psi-plus-0.16.449.ebuild |
diffstat | 2 files changed, 78 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/psi-plus/Manifest Tue Mar 03 11:03:08 2015 +0100 @@ -0,0 +1,2 @@ +DIST 0.16.449.tar.gz 8277518 SHA256 3c3e0f464dc342f6803adca0294b6943d19113799c678bf58233a6dc59783e68 SHA512 8c1053e573ac255e0654fad430a065c9d67144a775e3cde47f0a94b07d642816630a2cee9e5e8e62da0f1f4d70c495289b525b40cbc8eea629fa316f3928f365 WHIRLPOOL cc304c34b639cd1c7d8a469f877612422e5e87153b8d21f51622ac6537d562ce3733b751264533bf24d2e215b73c3c5f51bf8d57d0068bf9624bde658ea50836 +EBUILD psi-plus-0.16.449.ebuild 1893 SHA256 a0a51cdc7aec80f168afcf7b825c0fefe2f605051eeea79f1faeaee046369aca SHA512 b965cd0b67727d184c428fb166c72fa9acc43df64b0295e80c15b63d0a863adde51461eabfd3b257de01445894b116e9090ba1835f0f74295b8ce729091dd84e WHIRLPOOL 90462e4668c0d4030bde4e046bdfe6c13b154e0dd7627aba9222ec0f4572b4ad5cedea38a8cad3c648349ff73cd8152d5ce5cd6d209299849264402fda65c47e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/psi-plus/psi-plus-0.16.449.ebuild Tue Mar 03 11:03:08 2015 +0100 @@ -0,0 +1,76 @@ + +EAPI=5 + +inherit eutils l10n multilib gnome2-utils qt4-r2 + +DESCRIPTION="Qt4 Jabber client, with Licq-like interface" +HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/" +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz" + +S="${WORKDIR}/psi-plus-snapshots-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crypt dbus debug doc jingle spell ssl xscreensaver whiteboarding" +#RESTRICT="test" + +RDEPEND="app-arch/unzip + >=dev-qt/qtgui-4.7:4[qt3support] + >=dev-qt/qt3support-4.7:4 + >=app-crypt/qca-2.0.2:2[qt4(+)] + x11-libs/libX11 + dbus? ( >=dev-qt/qtdbus-4.7:4 ) + 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:2[gpg] ) + jingle? ( net-im/psimedia + app-crypt/qca:2[openssl] ) + ssl? ( app-crypt/qca:2[openssl] )" + +#DOC_CONTENTS='Psi+ support(USE="extras") was removed from ebuild since 0.15' +#FORCE_PRINT_ELOG=1 + +src_prepare() { + epatch_user +} + +src_configure() { + # unable to use econf because of non-standard configure script + local confcmd="./configure + --prefix=/usr + --datadir=/usr/share + --libdir=/usr/lib64 + --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" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}