diff options
Diffstat (limited to 'kde-apps/kopete/kopete-3.5.10-r6.ebuild')
-rw-r--r-- | kde-apps/kopete/kopete-3.5.10-r6.ebuild | 166 |
1 files changed, 0 insertions, 166 deletions
diff --git a/kde-apps/kopete/kopete-3.5.10-r6.ebuild b/kde-apps/kopete/kopete-3.5.10-r6.ebuild deleted file mode 100644 index 868d4308..00000000 --- a/kde-apps/kopete/kopete-3.5.10-r6.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.5.10-r4.ebuild,v 1.11 2009/07/08 14:33:06 alexxy Exp $ - -EAPI="2" -KMNAME=kdenetwork -inherit kde-meta eutils - -SRC_URI="${SRC_URI} - http://www.thel.ro/kde-sunset/kdenetwork-3.5-patchset-02.tar.bz2" - -DESCRIPTION="KDE multi-protocol IM client" -HOMEPAGE="http://kopete.kde.org/" - -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" - -IUSE="emoticons-manager jingle ssl xscreensaver slp kernel_linux -kdehiddenvisibility opengl" -PLUGINS="addbookmarks alias autoreplace connectionstatus contactnotes crypt highlight history latex netmeeting nowlistening - statistics texteffect translator webpresence" -PROTOCOLS="gadu groupwise irc jabber oscar msn sametime sms v4l2 winpopup yahoo" -IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}" - -# Even more broken tests... -RESTRICT="test" - -# The kernel_linux? ( ) conditional dependencies are for webcams, not supported -# on other kernels AFAIK -BOTH_DEPEND=" - =app-crypt/qca-1.0* - >=dev-libs/glib-2 - dev-libs/libxml2 - dev-libs/libxslt - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrender - jabber? ( - net-dns/libidn - ) - jingle? ( - dev-libs/expat - >=media-libs/speex-1.1.6 - ~net-libs/ortp-0.7.1 - ) - kernel_linux? ( virtual/opengl ) - sametime? ( =net-libs/meanwhile-1.0* ) - sms? ( app-mobilephone/gsmlib ) - xscreensaver? ( x11-libs/libXScrnSaver ) - opengl? ( dev-qt/qt-meta[opengl] ) -" -RDEPEND=" - ${BOTH_DEPEND} - crypt? ( app-crypt/gnupg ) - latex? ( - media-gfx/imagemagick - virtual/latex-base - ) - netmeeting? ( net-voip/ekiga ) - ssl? ( =app-crypt/qca-tls-1.0* ) -" -# !kde-base/kdenetwork is handled by the eclass. - -DEPEND="${BOTH_DEPEND} - x11-base/xorg-proto - kernel_linux? ( - virtual/os-headers - x11-libs/libXv - ) -" - -pkg_setup() { - if use v4l2 && use kernel_linux && ! built_with_use dev-qt/qt-meta:3 opengl; then - eerror "To support Video4Linux webcams in this package is required to have" - eerror "dev-qt/qt-meta:3 compiled with OpenGL support." - eerror "Please reemerge dev-qt/qt-meta:3 with USE=\"opengl\"." - die "Please reemerge dev-qt/qt-meta:3 with USE=\"opengl\"." - fi - - if use netmeeting && ! use msn; then - eerror "Netmeeting support (USE=\"netmeeting\") for the MSN module has" - eerror "been requested, but the MSN module (USE=\"msn\") is not enabled." - eerror "Enable the \"msn\" USE flag or disable the \"netmeeting\" USE flag." - die "Invalid USE flag combination." - fi -} - -kopete_disable() { - einfo "Disabling $2 $1" - sed -i -e "s/$2//" "${S}/kopete/$1s/Makefile.am" -} - -src_unpack() { - kde-meta_src_unpack - - epatch "${FILESDIR}/${KMNAME}_${PN}-r865247.patch" - epatch "${FILESDIR}/${PN}-0.12_alpha1-xscreensaver.patch" - epatch "${FILESDIR}/${PN}-3.5.5-icqfix.patch" - epatch "${FILESDIR}/kdenetwork-3.5.5-linux-headers-2.6.18.patch" - epatch "${FILESDIR}/${P}-gcc43.patch" - epatch "${FILESDIR}/${PN}-3.5-rolling_icon.patch" - epatch "${FILESDIR}/${P}-libgadu-CVE-2008-4776.patch" - epatch "${FILESDIR}/${P}-icq-protocol-change2.patch" - epatch "${FILESDIR}/${P}-jabber-protocol-gtalknickfix.patch" - epatch "${FILESDIR}/${P}-glibc210.patch" - epatch "${FILESDIR}/${P}-groupwise.patch" - - if use emoticons-manager; then - epatch "${FILESDIR}/emoticon-manager.patch" - fi - - use addbookmarks || kopete_disable plugin addbookmarks - use alias || kopete_disable plugin alias - use autoreplace || kopete_disable plugin autoreplace - use connectionstatus || kopete_disable plugin connectionstatus - use contactnotes || kopete_disable plugin contactnotes - use crypt || kopete_disable plugin cryptography - use highlight || kopete_disable plugin highlight - use history || kopete_disable plugin history - use latex || kopete_disable plugin latex - use netmeeting || kopete_disable plugin netmeeting - use nowlistening || kopete_disable plugin nowlistening - use statistics || kopete_disable plugin statistics - use texteffect || kopete_disable plugin texteffect - use translator || kopete_disable plugin translator - use webpresence || kopete_disable plugin webpresence - use gadu || kopete_disable protocol '\$(GADU)' - use groupwise || kopete_disable protocol groupwise - use irc || kopete_disable protocol irc - use jabber || kopete_disable protocol '\$(JABBER)' - use oscar || kopete_disable protocol oscar - use msn || kopete_disable protocol msn - use winpopup || kopete_disable protocol winpopup - use yahoo || kopete_disable protocol yahoo - - rm -f "${S}/configure" -} - -src_configure() { - local myconf=" - --without-xmms - $(use_enable debug testbed) - $(use_enable jingle) - $(use_enable sametime meanwhile) - $(use_enable sms smsgsm) - $(use_with xscreensaver) - $(use_with opengl gl) - " - - kde_src_configure -} - -src_compile() { - kde_src_compile -} - -src_install() { - kde_src_install - - rm -f "${D}${KDEDIR}"/bin/{stun,relay}server -} - -pkg_postinst() { - kde_pkg_postinst - - elog "If you would like to use Off-The-Record encryption, emerge net-im/kopete-otr." -} |