Mercurial > hg > portage
changeset 424:8ec6a5cbdf3c
update version
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 07 Oct 2016 06:00:35 +0200 |
parents | ae307de6d54f |
children | 191bf2252f8f |
files | net-im/psi-plus/Manifest net-im/psi-plus/psi-plus-0.16.564.585.ebuild |
diffstat | 2 files changed, 140 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net-im/psi-plus/Manifest Fri Oct 07 05:51:41 2016 +0200 +++ b/net-im/psi-plus/Manifest Fri Oct 07 06:00:35 2016 +0200 @@ -1,3 +1,5 @@ AUX qmake.patch 2010 SHA256 39824af9a7c91764f0503a61ce6b5796ae5ab8b8d9ca7fa07460ade48860dc69 SHA512 8f8aaef67c10d0c7ca1fd7c2c3123258b5b5785b7dc5eb2a2c7d8667048ec209cf61c26eb5f51c5547a7204b976103bf992c345814576191b26f7766e5162b98 WHIRLPOOL b0cf1b7596d08df27be2c9365aca67e5b1aa7b95d49051066bb814c5770c382f9b982cac7dd102eb1be325b500301dd15d818883c21ac0514c3da2f880820cdc DIST psi-plus-0.16.559.575.tar.gz 8335124 SHA256 457c5f20dc4ddb79a1e0cb368bf8f544332f203b7aead8b306690a874586dd44 SHA512 0038005cdb5b283eb65c82767d5f7bb80577cb38af3c732679b5d1ee5b2204f138da9a77fa54820289dccc94180ca84ea3f7f7ec829e9be72688304613a394db WHIRLPOOL 8638f47d8335e3f9f6d98645282f27679886c6d0b54ccdeb884dcf80ea59f274aafe7215c67247cc23d9d63c5601306881393be9a186a012a60933074ceae75b +DIST psi-plus-0.16.564.585.tar.gz 8343677 SHA256 7fe8fb686984c2fd3fabe4568e6fbdf0550af5a2733da4741069e12f5a7abb73 SHA512 2163ee0be10a1210c6f368a5662b5c9afc482b0cefa0ff36dd6b56424f65e33d83c8ad72b4ba57eccb9a37559226be64bee88e9c9a352b1233dffdf00f851839 WHIRLPOOL 7e3067bbcd19bc8b51bd8b196e9628a436cdd4b7b04fb13f64c65dd9e3dc852042947a6052860e2c4bcb63b3ff4ef746d8dedc42b29234da8c887bbd87d349ef EBUILD psi-plus-0.16.559.575.ebuild 3048 SHA256 6b330fbd4d91c2a5547e014e3761027d8c14667b308e33de9e0c5028c4d53e1f SHA512 41b927c7180675685235134e5ff1b73a8196d0f777f8cf948545b67c387730ac5245d76d59c7572116540d6149c3cd5c677186e2570a064af971536bd57da790 WHIRLPOOL d7390b90688a90480514b97e80dc59db7beaef7f2e873fed2f89699b5af82165f4284e4547d8da85e76b1eae9e167831799ca4a599527f5015f43d166f5ccae0 +EBUILD psi-plus-0.16.564.585.ebuild 3048 SHA256 6b330fbd4d91c2a5547e014e3761027d8c14667b308e33de9e0c5028c4d53e1f SHA512 41b927c7180675685235134e5ff1b73a8196d0f777f8cf948545b67c387730ac5245d76d59c7572116540d6149c3cd5c677186e2570a064af971536bd57da790 WHIRLPOOL d7390b90688a90480514b97e80dc59db7beaef7f2e873fed2f89699b5af82165f4284e4547d8da85e76b1eae9e167831799ca4a599527f5015f43d166f5ccae0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/psi-plus/psi-plus-0.16.564.585.ebuild Fri Oct 07 06:00:35 2016 +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 -> ${P}.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/QtCrypto + --with-qca-lib=/usr/lib64 + $(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 +}