Gentoo Archives: gentoo-commits

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