Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/kvirc/
Date: Tue, 01 Feb 2022 18:19:22
Message-Id: 1643739020.a91c5f2edf2266697c8929a901ce79d978880759.jsmolic@gentoo
1 commit: a91c5f2edf2266697c8929a901ce79d978880759
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Sun Jan 30 02:00:00 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 18:10:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91c5f2e
7
8 net-irc/kvirc: Delete old version (5.2_pre20200605155236)
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-irc/kvirc/Manifest | 1 -
14 .../kvirc/kvirc-5.2_pre20200605155236-r2.ebuild | 181 ---------------------
15 2 files changed, 182 deletions(-)
16
17 diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest
18 index 07dd54b0966c..b20a302e1243 100644
19 --- a/net-irc/kvirc/Manifest
20 +++ b/net-irc/kvirc/Manifest
21 @@ -1,2 +1 @@
22 -DIST kvirc-5.2_pre20200605155236.tar.gz 6170072 BLAKE2B 2652bcae16263615ccbf494d8265a1ecf997525dbfa70d4ace0c3f6ae58231ce575dfe444a60e2751bb7741445bf44297fafb260c05bad6d637f8dc89eb254b4 SHA512 84499fe13337f114587ff267d5e85e39ef61d99e88c84cfc9f0341a5db2e17b50d644bf8483de420c3629f073d6e3eeb81e25de357a723f54e39f154cb4b7da1
23 DIST kvirc-5.2_pre20210630233331.tar.gz 6173417 BLAKE2B dcdb5fed3250de08d8e2896ba799e142ee04fff409006d7b7d06bdcf1cf2f6df9f7abeeb055e550d99f9cca6182d68b4f5b9ff224f78d91b1efb7f42118458e5 SHA512 625712cc69a2ab3a33b72b2e9935bec8f307ef1f8d5a9a0672d7eb8e7daa5ab3e6202a2b8932493c30374f0451821db161e47cb3af840c0324e27ca2e58272ef
24
25 diff --git a/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild
26 deleted file mode 100644
27 index 9873ba64ff6b..000000000000
28 --- a/net-irc/kvirc/kvirc-5.2_pre20200605155236-r2.ebuild
29 +++ /dev/null
30 @@ -1,181 +0,0 @@
31 -# Copyright 2009-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="7"
35 -CMAKE_MAKEFILE_GENERATOR="emake"
36 -PYTHON_COMPAT=( python3_{8..9} )
37 -
38 -inherit cmake flag-o-matic python-single-r1 xdg-utils
39 -
40 -if [[ "${PV}" == "9999" ]]; then
41 - inherit git-r3
42 -
43 - EGIT_REPO_URI="https://github.com/kvirc/KVIrc"
44 - KVIRC_GIT_REVISION=""
45 - KVIRC_GIT_SOURCES_DATE=""
46 -else
47 - KVIRC_GIT_REVISION="e66a5106ef55a92e2532c38aa255ac376ba6afe1"
48 - KVIRC_GIT_SOURCES_DATE="${PV#*_pre}"
49 - KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}"
50 -fi
51 -
52 -DESCRIPTION="Advanced IRC Client"
53 -HOMEPAGE="https://www.kvirc.net/ https://github.com/kvirc/KVIrc"
54 -if [[ "${PV}" == "9999" ]]; then
55 - SRC_URI=""
56 -else
57 - SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz"
58 -fi
59 -
60 -LICENSE="GPL-2+"
61 -SLOT="0"
62 -KEYWORDS="amd64 ~ppc ~ppc64 x86"
63 -IUSE="audiofile +dbus dcc-video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora"
64 -REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )"
65 -
66 -BDEPEND="dev-lang/perl:0
67 - >=dev-util/cmake-3.16
68 - virtual/pkgconfig
69 - doc? ( app-doc/doxygen )
70 - kde? ( kde-frameworks/extra-cmake-modules:5 )
71 - nls? ( sys-devel/gettext )"
72 -DEPEND="dev-qt/qtcore:5
73 - dev-qt/qtgui:5
74 - dev-qt/qtmultimedia:5
75 - dev-qt/qtnetwork:5
76 - dev-qt/qtprintsupport:5
77 - dev-qt/qtsql:5
78 - dev-qt/qtwidgets:5
79 - dev-qt/qtx11extras:5
80 - dev-qt/qtxml:5
81 - sys-libs/zlib:0=
82 - x11-libs/libX11
83 - x11-libs/libXScrnSaver
84 - audiofile? ( media-libs/audiofile )
85 - dbus? ( dev-qt/qtdbus:5 )
86 - dcc-video? ( dev-qt/qtmultimedia:5[widgets] )
87 - kde? (
88 - kde-frameworks/kcoreaddons:5
89 - kde-frameworks/ki18n:5
90 - kde-frameworks/knotifications:5
91 - kde-frameworks/kservice:5
92 - kde-frameworks/kwindowsystem:5
93 - kde-frameworks/kxmlgui:5
94 - )
95 - perl? ( dev-lang/perl:0= )
96 - phonon? ( media-libs/phonon[qt5(+)] )
97 - python? ( ${PYTHON_DEPS} )
98 - spell? ( app-text/enchant:0= )
99 - ssl? ( dev-libs/openssl:0= )
100 - theora? (
101 - media-libs/libogg
102 - media-libs/libtheora
103 - media-libs/libvorbis
104 - )
105 -"
106 -RDEPEND="${DEPEND}
107 - gsm? ( media-sound/gsm )"
108 -
109 -if [[ "${PV}" != "9999" ]]; then
110 - S="${WORKDIR}/KVIrc-${KVIRC_GIT_REVISION}"
111 -fi
112 -
113 -DOCS=()
114 -
115 -pkg_setup() {
116 - if use python; then
117 - python-single-r1_pkg_setup
118 - fi
119 -}
120 -
121 -src_prepare() {
122 - cmake_src_prepare
123 -
124 - if [[ "${PV}" == "9999" ]]; then
125 - KVIRC_GIT_REVISION="$(git show -s --format=%H)"
126 - KVIRC_GIT_SOURCES_DATE="$(git show -s --format=%cd --date=short)"
127 - fi
128 - einfo "Setting of revision number to ${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE}"
129 - sed -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" (${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE})\"/" -i src/kvirc/ui/KviMainWindow.cpp || die "Setting of revision number failed"
130 -
131 - # https://github.com/kvirc/KVIrc/issues/2504
132 - # https://github.com/kvirc/KVIrc/commit/fa2b4a9f98e2820432e3a7561b3ca914982a4454
133 - sed -e "s/KWindowInfo wi = KWindowSystem::windowInfo(activeId, NET::WMState);/KWindowInfo wi = KWindowInfo(activeId, NET::WMState);/" -i src/modules/notifier/NotifierWindow.cpp || die
134 -}
135 -
136 -src_configure() {
137 - append-flags -fno-strict-aliasing
138 -
139 - local libdir="$(get_libdir)"
140 - local mycmakeargs=(
141 - -DLIB_SUFFIX=${libdir#lib}
142 - -DMANUAL_REVISION=${KVIRC_GIT_REVISION}
143 - -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/}
144 - -DWANT_ENV_FLAGS=ON
145 - -DWANT_VERBOSE=ON
146 -
147 - -DWANT_CRYPT=ON
148 - -DWANT_DCC_VOICE=ON
149 - -DWANT_IPC=ON
150 - -DWANT_IPV6=ON
151 - -DWANT_TRANSPARENCY=ON
152 -
153 - -DWANT_AUDIOFILE=$(usex audiofile ON OFF)
154 - -DWANT_DCC_VIDEO=$(usex dcc-video ON OFF)
155 - -DWANT_DEBUG=$(usex debug ON OFF)
156 - -DWANT_DOXYGEN=$(usex doc ON OFF)
157 - -DWANT_GETTEXT=$(usex nls ON OFF)
158 - -DWANT_GSM=$(usex gsm ON OFF)
159 - -DWANT_KDE=$(usex kde ON OFF)
160 - -DWANT_MEMORY_PROFILE=$(usex profile ON OFF)
161 - -DWANT_OGG_THEORA=$(usex theora ON OFF)
162 - -DWANT_OPENSSL=$(usex ssl ON OFF)
163 - -DWANT_OSS=$(usex oss ON OFF)
164 - -DWANT_PERL=$(usex perl ON OFF)
165 - -DWANT_PHONON=$(usex phonon ON OFF)
166 - -DWANT_PYTHON=$(usex python ON OFF)
167 - -DWANT_QTDBUS=$(usex dbus ON OFF)
168 - -DWANT_QTWEBKIT=OFF
169 - -DWANT_SPELLCHECKER=$(usex spell ON OFF)
170 -
171 - # COMPILE_SVG_SUPPORT not used in source code.
172 - -DWANT_QTSVG=OFF
173 - )
174 - if use python; then
175 - mycmakeargs+=(
176 - -DPython3_INCLUDE_DIR="$(python_get_includedir)"
177 - -DPython3_LIBRARY="$(python_get_library_path)"
178 - )
179 - fi
180 -
181 - cmake_src_configure
182 -}
183 -
184 -src_compile() {
185 - cmake_src_compile
186 -
187 - if use doc; then
188 - cmake_src_compile devdocs
189 - fi
190 -}
191 -
192 -src_install() {
193 - cmake_src_install
194 -
195 - if use doc; then
196 - (
197 - docinto html
198 - dodoc -r "${BUILD_DIR}/doc/api/html/"*
199 - )
200 - fi
201 -}
202 -
203 -pkg_postinst() {
204 - xdg_desktop_database_update
205 - xdg_icon_cache_update
206 -}
207 -
208 -pkg_postrm() {
209 - xdg_desktop_database_update
210 - xdg_icon_cache_update
211 -}