1 |
commit: 825ea7f1e6d7c319709a05928740f0dbb4a423f5 |
2 |
Author: Josiah Mullins <jomull01 <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sat Dec 8 21:59:31 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 9 08:42:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825ea7f1 |
7 |
|
8 |
net-im/toxic: strip deprecated versions |
9 |
|
10 |
This commit removes a version of toxic that depends |
11 |
on the 0.1.x series of tox because the last version |
12 |
of that series of tox is going to be trimmed from |
13 |
the tree. In addition, some deprecated use local |
14 |
use flags were removed from metadata.xml. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/647156 |
17 |
Signed-off-by: Josiah Mullins <JoMull01 <AT> protonmail.com> |
18 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
19 |
Closes: https://github.com/gentoo/gentoo/pull/10594 |
20 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
21 |
|
22 |
net-im/toxic/Manifest | 1 - |
23 |
net-im/toxic/metadata.xml | 2 - |
24 |
net-im/toxic/toxic-0.8.0-r1.ebuild | 92 -------------------------------------- |
25 |
3 files changed, 95 deletions(-) |
26 |
|
27 |
diff --git a/net-im/toxic/Manifest b/net-im/toxic/Manifest |
28 |
index 8a0a28cd3b7..2f4c4e49deb 100644 |
29 |
--- a/net-im/toxic/Manifest |
30 |
+++ b/net-im/toxic/Manifest |
31 |
@@ -1,4 +1,3 @@ |
32 |
-DIST toxic-0.8.0.tar.gz 1145799 BLAKE2B 01dd14d28feac0aadd1e87d8538910601b532e8cb02219091a863502eb80f812a034eecf06f131ff878509dfc1eb40e5f9baf7547180346eeb03bdb7dea4a6ed SHA512 3c59edb61b1bcdbfa3a8391a1a1ceccc6c9c38b49c1709813d60480b180fb39607806116b9dcd1de35ebb02e23e95d78c8191f04a4875e06e27fa43bc9800b33 |
33 |
DIST toxic-0.8.2.tar.gz 1146526 BLAKE2B 0a1c80313963287e88aa489ecf4614365a3d94c770cdfb3b1f3afd0bf2b70639c35b9c5ce52408647abdaac9822c9529b603ec1883779f5486ff63001d98ff5e SHA512 258e873404315c9a1f59d67f524089afebad88d800116bd9e53c8bc35bd9dd6b66cfcd90db06181f01330ba0a302456510fac5c01fdbfde7d475aa5d6b1070aa |
34 |
DIST toxic-0.8.3.tar.gz 1147100 BLAKE2B d73a861112aca65e54773c98473c2858bb81e63fef11212633e34dac9e87101956e3ab0d9d56757767bc5d48d1d5a406e550f8fc55ae34860dbc4977c94ee347 SHA512 c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e |
35 |
DIST toxic_patches-0.8.2.tar.gz 3859 BLAKE2B 4a19226cea6c7ce60f599fbd4f74171f26b3812259f0f8997997526bde7beb6fe64b922f25fe77e0ac8f9b185db116d2e626cb889631a1508786b92f9bbc8927 SHA512 737cc53e814567e10ad8b7431be63ab8f99b76bb150490c31e03309c4e51ee34a798d141cbde446cbbc4b5c0145ca468f3456a2af4b966c80792cdccc6562b46 |
36 |
|
37 |
diff --git a/net-im/toxic/metadata.xml b/net-im/toxic/metadata.xml |
38 |
index 0ba52a98e62..02e709980da 100644 |
39 |
--- a/net-im/toxic/metadata.xml |
40 |
+++ b/net-im/toxic/metadata.xml |
41 |
@@ -20,9 +20,7 @@ |
42 |
An ncurses-based Tox client written in C. Supports audio and video calling, file sharing, and desktop notifications. |
43 |
</longdescription> |
44 |
<use> |
45 |
- <flag name="audio">Enables audio calling</flag> |
46 |
<flag name="notification">Enables desktop notifications with libnotify, with sound support.</flag> |
47 |
- <flag name="notifications">Enables desktop notifications with libnotify, with sound support.</flag> |
48 |
<flag name="qrcode">Enables QR code support</flag> |
49 |
<flag name="sound">Enables audio calling</flag> |
50 |
<flag name="video">Enables video calling</flag> |
51 |
|
52 |
diff --git a/net-im/toxic/toxic-0.8.0-r1.ebuild b/net-im/toxic/toxic-0.8.0-r1.ebuild |
53 |
deleted file mode 100644 |
54 |
index e9a1018aa90..00000000000 |
55 |
--- a/net-im/toxic/toxic-0.8.0-r1.ebuild |
56 |
+++ /dev/null |
57 |
@@ -1,92 +0,0 @@ |
58 |
-# Copyright 1999-2017 Gentoo Foundation |
59 |
-# Distributed under the terms of the GNU General Public License v2 |
60 |
- |
61 |
-EAPI=6 |
62 |
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 ) |
63 |
- |
64 |
-inherit python-single-r1 xdg |
65 |
- |
66 |
-DESCRIPTION="A curses-based client for Tox." |
67 |
-HOMEPAGE="https://github.com/JFreegman/toxic" |
68 |
-SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
69 |
- |
70 |
-LICENSE="GPL-3" |
71 |
-SLOT="0" |
72 |
-KEYWORDS="~amd64 ~x86" |
73 |
-IUSE="+X +audio notifications +python +qrcode +video" |
74 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
75 |
- |
76 |
-# Not a typo; net-libs/tox only has a 'both or neither' option |
77 |
-RDEPEND=" |
78 |
- || ( |
79 |
- audio? ( net-libs/tox:0/0.1[av] ) |
80 |
- video? ( net-libs/tox:0/0.1[av] ) |
81 |
- net-libs/tox:0/0.1 |
82 |
- ) |
83 |
- dev-libs/libconfig |
84 |
- net-misc/curl:0= |
85 |
- sys-libs/ncurses:0= |
86 |
- audio? ( media-libs/openal media-libs/freealut ) |
87 |
- video? ( media-libs/libvpx:= x11-libs/libX11 ) |
88 |
- notifications? ( x11-libs/libnotify ) |
89 |
- python? ( ${PYTHON_DEPS} ) |
90 |
- qrcode? ( media-gfx/qrencode ) |
91 |
-" |
92 |
-DEPEND=" |
93 |
- virtual/pkgconfig |
94 |
- ${RDEPEND} |
95 |
-" |
96 |
- |
97 |
-PATCHES=( |
98 |
- "${FILESDIR}/${P}-verbose-build-log.patch" |
99 |
- ) |
100 |
- |
101 |
-pkg_setup() { |
102 |
- use python && python-single-r1_pkg_setup |
103 |
-} |
104 |
- |
105 |
-src_prepare() { |
106 |
- default |
107 |
- # bug 630370: version string correction 0.7.2 -> 0.8.0 |
108 |
- # REMOVE THIS FOR toxic != 0.8.0 |
109 |
- sed -i \ |
110 |
- -e 's/^\(TOXIC_VERSION =\).*$/\1 0.8.0/' \ |
111 |
- cfg/global_vars.mk || die "Version string correction failed." |
112 |
-} |
113 |
- |
114 |
-src_configure() { |
115 |
- export USER_CFLAGS="${CFLAGS}" |
116 |
- export USER_LDFLAGS="${LDFLAGS}" |
117 |
- if ! use video && ! use audio; then |
118 |
- export DISABLE_AV=1 |
119 |
- fi |
120 |
- if ! use audio; then |
121 |
- export DISABLE_SOUND_NOTIFY=1 |
122 |
- fi |
123 |
- if ! use X; then |
124 |
- export DISABLE_X11=1 |
125 |
- fi |
126 |
- if ! use notifications; then |
127 |
- export DISABLE_DESKTOP_NOTIFY=1 |
128 |
- fi |
129 |
- if ! use qrcode; then |
130 |
- export DISABLE_QRPNG=1 |
131 |
- fi |
132 |
- if use python; then |
133 |
- export ENABLE_PYTHON=1 |
134 |
- fi |
135 |
- sed -i \ |
136 |
- -e "s,/usr/local,${EPREFIX}/usr,g" \ |
137 |
- cfg/global_vars.mk || die "PREFIX sed failed" |
138 |
-} |
139 |
- |
140 |
-src_compile() { |
141 |
- emake V=1 || die "emake failed" |
142 |
-} |
143 |
- |
144 |
-src_install() { |
145 |
- default |
146 |
- if ! use audio; then |
147 |
- rm -r "${ED%/}"/usr/share/${PN}/sounds || die "Could not remove sounds directory" |
148 |
- fi |
149 |
-} |