diff options
Diffstat (limited to 'packages/net-im/qtox/qtox-scm.exheres-0')
-rw-r--r-- | packages/net-im/qtox/qtox-scm.exheres-0 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/packages/net-im/qtox/qtox-scm.exheres-0 b/packages/net-im/qtox/qtox-scm.exheres-0 new file mode 100644 index 0000000..5f749f4 --- /dev/null +++ b/packages/net-im/qtox/qtox-scm.exheres-0 @@ -0,0 +1,61 @@ +# Distributed under the terms of the GNU General Public License v2 + +SCM_REPOSITORY="https://github.com/qTox/qTox.git" + +require scm-git +require cmake [ api=2 ] + +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 + X + ( providers: + ffmpeg + libav + ) + [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build+run: + app-crypt/sqlcipher + net-libs/tox[av] + media-libs/qrencode + media-libs/openal + media-libs/libexif + providers:ffmpeg? ( media/ffmpeg ) + providers:libav? ( media/libav ) + 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] + ) + X? ( + x11-libs/libX11 + x11-libs/libXScrnSaver + ) + x11-libs/qtbase:5[gui][sql] + x11-libs/qtsvg +" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/gcc.patch + "${FILES}"/cflags.patch +) + + +src_configure() { + local cmakeparams=() + cmakeparams+=( + -DENABLE_STATUSNOTIFIER=$(option gtk && echo gtk) + -DENABLE_GTK_SYSTRAY=$(option gtk && echo gtk) + ) + ecmake "${cmakeparams[@]}" +} |