Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/
Date: Tue, 07 Feb 2017 19:42:39
Message-Id: 1486496094.6187ab9d26e0852f4e6094b2deddc7cc78c45a2a.gokturk@gentoo
1 commit: 6187ab9d26e0852f4e6094b2deddc7cc78c45a2a
2 Author: Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
3 AuthorDate: Tue Feb 7 09:03:55 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 7 19:34:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6187ab9d
7
8 net-im/qtox: bump to v1.8.1
9
10 Package-Manager: portage-2.3.3
11
12 net-im/qtox/Manifest | 1 +
13 net-im/qtox/qtox-1.8.1.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest
17 index 9117343..083939a 100644
18 --- a/net-im/qtox/Manifest
19 +++ b/net-im/qtox/Manifest
20 @@ -1,2 +1,3 @@
21 DIST qtox-1.6.0.tar.gz 3481328 SHA256 7450e751da5cc6dce00b58df6d06a309e2674c7bd9311de6af21e53c36c3f155 SHA512 6ccf2c17c25ea30899356518b8f8849ed53404a8ac81180e2719c979dab1f411a93aa08ad759b3e8defea994d3baaf538ed354b733a321de3615521dcf6c8192 WHIRLPOOL 999aacf9724697526f925721e7202168076bcaac9fb5a733ef6374518f3ab86c9a3ded9d0911e2a2d677c0af0c474054d7f6c2cc06fd430c98366d9fa48f19ab
22 DIST qtox-1.7.0.tar.gz 3563009 SHA256 b33916b64f3992a46c1b1da8ce124e41048b76a780732c9c73e3645706334ec9 SHA512 f7a49f00e222f49653388ddca973a2c49ca84b7dd1625997bb3fe819332bee252b59e5478437569d7e6ab6ce501eb2c909d22cec64349e94ddcdd7458143386f WHIRLPOOL 253402b69941e434ad6ac2411faf0a9aa5ed70045631c0522f57ff971ef90c8efa91be92ab012edff49451802058835b1d4e90bd3150151afe0a8c5453c60db2
23 +DIST qtox-1.8.1.tar.gz 3594727 SHA256 32837b5f824b6987a68f9211f93a7ec32b892be895605012d35784d702f13d6c SHA512 9ba32ce43f2d335fe9e07bcca651e0e18ae2f3247e52364918148e400e51f6e2364d1596c7c882674c190bf5438e69cd13e77512eeeec7cba212195e9559a5ae WHIRLPOOL a6bd845a3c8d31ea1c8aa3bee360c46c562aaff0ad35c9d92bdd8167c550904428936edb0e88c0b72362704d2e5b844ea16afcc57704d442cdd6558344572557
24
25 diff --git a/net-im/qtox/qtox-1.8.1.ebuild b/net-im/qtox/qtox-1.8.1.ebuild
26 new file mode 100644
27 index 00000000..85707ef
28 --- /dev/null
29 +++ b/net-im/qtox/qtox-1.8.1.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +inherit qmake-utils toolchain-funcs
38 +
39 +DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
40 +HOMEPAGE="https://github.com/qTox/qTox"
41 +SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="gtk X"
47 +
48 +# needed, since tarball provided by github extracts to `qTox`
49 +S="${WORKDIR}/qTox-${PV}"
50 +
51 +RDEPEND="
52 + dev-db/sqlcipher
53 + dev-libs/libsodium
54 + dev-qt/qtconcurrent:5
55 + dev-qt/qtcore:5
56 + dev-qt/qtgui:5[gif,jpeg,png,xcb]
57 + dev-qt/qtnetwork:5
58 + dev-qt/qtopengl:5
59 + dev-qt/qtsql:5
60 + dev-qt/qtsvg:5
61 + dev-qt/qtwidgets:5
62 + dev-qt/qtxml:5
63 + media-gfx/qrencode
64 + media-libs/openal
65 + >=media-video/ffmpeg-2.6.3[webp,v4l]
66 + gtk? ( dev-libs/atk
67 + dev-libs/glib:2
68 + x11-libs/gdk-pixbuf[X]
69 + x11-libs/gtk+:2
70 + x11-libs/cairo[X]
71 + x11-libs/pango[X] )
72 + net-libs/tox:0/0.1[av]
73 + X? ( x11-libs/libX11
74 + x11-libs/libXScrnSaver )
75 +"
76 +DEPEND="${RDEPEND}
77 + dev-qt/linguist-tools:5
78 + virtual/pkgconfig
79 +"
80 +
81 +pkg_pretend() {
82 + if [[ ${MERGE_TYPE} != binary ]]; then
83 + if tc-is-gcc ; then
84 + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
85 + eerror "You need at least sys-devel/gcc-4.8.3"
86 + die "You need at least sys-devel/gcc-4.8.3"
87 + fi
88 + fi
89 + fi
90 +}
91 +
92 +src_configure() {
93 + use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
94 + use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
95 + eqmake5 \
96 + PREFIX="${D}/usr" \
97 + GIT_DESCRIBE="${PV}" \
98 + ${NO_GTK_SUPPORT} \
99 + ${NO_X_SUPPORT}
100 +}