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-irc/hexchat/
Date: Tue, 23 Aug 2022 05:24:26
Message-Id: 1661232235.1b24e08378a4e3739be3207af4cc86da4a84207d.sam@gentoo
1 commit: 1b24e08378a4e3739be3207af4cc86da4a84207d
2 Author: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
3 AuthorDate: Sun Aug 21 19:30:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 23 05:23:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b24e083
7
8 net-irc/hexchat: drop 2.16.0
9
10 Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-irc/hexchat/Manifest | 1 -
14 net-irc/hexchat/hexchat-2.16.0.ebuild | 135 ----------------------------------
15 2 files changed, 136 deletions(-)
16
17 diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest
18 index 5620bb3a2a09..5d8f6c9d2b9d 100644
19 --- a/net-irc/hexchat/Manifest
20 +++ b/net-irc/hexchat/Manifest
21 @@ -1,2 +1 @@
22 -DIST hexchat-2.16.0.tar.xz 1348320 BLAKE2B d5c6da74152e7ca08b629ee86cc45acb8232fbdad3d508cf56aba0c09d558b77644b704b5489e5f08a70133813f37c12e45b1529162e41b62acc9f61bca0b108 SHA512 4802f6efe0883f48d3d56ee949be1fc224b76a3c76956dcba3f913679e91424ba53c5c0d68bb4e0e790b16a08689111098958ead4c83c35cddf39855fe07c207
23 DIST hexchat-2.16.1.tar.xz 1349536 BLAKE2B 6e1d9f7c36affc94356e0124ea445f019d8f00b643896ec004af17059befadfcd8fc1b75ef9fba277542dcf8593e8e4683a709a4c4cbaaaf4f3122d8488dc6ce SHA512 9e6baa30ec8c3ce4fb56e2c82625da63295040eaf93a542aec8a4a18a6a3c95d69d1d4ffabc952bcdcd7b754afef234b348f296143991fafd0550342db95ce0e
24
25 diff --git a/net-irc/hexchat/hexchat-2.16.0.ebuild b/net-irc/hexchat/hexchat-2.16.0.ebuild
26 deleted file mode 100644
27 index 4ac16a414855..000000000000
28 --- a/net-irc/hexchat/hexchat-2.16.0.ebuild
29 +++ /dev/null
30 @@ -1,135 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -LUA_COMPAT=( lua5-{1..4} luajit )
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -inherit lua-single meson mono-env python-single-r1 xdg
40 -
41 -DESCRIPTION="Graphical IRC client based on XChat"
42 -HOMEPAGE="https://hexchat.github.io/"
43 -
44 -if [[ "${PV}" == "9999" ]] ; then
45 - inherit git-r3
46 - SRC_URI=""
47 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
48 -else
49 - SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz"
50 - KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux"
51 -fi
52 -
53 -LICENSE="GPL-2 plugin-fishlim? ( MIT )"
54 -SLOT="0"
55 -IUSE="dbus debug +gtk libcanberra lua perl plugin-checksum plugin-fishlim plugin-sysinfo python ssl theme-manager"
56 -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
57 - plugin-fishlim? ( ssl )
58 - python? ( ${PYTHON_REQUIRED_USE} )"
59 -
60 -RDEPEND="
61 - dev-libs/glib:2
62 - dbus? ( dev-libs/dbus-glib )
63 - gtk? (
64 - x11-libs/gdk-pixbuf:2
65 - x11-libs/gtk+:2
66 - x11-libs/libX11
67 - x11-libs/pango
68 - )
69 - libcanberra? ( media-libs/libcanberra )
70 - lua? ( ${LUA_DEPS} )
71 - perl? ( dev-lang/perl:= )
72 - plugin-sysinfo? ( sys-apps/pciutils )
73 - python? (
74 - ${PYTHON_DEPS}
75 - virtual/python-cffi
76 - )
77 - ssl? ( dev-libs/openssl:0= )
78 - theme-manager? (
79 - || (
80 - (
81 - dev-lang/mono[minimal]
82 - dev-dotnet/libgdiplus
83 - )
84 - dev-lang/mono[-minimal]
85 - )
86 - )"
87 -
88 -DEPEND="${RDEPEND}"
89 -BDEPEND="
90 - dev-util/glib-utils
91 - app-arch/xz-utils
92 - app-text/iso-codes
93 - sys-devel/gettext
94 - virtual/pkgconfig
95 -"
96 -
97 -pkg_setup() {
98 - use lua && lua-single_pkg_setup
99 - use python && python-single-r1_pkg_setup
100 - if use theme-manager ; then
101 - mono-env_pkg_setup
102 - export XDG_CACHE_HOME="${T}/.cache"
103 - fi
104 -}
105 -
106 -src_configure() {
107 - local emesonargs=(
108 - -Ddbus-service-use-appid=false
109 - -Dinstall-appdata=false
110 - -Dplugin=true
111 - $(meson_feature dbus)
112 - $(meson_feature libcanberra)
113 - $(meson_feature ssl tls)
114 - $(meson_use gtk gtk-frontend)
115 - $(meson_use !gtk text-frontend)
116 - $(meson_use theme-manager)
117 -
118 - $(meson_use plugin-checksum with-checksum)
119 - $(meson_use plugin-fishlim with-fishlim)
120 - -Dwith-lua="$(usex lua "${ELUA}" false)"
121 - -Dwith-perl="$(usex perl "${EPREFIX}"/usr/bin/perl false)"
122 - -Dwith-python="$(usex python "${EPYTHON/.*}" false)"
123 - $(meson_use plugin-sysinfo with-sysinfo)
124 - )
125 - meson_src_configure
126 -}
127 -
128 -src_install() {
129 - meson_src_install
130 - dodoc readme.md
131 - find "${ED}" -type f -name '*.la' -delete || die
132 -}
133 -
134 -pkg_preinst() {
135 - if use gtk ; then
136 - xdg_pkg_preinst
137 - fi
138 -}
139 -
140 -pkg_postinst() {
141 - if use gtk ; then
142 - xdg_pkg_postinst
143 - else
144 - elog "You have disabled the gtk USE flag. This means you don't have"
145 - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
146 - fi
147 -
148 - if use theme-manager ; then
149 - elog "Themes are available at:"
150 - elog " https://hexchat.github.io/themes.html"
151 - fi
152 -
153 - elog
154 - elog "optional dependencies:"
155 - elog " media-sound/sox (sound playback if you don't have libcanberra"
156 - elog " enabled)"
157 - elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
158 - elog " needs libcanberra enabled)"
159 -}
160 -
161 -pkg_postrm() {
162 - if use gtk ; then
163 - xdg_pkg_postrm
164 - fi
165 -}