Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/
Date: Sat, 15 Sep 2018 13:37:59
Message-Id: 1537018245.9548b5503507995903c6802fd7e6febd0a53bab8.pacho@gentoo
1 commit: 9548b5503507995903c6802fd7e6febd0a53bab8
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 13:30:45 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 13:30:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9548b550
7
8 net-im/qtox: Drop old
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 net-im/qtox/Manifest | 2 --
13 net-im/qtox/qtox-1.11.0.ebuild | 79 ------------------------------------------
14 net-im/qtox/qtox-1.8.1.ebuild | 69 ------------------------------------
15 3 files changed, 150 deletions(-)
16
17 diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest
18 index 2040dc77b88..3c3bb122ec6 100644
19 --- a/net-im/qtox/Manifest
20 +++ b/net-im/qtox/Manifest
21 @@ -1,3 +1 @@
22 DIST qTox-1.16.3.tar.gz 4256757 BLAKE2B 70103e2d912da86dab63424586c642a73614b4a408a53634b146d1e401d5b328a2b8c81c472a94e0e8804d774f693c1250e7263b263e80abef5e111372f29232 SHA512 a857266ffcf32b1963e3a4428501299ce19f3c087087583115dc01e41934fc31d52ea54d781fa93ec7e21f6e3303b4e22383ecaaa7f1f1dbf32d740db73aca4c
23 -DIST qtox-1.11.0.tar.lz 2860849 BLAKE2B eedb0720c57afd8a99e48452af67162977df0c4cb889891b082345b0b2d37539cef39d5be16b0e9ce0615561b6628c908e5d3007b96c23026859dc4d42261223 SHA512 3117b5ec9d88f58023f6c2f5e7c37c547ab920588d385e3abe062fb22ad79c49a9b6eb9ca31c6d56f9d03cfea55ef56ddc7e2e53bd43629825ea7b460b31f505
24 -DIST qtox-1.8.1.tar.gz 3594727 BLAKE2B a1d4191551b082cef21ee211eebf7288aa805bb2401e9c7a48359273fd6520c67eaf826f985843fd01ca0bd4312fab9da1169cbd8b7b61916e282dde06f9dee5 SHA512 9ba32ce43f2d335fe9e07bcca651e0e18ae2f3247e52364918148e400e51f6e2364d1596c7c882674c190bf5438e69cd13e77512eeeec7cba212195e9559a5ae
25
26 diff --git a/net-im/qtox/qtox-1.11.0.ebuild b/net-im/qtox/qtox-1.11.0.ebuild
27 deleted file mode 100644
28 index 8921fd9330e..00000000000
29 --- a/net-im/qtox/qtox-1.11.0.ebuild
30 +++ /dev/null
31 @@ -1,79 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit cmake-utils gnome2-utils unpacker xdg-utils
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/releases/download/v${PV}/v${PV}.tar.lz -> ${P}.tar.lz"
42 -
43 -LICENSE="GPL-3+"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="gtk test X"
47 -
48 -S="${WORKDIR}"
49 -
50 -RDEPEND="
51 - dev-db/sqlcipher
52 - dev-libs/libsodium
53 - dev-qt/qtconcurrent:5
54 - dev-qt/qtcore:5
55 - dev-qt/qtgui:5[gif,jpeg,png,xcb]
56 - dev-qt/qtnetwork:5
57 - dev-qt/qtopengl:5
58 - dev-qt/qtsql:5
59 - dev-qt/qtsvg:5
60 - dev-qt/qtwidgets:5
61 - dev-qt/qtxml:5
62 - media-gfx/qrencode
63 - media-libs/openal
64 - >=media-video/ffmpeg-2.6.3[webp,v4l]
65 - gtk? ( dev-libs/atk
66 - dev-libs/glib:2
67 - x11-libs/gdk-pixbuf[X]
68 - x11-libs/gtk+:2
69 - x11-libs/cairo[X]
70 - x11-libs/pango[X] )
71 - net-libs/tox:0/0.1[av]
72 - X? ( x11-libs/libX11
73 - x11-libs/libXScrnSaver )
74 -"
75 -DEPEND="${RDEPEND}
76 - $(unpacker_src_uri_depends)
77 - dev-qt/linguist-tools:5
78 - virtual/pkgconfig
79 - test? ( dev-qt/qttest:5 )
80 -"
81 -
82 -src_prepare() {
83 - cmake-utils_src_prepare
84 -
85 - # bug 628574
86 - if ! use test; then
87 - sed -i CMakeLists.txt -e "/include(Testing)/s/^/#/" || die
88 - sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/s/^/#/" || die
89 - fi
90 -}
91 -
92 -src_configure() {
93 - local mycmakeargs=(
94 - -DENABLE_STATUSNOTIFIER=$(usex gtk)
95 - -DENABLE_GTK_SYSTRAY=$(usex gtk)
96 - -DGIT_DESCRIBE="${PV}"
97 - )
98 -
99 - cmake-utils_src_configure
100 -}
101 -
102 -pkg_postinst() {
103 - gnome2_icon_cache_update
104 - xdg_desktop_database_update
105 -}
106 -
107 -pkg_postrm() {
108 - gnome2_icon_cache_update
109 - xdg_desktop_database_update
110 -}
111
112 diff --git a/net-im/qtox/qtox-1.8.1.ebuild b/net-im/qtox/qtox-1.8.1.ebuild
113 deleted file mode 100644
114 index 57ea1302d28..00000000000
115 --- a/net-im/qtox/qtox-1.8.1.ebuild
116 +++ /dev/null
117 @@ -1,69 +0,0 @@
118 -# Copyright 1999-2017 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -inherit qmake-utils toolchain-funcs
124 -
125 -DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
126 -HOMEPAGE="https://github.com/qTox/qTox"
127 -SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
128 -
129 -LICENSE="GPL-3+"
130 -SLOT="0"
131 -KEYWORDS="~amd64 ~x86"
132 -IUSE="gtk X"
133 -
134 -# needed, since tarball provided by github extracts to `qTox`
135 -S="${WORKDIR}/qTox-${PV}"
136 -
137 -RDEPEND="
138 - dev-db/sqlcipher
139 - dev-libs/libsodium
140 - dev-qt/qtconcurrent:5
141 - dev-qt/qtcore:5
142 - dev-qt/qtgui:5[gif,jpeg,png,xcb]
143 - dev-qt/qtnetwork:5
144 - dev-qt/qtopengl:5
145 - dev-qt/qtsql:5
146 - dev-qt/qtsvg:5
147 - dev-qt/qtwidgets:5
148 - dev-qt/qtxml:5
149 - media-gfx/qrencode
150 - media-libs/openal
151 - >=media-video/ffmpeg-2.6.3[webp,v4l]
152 - gtk? ( dev-libs/atk
153 - dev-libs/glib:2
154 - x11-libs/gdk-pixbuf[X]
155 - x11-libs/gtk+:2
156 - x11-libs/cairo[X]
157 - x11-libs/pango[X] )
158 - net-libs/tox:0/0.1[av]
159 - X? ( x11-libs/libX11
160 - x11-libs/libXScrnSaver )
161 -"
162 -DEPEND="${RDEPEND}
163 - dev-qt/linguist-tools:5
164 - virtual/pkgconfig
165 -"
166 -
167 -pkg_pretend() {
168 - if [[ ${MERGE_TYPE} != binary ]]; then
169 - if tc-is-gcc ; then
170 - if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 || $(gcc-major-version) -lt 4 ]] ; then
171 - eerror "You need at least sys-devel/gcc-4.8.3"
172 - die "You need at least sys-devel/gcc-4.8.3"
173 - fi
174 - fi
175 - fi
176 -}
177 -
178 -src_configure() {
179 - use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
180 - use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
181 - eqmake5 \
182 - PREFIX="${D}/usr" \
183 - GIT_DESCRIBE="${PV}" \
184 - ${NO_GTK_SUPPORT} \
185 - ${NO_X_SUPPORT}
186 -}