net-im/swiften: Added 4.0.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
parent
cfa1978f81
commit
3b4ad078f5
13
net-im/swiften/Manifest
Normal file
13
net-im/swiften/Manifest
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA256
|
||||||
|
|
||||||
|
DIST swift-4.0.2.tar.gz 19083393 BLAKE2B de4ad1c3d68dfc4d693cdebdf4e18809210aa4e83af31b77bf730c7018507877852b5ea634623c037250de4005606108bd0372d39177093769c5dc5f72bd4812 SHA512 b7d4b90f387d5ea4ac3ca31794eabd1f12a64274628d75c7570f40269777b9003182884730a6340c5e0b5b7928a68bda5e49be623b47da9fa64fe4c3f25be167
|
||||||
|
EBUILD swiften-4.0.2.ebuild 2114 BLAKE2B bfdf674b7bd61d1d2287b0633790ab5d94dde49c9718c7f94cd4840a4998c4fbf570577329f6edd34ed5b3b16e8f824a3b244146207015f771bac7d290a053fa SHA512 ae5ff2445ffc1ab6972425305329e7f077d78512dd7ed5cfc0a8a320e90379bef4e70a4580c860974d2c6000fe17dbefe4417d01ec30874ecf7e8d6823b0a7a6
|
||||||
|
MISC metadata.xml 331 BLAKE2B f0157ad49e85cb33a0d605ed94b7cee62112a5c3e36fae5c49a0270de2318da0f1443508cb1068b83d455e3535f2dd548630e101a4ef1bd7a363fd5ec35f3a4f SHA512 9b6968749858d0c0db36cf17428182b4e834e8c7101f3281a6947b70127b07cd6e301b3452a4422deb58b2055df5fb6cb23d317c434facbf9beaaa4a9454406f
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW5EmAAAKCRDPw5SX8bJu
|
||||||
|
ByBqAP0cOzAPl/QzdWr+lSkmLgT84q6mszKYFdGXNTMjkfWCKAD9EoReKtbnrYGb
|
||||||
|
9k4UzTSJG0Zsn+g7BBThplEaFCloLw8=
|
||||||
|
=V9QY
|
||||||
|
-----END PGP SIGNATURE-----
|
11
net-im/swiften/metadata.xml
Normal file
11
net-im/swiften/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gentoo@tastytea.de</email>
|
||||||
|
<name>tastytea</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="gconf">Enable support for gnome-base/gconf</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
85
net-im/swiften/swiften-4.0.2.ebuild
Normal file
85
net-im/swiften/swiften-4.0.2.ebuild
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit scons-utils toolchain-funcs multilib
|
||||||
|
|
||||||
|
DESCRIPTION="Library for implementing XMPP applications."
|
||||||
|
HOMEPAGE="http://swift.im/"
|
||||||
|
MY_P="swift-${PV}"
|
||||||
|
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 luajit test upnp"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/boost:=
|
||||||
|
dev-libs/openssl:0
|
||||||
|
net-dns/libidn:0
|
||||||
|
sys-libs/zlib
|
||||||
|
avahi? ( net-dns/avahi )
|
||||||
|
expat? ( dev-libs/expat )
|
||||||
|
!expat? ( dev-libs/libxml2 )
|
||||||
|
gconf? ( gnome-base/gconf dev-libs/glib:2 )
|
||||||
|
luajit? ( || ( dev-lang/luajit:2 virtual/lua[luajit] ) )
|
||||||
|
!luajit? ( dev-lang/lua:* )
|
||||||
|
icu? ( dev-libs/icu:= )
|
||||||
|
upnp? ( net-libs/libnatpmp net-libs/miniupnpc:= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
# PATCHES="${FILESDIR}/${PN}-libdir-${PV}.patch"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# remove all bundled packages to ensure
|
||||||
|
# consistency of headers and linked libraries
|
||||||
|
rm -rf 3rdparty
|
||||||
|
|
||||||
|
# ## temp fix
|
||||||
|
# grep -rl boost/optional/optional_fwd.hpp Swiften | xargs sed \
|
||||||
|
# -e 's@optional_fwd.hpp@optional.hpp@' -i
|
||||||
|
# ## /temp fix
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local lua=lua;
|
||||||
|
use luajit && lua=luajit;
|
||||||
|
|
||||||
|
MYSCONS=(
|
||||||
|
cc="$(tc-getCC)"
|
||||||
|
cxx="$(tc-getCXX)"
|
||||||
|
ccflags="${CFLAGS} -std=c++11"
|
||||||
|
cxxflags="${CXXFLAGS} -std=c++11"
|
||||||
|
link="$(tc-getCXX)"
|
||||||
|
linkflags="${LDFLAGS}"
|
||||||
|
ar="$(tc-getAR)"
|
||||||
|
swiften_dll=true
|
||||||
|
zlib_includedir=/usr/include
|
||||||
|
zlib_libdir=/$(get_libdir)
|
||||||
|
lua_includedir=$($(tc-getPKG_CONFIG) --variable includedir ${lua})
|
||||||
|
lua_libdir=$($(tc-getPKG_CONFIG) --variable libdir ${lua})
|
||||||
|
{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)
|
||||||
|
ccache=0
|
||||||
|
distcc=1
|
||||||
|
)
|
||||||
|
# ccache working fine on compile phase, but produces AV's on install phase
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
escons "${MYSCONS[@]}" Swiften
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
escons "${MYSCONS[@]}" SWIFTEN_INSTALLDIR="${D}/usr" "${D}/usr" Swiften
|
||||||
|
}
|
Reference in New Issue
Block a user