Mercurial > hg > portage
changeset 395:041db1ee4881
the version from git builds fine again
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 11 Jun 2015 17:38:25 +0200 |
parents | 323ff9881d83 |
children | af9fcfc5c007 |
files | net-im/psi-plus/Manifest net-im/psi-plus/psi-plus-0.16.457.ebuild |
diffstat | 2 files changed, 140 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net-im/psi-plus/Manifest Thu Jun 11 16:18:32 2015 +0200 +++ b/net-im/psi-plus/Manifest Thu Jun 11 17:38:25 2015 +0200 @@ -2,6 +2,8 @@ DIST 0.16.449.tar.gz 8277518 SHA256 3c3e0f464dc342f6803adca0294b6943d19113799c678bf58233a6dc59783e68 SHA512 8c1053e573ac255e0654fad430a065c9d67144a775e3cde47f0a94b07d642816630a2cee9e5e8e62da0f1f4d70c495289b525b40cbc8eea629fa316f3928f365 WHIRLPOOL cc304c34b639cd1c7d8a469f877612422e5e87153b8d21f51622ac6537d562ce3733b751264533bf24d2e215b73c3c5f51bf8d57d0068bf9624bde658ea50836 DIST 0.16.451.tar.gz 8276448 SHA256 131ca10f8c7f57d90a21e7f1e2f5656366ef96ab4eefa625fc5b9e313d52c749 SHA512 e67eb9845d949effe9d23189ec60e6ba04b25e8b857fd8ed679ab7087d29c71065ed59cc45a5863f4c7626ff6a002e4a72c54791e4e8e64d739122d48a27546d WHIRLPOOL b04c082e5ff5fe75dfe536d5b2b6ebf6021388c43995875b40b49fb449243a2e025009df47910023f1acf1963525f8f6b25e284e788a9f53f736a4f97ae52791 DIST 0.16.452.tar.gz 8275785 SHA256 d64f3d39804699878abe134a1b4aa64b9586307b0da6ef20477fb2db9beef327 SHA512 f530c620ffafe8365e54f9ebfab7fa966dceb3858c43ab6baf89b4a0d196db39fe1887f9ee92120301b163b3f37f6e30acb09cc397d55636fe38a531a7ab0d21 WHIRLPOOL 624c902f20f89342956d0e275207762d6a8afd98dfe908b3e2e036fa842dadea931c29776fa9320ed644b3477b5c5f9bc8941170011b18b1d931f764c45e64d7 +DIST 0.16.457.tar.gz 8260942 SHA256 78b46bfcb9146447662165d91ff815d50e55a30026772a5f32c2af6be7715648 SHA512 27c8de43fd2aee637fc2165e6f1fbd830a0b7c4cef928bdaf9fbbc9cb78bee27b66c97a6432bd396ee522fbd15972459b9cb608011a9949873f6ef25a4ed6fbd WHIRLPOOL 5e5a3acd913ee19da8e5d627e2c5305148e8a9e886fe3e923aefa3d544c60a509d7e3944c413913f5e2b3db9ac534c0a15de55b663b0696b943aad8f8ea7ff78 EBUILD psi-plus-0.16.449.ebuild 2966 SHA256 5e7331db84666a4625faa78ca36fe70356c9095fbe31acd7410e638b8ca0c707 SHA512 c31e89d6b6049c0224ab6882983dde0171505ecde8e2435bd022a6c4a8f9e489e79998f5b2d2d9702c78b51e4e98d4ef2374263d6ee0dc8da220b944da3157c5 WHIRLPOOL 19e29f9de540fbadb3a186c0599506a4f34b98a53fde56d0a4a8c8bb24c787237876cff8e50766374f0900e2f5b82b2c832bb042e05a8cbdd0eb1fe1046be985 EBUILD psi-plus-0.16.451.ebuild 3005 SHA256 9219c6eae1424b0bad2849438c489a2026470449e3b740415313c9cffc74c7c8 SHA512 918d5ef71fac33a92e4b327f5aef4e34122f3329549311a230be0f2fc9922d1dfd8d93a6640b65cc21d9bed23741e848619ff0b00097b7f1309400055f1eef72 WHIRLPOOL de95536df386b114e2ea6af64edcf8ca270ebfff02bd1bb29b705b7f70b580ff20772ea90499240654260d23616b7ee1576026ec69a7739bff8f1ffb08e37872 EBUILD psi-plus-0.16.452.ebuild 3000 SHA256 eaef0e973d0d6cdb366f3e73f0b307607748b463a0786d845904b05c513fa081 SHA512 b5ef6164b97911617e84ba9eda2d40b5a2a29715168d777e619fb5bf66bb48560106f8fb873beb66e9d5dd1af4be3c3dd2a34b6fbef0b40d1bc54dedf8e512dd WHIRLPOOL 639459e6af5d671f97ebfe30a5d803cb5f82667e1d1f97b62c2e53fc47f9c197355fe140ea4e524249326a27be712811678f4b84ff0518e1674c13af663df85c +EBUILD psi-plus-0.16.457.ebuild 3034 SHA256 40c3fe7f7fd647257237abe8bdce9a25157831d46cbed27cc59ee6d1e5a0c604 SHA512 1be230e00f79ae60e14acf56688857845af8e6e35d9bd3872018935964f9c8291fa9a41f347e2b6653ddc94b8eb8a26713831b7bf102f99a1d3748aa64024fc0 WHIRLPOOL 1977ec48f7e0931b9f445ba707cb321d0c12ca26a901406d320cff6075d80518c441461c73d6458e56c283ded928853f8c24bc318757f691e8078cdcfb9ca09b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/psi-plus/psi-plus-0.16.457.ebuild Thu Jun 11 17:38:25 2015 +0200 @@ -0,0 +1,138 @@ + +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="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="autoreplyplugin crypt dbus debug doc jingle otrplugin plugins spell ssl xscreensaver watcherplugin whiteboarding" +#RESTRICT="test" + +RDEPEND="app-arch/unzip + >=dev-qt/qtgui-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] ) + otrplugin? ( net-libs/libotr app-text/htmltidy )" + +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 + --with-qca-inc=/usr/include/qca2 + --with-qca-lib=/usr/lib64/qca2 + $(use dbus || echo '--disable-qdbus') + $(use debug && echo '--debug') + $(use plugins && echo '--enable-plugins') + $(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() { + emake || die "emake failed" + + if use autoreplyplugin; then + cd src/plugins/generic/autoreplyplugin + qmake + make + cd ../../../.. + fi + + if use otrplugin; then + cd src/plugins/generic/otrplugin + qmake + make + cd ../../../.. + fi + + if use watcherplugin; then + cd src/plugins/generic/watcherplugin + qmake + make + cd ../../../.. + fi +} + +src_install() { + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + dodoc README TODO ChangeLog + + if use autoreplyplugin; then + cd src/plugins/generic/autoreplyplugin + + local plugindir="/usr/$(get_libdir)/psi-plus/plugins" + dodir "${plugindir}" + insinto "${plugindir}" + doins libautoreplyplugin.so + + cd ../../../.. + fi + + if use otrplugin; then + cd src/plugins/generic/otrplugin + + local plugindir="/usr/$(get_libdir)/psi-plus/plugins" + dodir "${plugindir}" + insinto "${plugindir}" + doins libotrplugin.so + + cd ../../../.. + fi + + if use watcherplugin; then + cd src/plugins/generic/watcherplugin + + local plugindir="/usr/$(get_libdir)/psi-plus/plugins" + dodir "${plugindir}" + insinto "${plugindir}" + doins libwatcherplugin.so + + cd ../../../.. + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}