From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dev-zero:master commit in: net-im/swiften/
Date: Wed, 23 Mar 2016 12:42:18 +0000 (UTC) [thread overview]
Message-ID: <1458572750.0f9be1d12f1a76871125d0c5e117e2c8b0621420.dev-zero@gentoo> (raw)
commit: 0f9be1d12f1a76871125d0c5e117e2c8b0621420
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 15:05:50 2016 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 15:05:50 2016 +0000
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=0f9be1d1
net-im/swiften: initial commit
net-im/swiften/Manifest | 1 +
net-im/swiften/swiften-3.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/net-im/swiften/Manifest b/net-im/swiften/Manifest
new file mode 100644
index 0000000..14142f8
--- /dev/null
+++ b/net-im/swiften/Manifest
@@ -0,0 +1 @@
+DIST swift-3.0.tar.gz 11084214 SHA256 8aa490431190294e62a9fc18b69ccc63dd0f561858d7d0b05c9c65f4d6ba5397 SHA512 3d635e9a904a48a8553e153627242e44fad5d57c48152d3c698cdf73363bdc1c566a13692c7fb2d70f0f6b773f7ff9c2cd717687501940e3b8a30b6bebc44f63 WHIRLPOOL 6f683c73b4236fa97cb40b282af9210fc427375de8dd5fbf7b5c8f1c549899030e4db2ec40270478d6c61e0e70ad60d4d84d17aaae89c57458e95cf30d5fda87
diff --git a/net-im/swiften/swiften-3.0.ebuild b/net-im/swiften/swiften-3.0.ebuild
new file mode 100644
index 0000000..52574ec
--- /dev/null
+++ b/net-im/swiften/swiften-3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit scons-utils toolchain-funcs multilib
+
+MY_P="swift-${PV}"
+
+DESCRIPTION="Library for implementing XMPP applications."
+HOMEPAGE="http://swift.im/"
+SRC_URI="http://swift.im/downloads/releases/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="avahi expat gconf icu test upnp"
+
+RDEPEND="dev-libs/boost:=
+ dev-libs/openssl:0
+ net-dns/libidn
+ sys-libs/zlib
+ avahi? ( net-dns/avahi )
+ expat? ( dev-libs/expat )
+ !expat? ( dev-libs/libxml2 )
+ gconf? ( gnome-base/gconf dev-libs/glib:2 )
+ icu? ( dev-libs/icu:= )
+ upnp? ( net-libs/libnatpmp net-libs/miniupnpc:= )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # remove all bundled packages to ensure
+ # consistency of headers and linked libraries
+ rm -rf 3rdparty || die
+}
+
+src_configure() {
+ MYSCONS=(
+ cc="$(tc-getCC)"
+ cxx="$(tc-getCXX)"
+ ccflags="${CFLAGS}"
+ cxxflags="${CXXFLAGS}"
+ link="$(tc-getCXX)"
+ linkflags="${LDFLAGS}"
+ ar="$(tc-getAR)"
+ swiften_dll=true
+ zlib_includedir=/usr/include
+ zlib_libdir=/$(get_libdir)
+ {boost,libidn,zlib}_bundled_enable=false
+ icu=$(usex icu true false)
+ try_avahi=$(usex avahi true false)
+ try_gconf=$(usex gconf true false)
+ try_expat=$(usex expat true false)
+ try_libxml=$(usex expat false true)
+ experimental_ft=$(usex upnp true false)
+ )
+}
+
+src_compile() {
+ escons V=1 "${MYSCONS[@]}" Swiften
+}
+
+src_install() {
+ escons "${MYSCONS[@]}" SWIFTEN_INSTALLDIR="${D}/usr" "${D}/usr"
+}
next reply other threads:[~2016-03-23 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 12:42 Tiziano Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-02 10:18 [gentoo-commits] dev/dev-zero:master commit in: net-im/swiften/ Tiziano Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1458572750.0f9be1d12f1a76871125d0c5e117e2c8b0621420.dev-zero@gentoo \
--to=dev-zero@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox