summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McCarthy <signals@gentoo.org>2011-02-21 16:56:31 +0000
committerKevin McCarthy <signals@gentoo.org>2011-02-21 16:56:31 +0000
commit1cb43dc26d26155a154bfe9dc2eed482513ac62b (patch)
tree6ecbe4947632c9e5584567f791409728c71ccd5e /net-im/ayttm
parentAdd ~x86-fbsd based on Dmitri Bogomolov's report in bug 341123. Remove old ve... (diff)
downloadhistorical-1cb43dc26d26155a154bfe9dc2eed482513ac62b.tar.gz
historical-1cb43dc26d26155a154bfe9dc2eed482513ac62b.tar.bz2
historical-1cb43dc26d26155a154bfe9dc2eed482513ac62b.zip
New ebuild: ayttm IM client
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'net-im/ayttm')
-rw-r--r--net-im/ayttm/ChangeLog11
-rw-r--r--net-im/ayttm/Manifest6
-rw-r--r--net-im/ayttm/ayttm-0.6.3.ebuild68
-rw-r--r--net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch28
-rw-r--r--net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch16
-rw-r--r--net-im/ayttm/metadata.xml21
6 files changed, 150 insertions, 0 deletions
diff --git a/net-im/ayttm/ChangeLog b/net-im/ayttm/ChangeLog
new file mode 100644
index 000000000000..5ffc6003e5f9
--- /dev/null
+++ b/net-im/ayttm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-im/ayttm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/ayttm/ChangeLog,v 1.17 2011/02/21 16:56:31 signals Exp $
+
+*ayttm-0.6.3 (21 Feb 2011)
+
+ 21 Feb 2011; Kevin McCarthy <signals@gentoo.org> +ayttm-0.6.3.ebuild,
+ +files/ayttm-0.6.3-opt-webcam.patch,
+ +files/ayttm-0.6.3-opt-xscreensaver.patch, +metadata.xml:
+ New ebuild for ayttm. Ebuild written by me. See bug #354085
+
diff --git a/net-im/ayttm/Manifest b/net-im/ayttm/Manifest
new file mode 100644
index 000000000000..9e5bea6e8933
--- /dev/null
+++ b/net-im/ayttm/Manifest
@@ -0,0 +1,6 @@
+AUX ayttm-0.6.3-opt-webcam.patch 887 RMD160 81d83d47485b8f3f20332579e7a563e9c9b6d9a7 SHA1 1ba49d8e76e15113e816c7bb58f2396c6e42aa17 SHA256 ed12015c4b71a16ae47969195066f0dadc2d2725149dfc4eb36d0d7ffebe7a7d
+AUX ayttm-0.6.3-opt-xscreensaver.patch 409 RMD160 b3a82c664219a789ec611f165afc6a25e2e9e442 SHA1 37307b74907c6eb6eae2a45842cf5dd336603a3a SHA256 396cf3f223a9db93fe512c8792395290d3acdcb5022fdb4babd84ab523a6e649
+DIST ayttm-0.6.3.tar.bz2 1377010 RMD160 52e013022e1d02e57dd8cd50f4189c6a065806b6 SHA1 866768084430581f29f769e6ae13c8bd74c067a9 SHA256 2c48d3b8183139e7657c03dab9d17c997077624fd97a177d932f80ee6c596157
+EBUILD ayttm-0.6.3.ebuild 1670 RMD160 e672efd0aedb321f7895f8e64c22d82fd3976b09 SHA1 1989884bdec55f3f439044b812d6452a9c89c89e SHA256 1a502fb7da8a81c5c5612f04c9de9695b19b5f93da515821e87bfcf672c316ad
+MISC ChangeLog 461 RMD160 cda82758e5cfea065e3b4bae1ac6e1b1b8ec2148 SHA1 52dce42e7e65c84a416371a8e1892e936b0427d9 SHA256 ae6d020bb03463c3006e9bb8c29a2f2c1eb658f26d3d2222525cddc9ac468e6d
+MISC metadata.xml 774 RMD160 7d398e0a7bb20314b82cc43d5b61283c3fe5de4e SHA1 053364656755817800ef8fcacd8aeb9ab118ee67 SHA256 b276cfc5d538841cd04112cdcd57bf6a065ea13b06bd68d201027484749713b8
diff --git a/net-im/ayttm/ayttm-0.6.3.ebuild b/net-im/ayttm/ayttm-0.6.3.ebuild
new file mode 100644
index 000000000000..e6c941bfdea2
--- /dev/null
+++ b/net-im/ayttm/ayttm-0.6.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/ayttm/ayttm-0.6.3.ebuild,v 1.1 2011/02/21 16:56:31 signals Exp $
+
+EAPI=4
+inherit autotools eutils multilib
+
+DESCRIPTION="A multi-protocol instant messaging client"
+HOMEPAGE="http://ayttm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ayttm/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="crypt esd icq irc jabber lj msn nls oscar smtp webcam xscreensaver yahoo"
+
+CDEPEND="app-text/enchant
+ dev-libs/glib:2
+ dev-libs/openssl
+ virtual/libiconv
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/pango
+ crypt? ( app-crypt/gpgme )
+ esd? ( media-sound/esound )
+ webcam? ( media-libs/jasper )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ yahoo? ( net-libs/libyahoo2 )"
+RDEPEND="${CDEPEND}
+ webcam? ( media-tv/xawtv )"
+DEPEND="${CDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-opt-xscreensaver.patch \
+ "${FILESDIR}"/${P}-opt-webcam.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable crypt aycryption) \
+ $(use_enable esd) \
+ $(use_enable icq) \
+ $(use_enable irc) \
+ $(use_enable jabber) \
+ $(use_enable lj) \
+ $(use_enable msn) \
+ $(use_enable nls) \
+ $(use_enable oscar) \
+ $(use_enable smtp) \
+ $(use_enable webcam) \
+ $(use_enable xscreensaver) \
+ $(use_enable yahoo) \
+ --disable-arts \
+ --enable-posix-dlopen \
+ --disable-static
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README README.LINUX TODO
+ rm -f "${D}"/usr/$(get_libdir)/${PN}/*.la
+}
diff --git a/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch b/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch
new file mode 100644
index 000000000000..e805d90746d6
--- /dev/null
+++ b/net-im/ayttm/files/ayttm-0.6.3-opt-webcam.patch
@@ -0,0 +1,28 @@
+Make the building of the webcam-related plugins optional.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- configure.ac
++++ configure.ac
+@@ -436,6 +439,10 @@
+ AC_MSG_WARN(You need gpgme to compile the aycryption module))
+ fi
+
++if test "$enable_webcam" != no; then
++ OPTIONAL_PLUG_DIR="$OPTIONAL_PLUG_DIR image_filter"
++fi
++
+ ###########################################################################
+ # End Optional Modules
+ ###########################################################################
+--- modules/Makefile.am
++++ modules/Makefile.am
+@@ -1,7 +1,7 @@
+ DIST_SUBDIRS = aim-oscar irc jabber msn2 yahoo2 smtp importers \
+ livejournal utility aycryption smileys image_filter
+
+-SUBDIRS = @OPTIONAL_PLUG_DIR@ importers utility smileys image_filter
++SUBDIRS = @OPTIONAL_PLUG_DIR@ importers utility smileys
+
+ # Gets rid of the datarootdir warning
+ datarootdir=@datarootdir@
diff --git a/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch b/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch
new file mode 100644
index 000000000000..7c6f09f5117e
--- /dev/null
+++ b/net-im/ayttm/files/ayttm-0.6.3-opt-xscreensaver.patch
@@ -0,0 +1,16 @@
+Add --enable-xscreensaver to configure for USE flag support
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- configure.ac
++++ configure.ac
+@@ -316,6 +316,9 @@
+ #endif
+ ])
+
++AC_ARG_ENABLE(xscreensaver, AC_HELP_STRING([--enable-xscreensaver],
++ [compile with X Screensaver]), [have_xss=$enableval], [have_xss=no] )
++
+ if test "$have_xss" = yes; then
+ # Let's figure out what library it's in...
+
diff --git a/net-im/ayttm/metadata.xml b/net-im/ayttm/metadata.xml
new file mode 100644
index 000000000000..97ea6d692fa4
--- /dev/null
+++ b/net-im/ayttm/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>signals@gentoo.org</email>
+ <name>Kevin McCarthy</name>
+ </maintainer>
+ <longdescription lang="en">
+ Ayttm is a multi-protocol instant messaging client with some novel features
+ such as the ability to connect to livejournal.com and the ability to send
+ short messages via RFC2821 SMTP.
+ </longdescription>
+ <use>
+ <flag name="irc">Enable Internet Relay Chat support</flag>
+ <flag name="lj">Enable livejournal.com support</flag>
+ <flag name="smtp">Adds support for sending messages via RFC2821 SMTP</flag>
+ <flag name="webcam">Adds webcam support for Yahoo Messenger</flag>
+ </use>
+</pkgmetadata>
+