|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
EAPI=7 |
|
|
|
|
|
|
|
inherit cmake systemd |
|
|
|
inherit cmake systemd tmpfiles |
|
|
|
|
|
|
|
if [[ ${PV} = "9999" ]] ; then |
|
|
|
EGIT_REPO_URI="https://github.com/SpectrumIM/${PN}.git" |
|
|
@ -21,7 +21,10 @@ HOMEPAGE="https://www.spectrum.im" |
|
|
|
LICENSE="GPL-2+" |
|
|
|
SLOT="0" |
|
|
|
IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp" |
|
|
|
REQUIRED_USE="|| ( mysql postgres sqlite )" |
|
|
|
REQUIRED_USE=" |
|
|
|
|| ( mysql postgres sqlite ) |
|
|
|
test? ( irc ) |
|
|
|
" |
|
|
|
RESTRICT="!test? ( test )" |
|
|
|
|
|
|
|
RDEPEND=" |
|
|
@ -36,7 +39,7 @@ RDEPEND=" |
|
|
|
dev-libs/popt |
|
|
|
dev-libs/protobuf:= |
|
|
|
net-dns/libidn:0= |
|
|
|
net-im/swift:= |
|
|
|
>=net-im/swift-4.0.2-r2:= |
|
|
|
net-misc/curl |
|
|
|
sys-libs/zlib:= |
|
|
|
frotz? ( !games-engines/frotz ) |
|
|
@ -47,7 +50,7 @@ RDEPEND=" |
|
|
|
dev-db/mysql-connector-c |
|
|
|
) |
|
|
|
) |
|
|
|
postgres? ( >=dev-libs/libpqxx-6.4.5:= ) |
|
|
|
postgres? ( dev-libs/libpqxx:= ) |
|
|
|
purple? ( |
|
|
|
dev-libs/glib |
|
|
|
net-im/pidgin:= |
|
|
@ -104,7 +107,7 @@ src_install() { |
|
|
|
|
|
|
|
newinitd "${FILESDIR}"/spectrum2.initd spectrum2 |
|
|
|
systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service |
|
|
|
systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf |
|
|
|
newtmpfiles "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf |
|
|
|
|
|
|
|
einstalldocs |
|
|
|
} |
|
|
|