Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/toxic/
Date: Fri, 04 Sep 2020 20:54:01
Message-Id: 1599252830.ca8da9ffbfe07e3c01a405e05eb92712629959d7.sam@gentoo
1 commit: ca8da9ffbfe07e3c01a405e05eb92712629959d7
2 Author: Josiah Mullins <JoMull01 <AT> protonmail <DOT> com>
3 AuthorDate: Fri Jul 24 21:07:20 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 20:53:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca8da9ff
7
8 net-im/toxic: remove old ebuild version 0.8.2
9
10 Signed-off-by: Josiah Mullins <JoMull01 <AT> protonmail.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-im/toxic/Manifest | 2 -
14 net-im/toxic/toxic-0.8.2.ebuild | 99 -----------------------------------------
15 2 files changed, 101 deletions(-)
16
17 diff --git a/net-im/toxic/Manifest b/net-im/toxic/Manifest
18 index 2f4c4e49deb..70b8a4152fb 100644
19 --- a/net-im/toxic/Manifest
20 +++ b/net-im/toxic/Manifest
21 @@ -1,3 +1 @@
22 -DIST toxic-0.8.2.tar.gz 1146526 BLAKE2B 0a1c80313963287e88aa489ecf4614365a3d94c770cdfb3b1f3afd0bf2b70639c35b9c5ce52408647abdaac9822c9529b603ec1883779f5486ff63001d98ff5e SHA512 258e873404315c9a1f59d67f524089afebad88d800116bd9e53c8bc35bd9dd6b66cfcd90db06181f01330ba0a302456510fac5c01fdbfde7d475aa5d6b1070aa
23 DIST toxic-0.8.3.tar.gz 1147100 BLAKE2B d73a861112aca65e54773c98473c2858bb81e63fef11212633e34dac9e87101956e3ab0d9d56757767bc5d48d1d5a406e550f8fc55ae34860dbc4977c94ee347 SHA512 c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e
24 -DIST toxic_patches-0.8.2.tar.gz 3859 BLAKE2B 4a19226cea6c7ce60f599fbd4f74171f26b3812259f0f8997997526bde7beb6fe64b922f25fe77e0ac8f9b185db116d2e626cb889631a1508786b92f9bbc8927 SHA512 737cc53e814567e10ad8b7431be63ab8f99b76bb150490c31e03309c4e51ee34a798d141cbde446cbbc4b5c0145ca468f3456a2af4b966c80792cdccc6562b46
25
26 diff --git a/net-im/toxic/toxic-0.8.2.ebuild b/net-im/toxic/toxic-0.8.2.ebuild
27 deleted file mode 100644
28 index b6312da26f7..00000000000
29 --- a/net-im/toxic/toxic-0.8.2.ebuild
30 +++ /dev/null
31 @@ -1,99 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=( python3_6 )
37 -
38 -inherit python-single-r1 xdg
39 -
40 -DESCRIPTION="A curses-based client for Tox"
41 -HOMEPAGE="https://github.com/JFreegman/toxic"
42 -SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz
43 - https://github.com/fx-carton/toxic_patches/archive/v${PV}.tar.gz -> ${PN}_patches-${PV}.tar.gz"
44 -
45 -LICENSE="GPL-3+"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="+X +sound notification +python +qrcode +video"
49 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
50 -
51 -# Not a typo; net-libs/tox only has a 'both or neither' option
52 -RDEPEND="
53 - net-libs/tox:0/0.2
54 - dev-libs/libconfig
55 - net-misc/curl:0=
56 - sys-libs/ncurses:0=
57 - notification? ( x11-libs/libnotify )
58 - python? ( ${PYTHON_DEPS} )
59 - qrcode? ( media-gfx/qrencode:= )
60 - sound? (
61 - media-libs/openal
62 - media-libs/freealut
63 - net-libs/tox:0/0.2[av]
64 - )
65 - video? (
66 - media-libs/libvpx:=
67 - net-libs/tox:0/0.2[av]
68 - x11-libs/libX11
69 - )
70 -"
71 -DEPEND="
72 - virtual/pkgconfig
73 - ${RDEPEND}
74 -"
75 -
76 -PATCHES=(
77 - "${WORKDIR}/${PN}_patches-${PV}/${P}-make-qrencode-optional.patch"
78 - )
79 -
80 -pkg_setup() {
81 - use python && python-single-r1_pkg_setup
82 -}
83 -
84 -src_prepare() {
85 - default
86 - if [[ ${PV} = 0.8.2 ]]; then
87 - sed -i \
88 - -e 's/^\(TOXIC_VERSION =\).*$/\1 0.8.2/' \
89 - cfg/global_vars.mk || die
90 - else
91 - die "Remove stale version hack"
92 - fi
93 - sed -i '/^VIDEO = /s/DISABLE_AV/DISABLE_VI/g' cfg/checks/check_features.mk || die
94 - find . '(' -name '*.mk' -o -name 'Makefile' ')' -exec sed -i 's/^\t@/\t/' {} + || die
95 -}
96 -
97 -src_configure() {
98 - export USER_CFLAGS="${CFLAGS}"
99 - export USER_LDFLAGS="${LDFLAGS}"
100 - if ! use sound; then
101 - export DISABLE_AV=1
102 - export DISABLE_SOUND_NOTIFY=1
103 - fi
104 - if ! use video; then
105 - export DISABLE_VI=1
106 - fi
107 - if ! use X; then
108 - export DISABLE_X11=1
109 - fi
110 - if ! use notification; then
111 - export DISABLE_DESKTOP_NOTIFY=1
112 - fi
113 - if ! use qrcode; then
114 - export DISABLE_QRCODE=1
115 - export DISABLE_QRPNG=1
116 - fi
117 - if use python; then
118 - export ENABLE_PYTHON=1
119 - fi
120 - sed -i \
121 - -e "s,/usr/local,${EPREFIX}/usr,g" \
122 - cfg/global_vars.mk || die "PREFIX sed failed"
123 -}
124 -
125 -src_install() {
126 - default
127 - if ! use sound; then
128 - rm -r "${ED%/}"/usr/share/${PN}/sounds || die "Could not remove sounds directory"
129 - fi
130 -}