[net-im/spectrum] move to openrc-run, move to SLOT 0 as there will probably no slotting at all for this (yes, no slotmove, im probably the only user so i don't care), reintroduce USE=libev, EAPI=6

This commit is contained in:
Robert Förster 2016-02-11 11:17:28 +01:00
parent 6312828428
commit cf15160d23
2 changed files with 19 additions and 19 deletions

View File

@ -1,7 +1,7 @@
#!/sbin/runscript #!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Id$
LOGFILE=/var/log/spectrum2/std.log LOGFILE=/var/log/spectrum2/std.log

View File

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$ # $Id$
EAPI="5" EAPI="6"
inherit cmake-utils systemd versionator inherit cmake-utils systemd versionator
@ -25,14 +25,13 @@ DESCRIPTION="Spectrum is a XMPP transport/gateway"
HOMEPAGE="http://spectrum.im" HOMEPAGE="http://spectrum.im"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="2" SLOT="0"
IUSE_PLUGINS="frotz irc jabber purple sms twitter" IUSE_PLUGINS="frotz irc jabber purple sms twitter"
IUSE="debug doc mysql postgres sqlite test ${IUSE_PLUGINS}" IUSE="debug doc libev mysql postgres sqlite test ${IUSE_PLUGINS}"
RDEPEND="${RDEPEND} RDEPEND="${RDEPEND}
=net-im/swift-9999[ssl] =net-im/swift-9999[ssl]
dev-libs/boost:= dev-libs/boost:=
dev-libs/libev
dev-libs/log4cxx dev-libs/log4cxx
dev-libs/openssl dev-libs/openssl
dev-libs/popt dev-libs/popt
@ -42,10 +41,10 @@ RDEPEND="${RDEPEND}
sqlite? ( dev-db/sqlite:3 ) sqlite? ( dev-db/sqlite:3 )
irc? ( net-im/communi ) irc? ( net-im/communi )
purple? ( >=net-im/pidgin-2.6.0 ) purple? ( >=net-im/pidgin-2.6.0 )
libev? ( dev-libs/libev )
" "
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
dev-util/cmake
sys-devel/gettext sys-devel/gettext
doc? ( app-doc/doxygen ) doc? ( app-doc/doxygen )
test? ( dev-util/cppunit ) test? ( dev-util/cppunit )
@ -57,16 +56,17 @@ CMAKE_IN_SOURCE_BUILD=1
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
$(cmake-utils_use_enable mysql MYSQL) $(cmake-utils_use_find_package libev event)
$(cmake-utils_use_enable postgres PQXX) -DENABLE_MYSQL="$(usex mysql)
$(cmake-utils_use_enable sqlite SQLITE3) -DENABLE_PQXX="$(usex postgres)
$(cmake-utils_use_enable doc DOCS) -DENABLE_SQLITE3="$(usex sqlite)
$(cmake-utils_use_enable frotz FROTZ) -DENABLE_DOCS="$(usex doc)
$(cmake-utils_use_enable irc IRC) -DENABLE_FROTZ="$(usex frotz)
$(cmake-utils_use_enable jabber SWIFTEN) -DENABLE_IRC="$(usex irc)
$(cmake-utils_use_enable purple PURPLE) -DENABLE_SWIFTEN="$(usex jabber)
$(cmake-utils_use_enable sms SMSTOOLS3) -DENABLE_PURPLE="$(usex purple)
$(cmake-utils_use_enable twitter TWITTER) -DENABLE_SMSTOOLS3="$(usex sms)
-DENABLE_TWITTER="$(usex twitter)
-DLIB_INSTALL_DIR=$(get_libdir) -DLIB_INSTALL_DIR=$(get_libdir)
) )