summaryrefslogtreecommitdiff
path: root/net-im/ayttm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/ayttm
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/ayttm')
-rw-r--r--net-im/ayttm/Manifest7
-rw-r--r--net-im/ayttm/ayttm-0.6.3-r1.ebuild63
-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.xml18
5 files changed, 132 insertions, 0 deletions
diff --git a/net-im/ayttm/Manifest b/net-im/ayttm/Manifest
new file mode 100644
index 000000000000..43cccc1780c6
--- /dev/null
+++ b/net-im/ayttm/Manifest
@@ -0,0 +1,7 @@
+AUX ayttm-0.6.3-opt-webcam.patch 887 SHA256 ed12015c4b71a16ae47969195066f0dadc2d2725149dfc4eb36d0d7ffebe7a7d SHA512 6d56796d124450554f929c0a8b6a447a86c978dda2aa7e815d9e512c7c62de7c7e8e9a2b3e26a900ca1cda7f17c017292f2afb3791bcc922447b6e4bf5665170 WHIRLPOOL b83e99f16c373153978570d85f5cec75f789754003551d6d1e0b6247c98987481e45240032569c1291258d8d365d47c257906b411ca81a35a81907bd2e03f8c4
+AUX ayttm-0.6.3-opt-xscreensaver.patch 409 SHA256 396cf3f223a9db93fe512c8792395290d3acdcb5022fdb4babd84ab523a6e649 SHA512 67a81ddfab8aeddac8d4fe0cdc8f9fdfee7e5ea2d206a374e480949c8ed738c147dc2ef679e7984d26b4ecbaa78152c9ba53eaa5ed2cd6c4836aded5fad5f14d WHIRLPOOL cc0788a48ac9b97962032c2b467c2ee264d20b87d1ea94c3ba3862cd2762d4e8ca72f5b552adb022aebb511d59efaf57b884c4bddca99794fa32cfb314041704
+DIST ayttm-0.6.3.tar.bz2 1377010 SHA256 2c48d3b8183139e7657c03dab9d17c997077624fd97a177d932f80ee6c596157 SHA512 8480b9e6b6e1c45a3cdd16d991ebf7e12c400d282243f5f44715ba20d4db4523a0343fe49016f7dba3e1a23d963eef52fbb0823c27aedec0db33457319138270 WHIRLPOOL f0a49a588d1aacc5e9d0338f18a32078933cd15f841fa87c33377ab2173bbf6c70eb5758dcd3e499fe5756da4968e4e7f669a62e008b5a3e8f4c0be746ae2b75
+EBUILD ayttm-0.6.3-r1.ebuild 1446 SHA256 8004cce76623ea389950281f728389aa7ee3cde184d65ce862db6b50f8954a97 SHA512 6dce1c964527f4aa8799d16cac1f51986ee2c9d9d6464ed8f5bc32c30743009d2bc341c0ca55ed0666f76322bb5cf9933852157803945fdbac75cb44f3494d4c WHIRLPOOL 2a4bcc21c42d641c7a9faf06781adf7ecccb8923c2767f1cd68a446fdd0865786ba0d371f500bab7eeae7e8abb35f44e4f74b069686175002a141d3438debc9c
+MISC ChangeLog 2944 SHA256 0e341fff1ea5631e536a3b8e463b2da280b4beaac5681c9dc997c91a299af038 SHA512 9da5ef841fa5827da9c9dfdf0fd6d3ef88bee2fdbfd3612547320361943e9cc1eeff4ec389b492ccb7d78e44f0abfff76cc36745ea06d0f416367fcd1d317fe6 WHIRLPOOL a8ddf60236f7a1ba873d9b24bf50a1d7688d080687e364bc2e1fe9b5c855078bd1854704984f810bae0811200c01333ea95e231f438308d2fbb4cc5ae7c36c0e
+MISC ChangeLog-2015 923 SHA256 4cb5b9bb82d94d40d7f1a7d43edd2551acd568b8f808c2fb9550c8120b8d126f SHA512 a05af7ba08cb3303d97457324d8d97c6a867ec6b6398fc752eb53d548d32faf7163474d259ae1f1b07fdabdb7f446eb2bdae37f8c3e2decae4e5e981cc4ed872 WHIRLPOOL 16520c45e331d4b4afa1ab0115ab018b5af1659e8378d52cf34a8334d1e676b55f03a3e3a02e826ef9baab486e8d577f27937735ec4590d7a9ec52c22d13bace
+MISC metadata.xml 690 SHA256 bf3cda39529e57db7f6dd8b0a62cbe9e4b34a738477e18ab0d27398acfa5b445 SHA512 31080f5067a4b51de6cb03133b3be833515d9572aaa62dbd7045f2a929d7e5c73f32bb1fbee54d36abc6bc809a18d1d653d7a7b2a855802b9590d39f1e716970 WHIRLPOOL 13b695f6c8b868ead1ec7aaff46666077ec5a3249179fb44c76cb22a8dc15dba65d42028ef7be22a4e052a34127e86483d3e1ffe39b6dbf7b3c1d43dcc47705f
diff --git a/net-im/ayttm/ayttm-0.6.3-r1.ebuild b/net-im/ayttm/ayttm-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..2f183105a741
--- /dev/null
+++ b/net-im/ayttm/ayttm-0.6.3-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+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 ~x86"
+IUSE="crypt icq irc xmpp lj msn nls oscar smtp xscreensaver yahoo"
+
+RDEPEND="app-text/enchant
+ dev-libs/glib:2
+ dev-libs/openssl:0=
+ virtual/libiconv
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/pango
+ crypt? ( app-crypt/gpgme )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ yahoo? ( net-libs/libyahoo2 )"
+DEPEND="${RDEPEND}
+ 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) \
+ --disable-esd \
+ $(use_enable icq) \
+ $(use_enable irc) \
+ $(use_enable xmpp jabber) \
+ $(use_enable lj) \
+ $(use_enable msn) \
+ $(use_enable nls) \
+ $(use_enable oscar) \
+ $(use_enable smtp) \
+ $(use_enable xscreensaver) \
+ $(use_enable yahoo) \
+ --disable-webcam \
+ --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..5cbaca7524d5
--- /dev/null
+++ b/net-im/ayttm/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <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>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">ayttm</remote-id>
+ </upstream>
+</pkgmetadata>