summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZetok Zalbavar <zetok@openmailbox.org>2017-02-07 09:03:55 +0000
committerGöktürk Yüksek <gokturk@gentoo.org>2017-02-07 14:34:54 -0500
commit6187ab9d26e0852f4e6094b2deddc7cc78c45a2a (patch)
tree34a9807f9bd8cbb2f0eb6ebcb084bb5bfd50cd34 /net-im/qtox
parentmedia-libs/opencv: Drop kde from maintainers (diff)
downloadgentoo-6187ab9d26e0852f4e6094b2deddc7cc78c45a2a.tar.gz
gentoo-6187ab9d26e0852f4e6094b2deddc7cc78c45a2a.tar.bz2
gentoo-6187ab9d26e0852f4e6094b2deddc7cc78c45a2a.zip
net-im/qtox: bump to v1.8.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-im/qtox')
-rw-r--r--net-im/qtox/Manifest1
-rw-r--r--net-im/qtox/qtox-1.8.1.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest
index 911734372ec..083939af22f 100644
--- a/net-im/qtox/Manifest
+++ b/net-im/qtox/Manifest
@@ -1,2 +1,3 @@
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
+DIST qtox-1.8.1.tar.gz 3594727 SHA256 32837b5f824b6987a68f9211f93a7ec32b892be895605012d35784d702f13d6c SHA512 9ba32ce43f2d335fe9e07bcca651e0e18ae2f3247e52364918148e400e51f6e2364d1596c7c882674c190bf5438e69cd13e77512eeeec7cba212195e9559a5ae WHIRLPOOL a6bd845a3c8d31ea1c8aa3bee360c46c562aaff0ad35c9d92bdd8167c550904428936edb0e88c0b72362704d2e5b844ea16afcc57704d442cdd6558344572557
diff --git a/net-im/qtox/qtox-1.8.1.ebuild b/net-im/qtox/qtox-1.8.1.ebuild
new file mode 100644
index 00000000000..85707ef32a5
--- /dev/null
+++ b/net-im/qtox/qtox-1.8.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 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}
+}