summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZetok Zalbavar <zetok@openmailbox.org>2016-12-27 08:08:55 +0000
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-04 15:19:22 -0500
commitab85b606b94ca01f4d92d5efaa3040a57ff77153 (patch)
tree38ee7a1b484be235865e8347bdae92d2abcee24f /net-im/qtox
parentnet-misc/wireguard: support improved tooling (diff)
downloadgentoo-ab85b606b94ca01f4d92d5efaa3040a57ff77153.tar.gz
gentoo-ab85b606b94ca01f4d92d5efaa3040a57ff77153.tar.bz2
gentoo-ab85b606b94ca01f4d92d5efaa3040a57ff77153.zip
net-im/qtox: bump to v1.7.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-im/qtox')
-rw-r--r--net-im/qtox/Manifest1
-rw-r--r--net-im/qtox/qtox-1.7.0.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest
index a58464e3aa1..ecf07636055 100644
--- a/net-im/qtox/Manifest
+++ b/net-im/qtox/Manifest
@@ -1,2 +1,3 @@
DIST qtox-1.5.0.tar.gz 3452369 SHA256 216c07cf6c37f655aa91de6f507f3f0a86831ad502d7733c0e67c336ed197a86 SHA512 253effc91663cac373cf9fd1595f4cb26f38c5cf997050217def4d1c659a710afa10a29cb5aecb5d23dbdeb3ea7cf8b651f4a120d79e8681c96fb7b8b4500812 WHIRLPOOL d73650790e7be2be5636dd3b1507ed1e704307ad8e916f6dc12aa2739525717ccc221c76104bc231f77e4c2c87b6370fdaf8a5aad160a0e06e86767f760eeb66
DIST qtox-1.6.0.tar.gz 3481328 SHA256 7450e751da5cc6dce00b58df6d06a309e2674c7bd9311de6af21e53c36c3f155 SHA512 6ccf2c17c25ea30899356518b8f8849ed53404a8ac81180e2719c979dab1f411a93aa08ad759b3e8defea994d3baaf538ed354b733a321de3615521dcf6c8192 WHIRLPOOL 999aacf9724697526f925721e7202168076bcaac9fb5a733ef6374518f3ab86c9a3ded9d0911e2a2d677c0af0c474054d7f6c2cc06fd430c98366d9fa48f19ab
+DIST qtox-1.7.0.tar.gz 3563009 SHA256 b33916b64f3992a46c1b1da8ce124e41048b76a780732c9c73e3645706334ec9 SHA512 f7a49f00e222f49653388ddca973a2c49ca84b7dd1625997bb3fe819332bee252b59e5478437569d7e6ab6ce501eb2c909d22cec64349e94ddcdd7458143386f WHIRLPOOL 253402b69941e434ad6ac2411faf0a9aa5ed70045631c0522f57ff971ef90c8efa91be92ab012edff49451802058835b1d4e90bd3150151afe0a8c5453c60db2
diff --git a/net-im/qtox/qtox-1.7.0.ebuild b/net-im/qtox/qtox-1.7.0.ebuild
new file mode 100644
index 00000000000..66f7cf65954
--- /dev/null
+++ b/net-im/qtox/qtox-1.7.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit qmake-utils toolchain-funcs
+
+DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
+HOMEPAGE="https://github.com/qTox/qTox"
+SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk X"
+
+# needed, since tarball provided by github extracts to `qTox`
+S="${WORKDIR}/qTox-${PV}"
+
+RDEPEND="
+ dev-db/sqlcipher
+ dev-libs/libsodium
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[gif,jpeg,png,xcb]
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ media-gfx/qrencode
+ media-libs/openal
+ >=media-video/ffmpeg-2.6.3[webp,v4l]
+ 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] )
+ net-libs/tox:0/0.1[av]
+ X? ( x11-libs/libX11
+ x11-libs/libXScrnSaver )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc ; then
+ if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.8.3"
+ die "You need at least sys-devel/gcc-4.8.3"
+ fi
+ fi
+ fi
+}
+
+src_configure() {
+ use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
+ use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
+ eqmake5 \
+ PREFIX="${D}/usr" \
+ GIT_DESCRIBE="${PV}" \
+ ${NO_GTK_SUPPORT} \
+ ${NO_X_SUPPORT}
+}