* [gentoo-commits] dev/dev-zero:master commit in: net-im/swiften/
@ 2016-03-23 12:42 Tiziano Müller
0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2016-03-23 12:42 UTC (permalink / raw
To: gentoo-commits
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"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/dev-zero:master commit in: net-im/swiften/
@ 2016-05-02 10:18 Tiziano Müller
0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2016-05-02 10:18 UTC (permalink / raw
To: gentoo-commits
commit: 027521438e8d5837867b913303fde5d08466ed4a
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 10:18:09 2016 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon May 2 10:18:09 2016 +0000
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=02752143
net-im/swiften: use eapply_user to conform to EAPI-6 (thanks to Andrey Utkin)
net-im/swiften/swiften-3.0.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net-im/swiften/swiften-3.0.ebuild b/net-im/swiften/swiften-3.0.ebuild
index 52574ec..bccf072 100644
--- a/net-im/swiften/swiften-3.0.ebuild
+++ b/net-im/swiften/swiften-3.0.ebuild
@@ -35,6 +35,8 @@ src_prepare() {
# remove all bundled packages to ensure
# consistency of headers and linked libraries
rm -rf 3rdparty || die
+
+ eapply_user
}
src_configure() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-02 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 10:18 [gentoo-commits] dev/dev-zero:master commit in: net-im/swiften/ Tiziano Müller
-- strict thread matches above, loose matches on Subject: below --
2016-03-23 12:42 Tiziano Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox