diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-10-09 02:05:51 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-09 23:40:10 +1100 |
commit | 41370b8a0a71e06d09487d321b8e45b0eeb80c63 (patch) | |
tree | b5a62410a020d624497fa4ec887882e6d84064ad /net-im/psi/psi-0.14-r4.ebuild | |
parent | kernel-2.eclass: deblobbed kernels are supported for security, bug #555878. (diff) | |
download | gentoo-41370b8a0a71e06d09487d321b8e45b0eeb80c63.tar.gz gentoo-41370b8a0a71e06d09487d321b8e45b0eeb80c63.tar.bz2 gentoo-41370b8a0a71e06d09487d321b8e45b0eeb80c63.zip |
net-im/psi: remove old
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-im/psi/psi-0.14-r4.ebuild')
-rw-r--r-- | net-im/psi/psi-0.14-r4.ebuild | 171 |
1 files changed, 0 insertions, 171 deletions
diff --git a/net-im/psi/psi-0.14-r4.ebuild b/net-im/psi/psi-0.14-r4.ebuild deleted file mode 100644 index fe68d9c2749e..000000000000 --- a/net-im/psi/psi-0.14-r4.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils qt4-r2 multilib - -MY_P="${P/_rc/-rc}" - -DESCRIPTION="Qt4 Jabber client, with Licq-like interface" -HOMEPAGE="http://psi-im.org/" -# Langpack: -# http://lists.affinix.com/pipermail/psi-devel-affinix.com/2009-August/008798.html -# Later found his site: http://fs.scs-tsa.de/psi_l10n/ -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 - http://fs.scs-tsa.de/psi_l10n/psi-0.14_langpack_for_packagers_2009-12-02.zip - extras? ( mirror://gentoo/${PN}-extra-patches-r1428.tar.bz2 - mirror://gentoo/${PN}-extra-iconsets-r1428.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd" -IUSE="crypt dbus debug doc extras jingle spell ssl xscreensaver webkit" -RESTRICT="test" - -LANGS="be cs de fr it ja pl pt_BR ru sl sv ur_PK zh_TW" -for LNG in ${LANGS}; do - IUSE="${IUSE} linguas_${LNG}" - #SRC_URI="${SRC_URI} http://psi-im.org/download/lang/psi_${LNG/ur_PK/ur_pk}.qm" -done - -RDEPEND=" - app-arch/unzip - =app-crypt/qca-2.0*[qt4(+)] - dev-qt/qt3support:4 - dev-qt/qtcore:4 - dev-qt/qtgui:4[qt3support] - >=sys-libs/zlib-1.2.5.1-r2[minizip] - dbus? ( dev-qt/qtdbus:4 ) - extras? ( webkit? ( dev-qt/qtwebkit:4 ) ) - spell? ( >=app-text/enchant-1.3.0 ) - xscreensaver? ( x11-libs/libXScrnSaver ) -" -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] ) -" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}/psi-0.14-qt-compat.patch" - epatch "${FILESDIR}/psi-0.14-minizip-detection.patch" - epatch "${FILESDIR}/psi-0.14-input-validation.patch" - epatch "${FILESDIR}/psi-0.14-drop-debug-cflags.patch" - sed -i '/#include <errno.h>/a #include <unistd.h>' \ - iris/src/irisnet/corelib/netinterface_unix.cpp || die 'sed failed' - - if use extras; then - # some patches from psi+ project https://code.google.com/p/psi-dev - ewarn "You're about to build heavily patched version of Psi called Psi+." - ewarn "It has really nice features but still is under heavy development." - ewarn "Take a look at homepage for more info: https://code.google.com/p/psi-dev" - ewarn "If you wish to disable some patches just put" - ewarn "MY_EPATCH_EXCLUDE=\"list of patches\"" - ewarn "into /etc/portage/env/${CATEGORY}/${PN} file." - ewarn - ewarn "Note: some patches depend on other. So if you disabled some patch" - ewarn "and other started to fail to apply, you'll have to disable patches" - ewarn "that fail too." - - EPATCH_EXCLUDE="${MY_EPATCH_EXCLUDE} - 005-less-includes.diff - 755-psiplus-fix-application-info-defines.diff - 9999-psiplus-application-info.diff" \ - EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch - sed -e 's/\(^#define PROG_CAPS_NODE \).*/\1"http:\/\/psi-dev.googlecode.com\/caps";/' \ - -e 's:\(^#define PROG_NAME "Psi\):\1+:' \ - -i src/applicationinfo.cpp || die - else - if use webkit; then - ewarn "Webkit support disabled as it is only available in Psi+" - ewarn "(USE='extras' enabled)." - fi - fi - - qconf || die "Failed to create ./configure." - rm -rf third-party/qca || die # We use system libraries. -} - -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-bundled-qca - --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 extras && { use webkit && echo '--enable-qtwebkit';} )" - - 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() { - emake INSTALL_ROOT="${D}" install - rm "${D}"/usr/share/psi/{COPYING,README} || die - - # 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 - cd "${WORKDIR}" || die - insinto /usr/share/${PN}/ - local nolangs=true - for LNG in ${LANGS}; do - if use linguas_${LNG}; then - doins ${LNG}/${PN}_${LNG}.qm - newins ${LNG}/INFO INFO.${LNG} - nolangs=false - fi - done - - # if linguas is empty install all translations - if ${nolangs}; then - for LNG in ${LANGS}; do - doins ${LNG}/${PN}_${LNG}.qm - newins ${LNG}/INFO INFO.${LNG} - done - fi - - if use extras; then - cp -a "${WORKDIR}"/iconsets/* "${D}"/usr/share/${PN}/iconsets/ || die - fi -} |