summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-12-14 17:11:22 +0000
committerPeter Volkov <pva@gentoo.org>2007-12-14 17:11:22 +0000
commit4627e661a6a3e38c4c67aa236f459aa7e3df77aa (patch)
tree9decc496344c176edb82dc7ad894dd76d1eb3f96 /net-im
parentalpha/ia64/sparc stable (diff)
downloadgentoo-2-4627e661a6a3e38c4c67aa236f459aa7e3df77aa.tar.gz
gentoo-2-4627e661a6a3e38c4c67aa236f459aa7e3df77aa.tar.bz2
gentoo-2-4627e661a6a3e38c4c67aa236f459aa7e3df77aa.zip
Added live svn ebuild, suggested by Bernd Steinhauser <gentoo AT bernd-steinhauser.de> in bug #200684.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/sim/ChangeLog8
-rw-r--r--net-im/sim/files/digest-sim-99990
-rw-r--r--net-im/sim/sim-9999.ebuild86
3 files changed, 93 insertions, 1 deletions
diff --git a/net-im/sim/ChangeLog b/net-im/sim/ChangeLog
index a2cebef0790f..7892d362691e 100644
--- a/net-im/sim/ChangeLog
+++ b/net-im/sim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/sim
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.82 2007/12/13 11:52:25 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.83 2007/12/14 17:11:21 pva Exp $
+
+*sim-9999 (14 Dec 2007)
+
+ 14 Dec 2007; <pva@gentoo.org> +sim-9999.ebuild:
+ Added live svn ebuild, suggested by Bernd Steinhauser <gentoo AT
+ bernd-steinhauser.de> in bug #200684.
13 Dec 2007; Markus Meier <maekke@gentoo.org> sim-0.9.4.3-r1.ebuild:
x86 stable, bug #202113
diff --git a/net-im/sim/files/digest-sim-9999 b/net-im/sim/files/digest-sim-9999
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/net-im/sim/files/digest-sim-9999
diff --git a/net-im/sim/sim-9999.ebuild b/net-im/sim/sim-9999.ebuild
new file mode 100644
index 000000000000..235849192b7d
--- /dev/null
+++ b/net-im/sim/sim-9999.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-9999.ebuild,v 1.1 2007/12/14 17:11:21 pva Exp $
+
+inherit subversion kde-functions eutils flag-o-matic
+
+ESVN_REPO_URI="svn://svn.berlios.de/sim-im/trunk"
+ESVN_PROJECT="sim-im"
+ESVN_BOOTSTRAP="make -f ./admin/Makefile.common"
+
+DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo."
+HOMEPAGE="http://sim-im.org/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug kde spell ssl"
+
+# kdebase-data provides the icon "licq.png"
+RDEPEND="kde? ( kde-base/kdelibs
+ || ( kde-base/kdebase-data kde-base/kdebase ) )
+ !kde? ( $(qt_min_version 3)
+ spell? ( app-text/aspell ) )
+ ssl? ( dev-libs/openssl )
+ dev-libs/libxml2
+ dev-libs/libxslt
+ sys-libs/zlib
+ x11-libs/libXScrnSaver"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ app-arch/zip
+ x11-proto/scrnsaverproto"
+
+pkg_setup() {
+ if use kde ; then
+ if use spell; then
+ if ! built_with_use kde-base/kdelibs spell ; then
+ ewarn "kde-base/kdelibs were merged without spell in USE."
+ ewarn "Thus spelling will not work in sim. Please, either"
+ ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
+ ewarn 'sim with USE="-spell" to avoid this message.'
+ ebeep
+ fi
+ else
+ if built_with_use kde-base/kdelibs spell ; then
+ ewarn 'kde-base/kdelibs were merged with spell in USE.'
+ ewarn 'Thus spelling will work in sim. Please, either'
+ ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
+ ewarn 'sim with USE="spell" to avoid this message.'
+ ebeep
+ fi
+ fi
+ if ! built_with_use kde-base/kdelibs arts ; then
+ myconf="--without-arts"
+ fi
+ fi
+}
+
+src_unpack() {
+ subversion_src_unpack
+
+ if use kde ; then
+ set-kdedir 3
+ fi
+}
+
+src_compile() {
+ filter-flags -fstack-protector -fstack-protector-all
+
+ # Workaround for bug #119906
+ append-flags -fno-stack-protector
+
+ use kde || use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell"
+
+ econf ${myconf} `use_enable kde` \
+ `use_with ssl` \
+ `use_enable debug` || die "econf failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc TODO README AUTHORS.sim jisp-resources.txt ChangeLog
+}