summaryrefslogtreecommitdiff
path: root/packages/net-libs/tox/tox-scm.exheres-0
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-22 01:51:51 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-22 01:51:51 +0300
commit58969e4f1757e77f7dabe4027430403a4abf6281 (patch)
treef9b516dc0b179dd69ebba835aa18e105fd6d4971 /packages/net-libs/tox/tox-scm.exheres-0
parente43de2fe4ad1635a8275aadce38ff01aad4f6afe (diff)
tox redone, renamed to toxcore
qtox redone
Diffstat (limited to 'packages/net-libs/tox/tox-scm.exheres-0')
-rw-r--r--packages/net-libs/tox/tox-scm.exheres-070
1 files changed, 0 insertions, 70 deletions
diff --git a/packages/net-libs/tox/tox-scm.exheres-0 b/packages/net-libs/tox/tox-scm.exheres-0
deleted file mode 100644
index e6f5359..0000000
--- a/packages/net-libs/tox/tox-scm.exheres-0
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-SCM_REPOSITORY="https://github.com/TokTok/c-toxcore.git"
-
-require scm-git systemd-service
-require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 1.12 1.11 ] need_libtool=false ]
-
-DOWNLOADS=""
-SLOT="0"
-PLATFORMS="~amd64 ~x86"
-SUMMARY="Encrypted P2P, messaging, and audio/video calling platform"
-DESCRIPTION=""
-HOMEPAGE="https://tox.chat"
-LICENCES="GPL-3+"
-MYOPTIONS="
- av
- daemon
- log-debug [[ requires = [ -log-error -log-info -log-trace -log-warn ] ]]
- log-error [[ requires = [ -log-debug -log-info -log-trace -log-warn ] ]]
- log-info [[ requires = [ -log-debug -log-error -log-trace -log-warn ] ]]
- log-trace [[ requires = [ -log-debug -log-error -log-info -log-warn ] ]]
- log-warn [[ requires = [ -log-debug -log-error -log-info -log-trace ] ]]
- ntox"
-
-DEPENDENCIES="
- build+run:
- av? ( media-libs/libvpx media-libs/opus )
- daemon? ( dev-libs/libconfig )
- ntox? ( sys-libs/ncurses )
- dev-libs/libsodium
-"
-
-src_configure() {
- myconf=()
- if option log-debug; then
- myconf+=( --enable-logging )
- myconf+=( --with-log-level=DEBUG )
- elif option log-error; then
- myconf+=( --enable-logging )
- myconf+=( --with-log-level=ERROR )
- elif option log-info; then
- myconf+=( --enable-logging )
- myconf+=( --with-log-level=INFO )
- elif option log-trace; then
- myconf+=( --enable-logging )
- myconf+=( --with-log-level=TRACE )
- elif option log-warn; then
- myconf+=( --enable-logging )
- myconf+=( --with-log-level=WARNING )
- fi
- econf \
- $(option_enable av av ) \
- $(option_enable ntox ntox ) \
- $(option_enable daemon daemon ) \
- "${myconf[@]}"
-
-}
-
-src_install() {
- default_src_install
- if option daemon; then
- newconfd "${FILESDIR}"/confd tox-dht-daemon
- insinto /etc
- doins "${FILESDIR}"/tox-bootstrapd.conf
- install_systemd_files
- else
- edo rmdir "${IMAGE}"/usr/$(exhost --target)/bin
- fi
-}