summaryrefslogtreecommitdiff
path: root/packages/net-im/qtox/qtox-scm.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-im/qtox/qtox-scm.exheres-0')
-rw-r--r--packages/net-im/qtox/qtox-scm.exheres-052
1 files changed, 1 insertions, 51 deletions
diff --git a/packages/net-im/qtox/qtox-scm.exheres-0 b/packages/net-im/qtox/qtox-scm.exheres-0
index 3983635..6e8464e 100644
--- a/packages/net-im/qtox/qtox-scm.exheres-0
+++ b/packages/net-im/qtox/qtox-scm.exheres-0
@@ -1,56 +1,6 @@
# Distributed under the terms of the GNU General Public License v2
# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
-require github [ user=qTox project=qTox ]
-require cmake [ api=2 ]
+require qtox
-DOWNLOADS=""
-SLOT="0"
PLATFORMS="~amd64 ~x86"
-SUMMARY="Most feature-rich GUI for net-libs/tox using Qt5"
-HOMEPAGE="https://github.com/qTox/qTox"
-MYOPTIONS="
- gtk
- ( providers:
- ffmpeg
- libav
- )
- [[ number-selected = exactly-one ]]
-"
-
-DEPENDENCIES="
- build+run:
- app-crypt/sqlcipher
- media-libs/qrencode
- media-libs/openal
- media-libs/libexif
- net-libs/tox[av]
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/qtbase:5[gui][sql]
- x11-libs/qtsvg
- gtk? (
- dev-libs/atk
- dev-libs/glib:2
- x11-libs/gdk-pixbuf[X]
- x11-libs/gtk+:2
- x11-libs/cairo[X]
- x11-libs/pango[X]
- )
- providers:ffmpeg? ( media/ffmpeg )
- providers:libav? ( media/libav )
- "
-
-DEFAULT_SRC_PREPARE_PATCHES=(
- "${FILES}"/cflags.patch
-)
-
-
-src_configure() {
- local cmakeparams=()
- cmakeparams+=(
- -DENABLE_STATUSNOTIFIER=$(option gtk && echo gtk)
- -DENABLE_GTK_SYSTRAY=$(option gtk && echo gtk)
- )
- ecmake "${cmakeparams[@]}"
-}