|
|
|
@ -4,10 +4,11 @@
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
|
|
|
|
|
|
inherit cmake-utils python-single-r1 systemd user
|
|
|
|
|
|
|
|
|
|
if [[ ${PV} = "9999" ]] ; then
|
|
|
|
|
EGIT_REPO_URI="https://github.com/SpectrumIM/${PN}2.git"
|
|
|
|
|
EGIT_REPO_URI="https://github.com/SpectrumIM/${PN}.git"
|
|
|
|
|
inherit git-r3
|
|
|
|
|
KEYWORDS=""
|
|
|
|
|
else
|
|
|
|
@ -40,15 +41,15 @@ RDEPEND="
|
|
|
|
|
frotz? ( !games-engines/frotz )
|
|
|
|
|
irc? ( net-im/libcommuni )
|
|
|
|
|
mysql? (
|
|
|
|
|
|| (
|
|
|
|
|
|| (
|
|
|
|
|
dev-db/mariadb-connector-c
|
|
|
|
|
dev-db/mysql-connector-c
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
postgres? ( dev-libs/libpqxx:= )
|
|
|
|
|
purple? (
|
|
|
|
|
dev-libs/glib
|
|
|
|
|
net-im/pidgin:=
|
|
|
|
|
dev-libs/glib
|
|
|
|
|
net-im/pidgin:=
|
|
|
|
|
)
|
|
|
|
|
sms? ( app-mobilephone/smstools )
|
|
|
|
|
sqlite? ( dev-db/sqlite:3 )
|
|
|
|
@ -60,16 +61,20 @@ DEPEND="
|
|
|
|
|
${RDEPEND}
|
|
|
|
|
doc? ( app-doc/doxygen )
|
|
|
|
|
test? (
|
|
|
|
|
dev-python/sleekxmpp[${PYTHON_USEDEP}]
|
|
|
|
|
dev-util/cppunit
|
|
|
|
|
net-irc/ngircd
|
|
|
|
|
dev-python/sleekxmpp[${PYTHON_USEDEP}]
|
|
|
|
|
dev-util/cppunit
|
|
|
|
|
net-irc/ngircd
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
|
"${FILESDIR}/remove_debug_cflags.patch"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# Tests are currently restricted, as they do completly fail
|
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
|
|
pkg_setup() {
|
|
|
|
|
enewgroup spectrum
|
|
|
|
|
enewuser spectrum -1 -1 /var/lib/spectrum2 spectrum
|
|
|
|
@ -107,7 +112,7 @@ src_configure() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
src_test() {
|
|
|
|
|
cd tests/libtransport && "${EPYTHON}" ../start.py || die
|
|
|
|
|
cd tests/libtransport && "${EPYTHON}" ../start.py || die
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
src_install() {
|