Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/qmplay2/
Date: Sat, 29 Jan 2022 09:13:40
Message-Id: 1643447607.d949bfe1564f8057da68dcbd3c6ca0c59ef22466.arthurzam@gentoo
1 commit: d949bfe1564f8057da68dcbd3c6ca0c59ef22466
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 09:11:12 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 09:13:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d949bfe1
7
8 media-video/qmplay2: drop 20.07.04, 21.03.09
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 media-video/qmplay2/Manifest | 2 -
13 media-video/qmplay2/qmplay2-20.07.04.ebuild | 149 ----------------------------
14 media-video/qmplay2/qmplay2-21.03.09.ebuild | 139 --------------------------
15 3 files changed, 290 deletions(-)
16
17 diff --git a/media-video/qmplay2/Manifest b/media-video/qmplay2/Manifest
18 index 64fe21b9a67b..e8def86c322f 100644
19 --- a/media-video/qmplay2/Manifest
20 +++ b/media-video/qmplay2/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST QMPlay2-src-20.07.04.tar.xz 1552680 BLAKE2B cc53ef842f91312f72e8d347a2d6d2e4239fe9435d0b7ac39e47e9f1f48a9a570ce614dd496512079d3701e1823ab75123b40ad752fdd2348cdb7bc8de425225 SHA512 4a6316f03d1b77bcd6c08de0daefc3f29b4c8c575eae9f901951e2b43f2739904136b9455f567b66fc9a4e4c64fe92584608f1878dd8c30c0352ea9ee1e2e314
23 -DIST QMPlay2-src-21.03.09.tar.xz 1568600 BLAKE2B da3a185ae2e372b0bad697e4ad7d836647c5b4bb376f0ee3f7e85e387c10b86f1a3fdaf8eb13a2c9a8d3b7d56105e282cc82f22d31043e9e418ee907776f1db2 SHA512 311fe45a9ee237556faeee29633be6161407a31b19fd3bceca5a164e92ff1757824094d20f6b556c0a4beaac07a14179e812faafc5e41ee904cf1ce1827fb138
24 DIST QMPlay2-src-21.06.07.tar.xz 1579640 BLAKE2B f687cf19ce8d4a606b5271c2e5789d5194233bd300f29d165354cc8784808a148e02536ea8a593c036cd75d1e40a335177f1b9db33016008bbb2f9516daf7e61 SHA512 41558e2df09a188cef05c2a24393e67ce4d1ef1268ff1bdd1ac97ec666d9f8f849817b0c64e384624403a8f6f60cb985dde188cb3c75afd731e42f776076d282
25 DIST QMPlay2-src-21.12.24.tar.xz 1609604 BLAKE2B 0b2e1ddc0a089ee0d8d37d3d14f2273b53b4df078c6f1571a5ed44c1234133c3eb21461287eb12027ccb686d844f28939b8dfe236c11fd6cb5831dc825708301 SHA512 fddd1d28a0c7f8ad7fa8ef02bb1181ee2fe4babfd8b9c026d2b1d518c1cf28528c64d296b0050d7c51b1ae558baf2d04fe808b276816d98e839a85dbc67ac136
26
27 diff --git a/media-video/qmplay2/qmplay2-20.07.04.ebuild b/media-video/qmplay2/qmplay2-20.07.04.ebuild
28 deleted file mode 100644
29 index 264d28c79f26..000000000000
30 --- a/media-video/qmplay2/qmplay2-20.07.04.ebuild
31 +++ /dev/null
32 @@ -1,149 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake xdg-utils
39 -
40 -DESCRIPTION="A Qt-based video player, which can play most formats and codecs"
41 -HOMEPAGE="https://github.com/zaps166/QMPlay2"
42 -
43 -if [[ ${PV} == *9999 ]]; then
44 - inherit git-r3
45 - EGIT_REPO_URI="https://github.com/zaps166/QMPlay2"
46 -else
47 - SRC_URI="https://github.com/zaps166/QMPlay2/releases/download/${PV}/QMPlay2-src-${PV}.tar.xz"
48 - KEYWORDS="~amd64 ~x86"
49 - S="${WORKDIR}/QMPlay2-src-${PV}"
50 -fi
51 -
52 -LICENSE="LGPL-3"
53 -SLOT="0"
54 -
55 -IUSE="avdevice +audiofilters +alsa cdio cuvid dbus extensions
56 - gme inputs libass modplug notifications opengl portaudio
57 - pulseaudio sid shaders vaapi vdpau +videofilters visualizations vulkan xv"
58 -
59 -REQUIRED_USE="
60 - audiofilters? ( || ( alsa portaudio pulseaudio ) )
61 - extensions? ( dbus )
62 - shaders? ( vulkan )"
63 -
64 -RDEPEND="
65 - dev-qt/qtcore:5
66 - dev-qt/qtsvg:5
67 - dev-qt/qtwidgets:5
68 - dev-qt/qtx11extras:5
69 - media-video/ffmpeg
70 - || (
71 - dev-qt/qtgui:5[X(-)]
72 - dev-qt/qtgui:5[xcb(-)]
73 - )
74 - alsa? ( media-libs/alsa-lib )
75 - cdio? ( dev-libs/libcdio[cddb] )
76 - dbus? ( dev-qt/qtdbus:5 )
77 - extensions? (
78 - dev-qt/qtdeclarative:5
79 - media-libs/taglib
80 - )
81 - gme? ( media-libs/game-music-emu )
82 - libass? ( media-libs/libass )
83 - opengl? ( virtual/opengl )
84 - portaudio? ( media-libs/portaudio )
85 - pulseaudio? ( media-sound/pulseaudio )
86 - sid? ( media-libs/libsidplayfp )
87 - shaders? ( >=media-libs/shaderc-2020.1 )
88 - vaapi? (
89 - >=media-video/ffmpeg-4.1.3[vaapi]
90 - x11-libs/libva[drm,opengl]
91 - )
92 - vdpau? ( media-video/ffmpeg[vdpau] )
93 - videofilters? ( dev-qt/qtconcurrent:5 )
94 - vulkan? (
95 - >=dev-qt/qtgui-5.14.1:5[vulkan]
96 - >=media-libs/vulkan-loader-1.2.133
97 - )
98 - xv? ( x11-libs/libXv )"
99 -
100 -DEPEND="${RDEPEND}"
101 -BDEPEND="
102 - dev-qt/linguist-tools:5
103 - virtual/pkgconfig"
104 -
105 -src_prepare() {
106 - # disable compress man pages
107 - sed -r \
108 - -e 's/if\(GZIP\)/if\(TRUE\)/' \
109 - -e 's/(install.+QMPlay2\.1)\.gz/\1/' \
110 - -i src/gui/CMakeLists.txt || die
111 -
112 - cmake_src_prepare
113 -}
114 -
115 -src_configure() {
116 - local mycmakeargs=(
117 - # core
118 - -DUSE_LINK_TIME_OPTIMIZATION=false
119 - -DUSE_ALSA=$(usex alsa)
120 - -DUSE_AUDIOCD=$(usex cdio)
121 - -DUSE_FREEDESKTOP_NOTIFICATIONS=$(usex dbus) # https://github.com/zaps166/QMPlay2/issues/134
122 - -DUSE_LIBASS=$(usex libass)
123 - -DUSE_NOTIFY=$(usex notifications)
124 - -DUSE_OPENGL=$(usex opengl)
125 - -DUSE_VULKAN=$(usex vulkan)
126 - -DUSE_GLSLC=$(usex shaders)
127 - -DUSE_XVIDEO=$(usex xv)
128 -
129 - # ffmpeg
130 - -DUSE_FFMPEG_AVDEVICE=$(usex avdevice)
131 - -DUSE_FFMPEG_VAAPI=$(usex vaapi)
132 - -DUSE_FFMPEG_VDPAU=$(usex vdpau)
133 -
134 - # chiptune
135 - -DUSE_CHIPTUNE_GME=$(usex gme)
136 - -DUSE_CHIPTUNE_SID=$(usex sid)
137 -
138 - # modules
139 - -DUSE_AUDIOFILTERS=$(usex audiofilters)
140 - -DUSE_CUVID=$(usex cuvid)
141 - -DUSE_INPUTS=$(usex inputs)
142 - -DUSE_MODPLUG=$(usex modplug)
143 - -DUSE_PORTAUDIO=$(usex portaudio)
144 - -DUSE_PULSEAUDIO=$(usex pulseaudio)
145 - -DUSE_VIDEOFILTERS=$(usex videofilters)
146 - -DUSE_VISUALIZATIONS=$(usex visualizations)
147 -
148 - # extensions
149 - -DUSE_EXTENSIONS=$(usex extensions)
150 - -DUSE_TAGLIB=$(usex extensions)
151 - -DUSE_LASTFM=$(usex extensions)
152 - -DUSE_LYRICS=$(usex extensions)
153 - -DUSE_MEDIABROWSER=$(usex extensions)
154 - -DUSE_MPRIS2=$(usex extensions)
155 - )
156 -
157 - # find and link vulkan libs permanently
158 - if use vulkan; then
159 - mycmakeargs+=( -DQMVK_FIND_VULKAN=true )
160 - fi
161 -
162 - if [[ ${PV} == *9999 ]]; then
163 - mycmakeargs+=( USE_GIT_VERSION=true )
164 - else
165 - mycmakeargs+=( USE_GIT_VERSION=false )
166 - fi
167 -
168 - cmake_src_configure
169 -}
170 -
171 -pkg_postinst() {
172 - xdg_icon_cache_update
173 - xdg_mimeinfo_database_update
174 - xdg_desktop_database_update
175 -}
176 -
177 -pkg_postrm() {
178 - xdg_icon_cache_update
179 - xdg_mimeinfo_database_update
180 - xdg_desktop_database_update
181 -}
182
183 diff --git a/media-video/qmplay2/qmplay2-21.03.09.ebuild b/media-video/qmplay2/qmplay2-21.03.09.ebuild
184 deleted file mode 100644
185 index b626780caa01..000000000000
186 --- a/media-video/qmplay2/qmplay2-21.03.09.ebuild
187 +++ /dev/null
188 @@ -1,139 +0,0 @@
189 -# Copyright 1999-2021 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=7
193 -
194 -inherit cmake xdg
195 -
196 -DESCRIPTION="A Qt-based video player, which can play most formats and codecs"
197 -HOMEPAGE="https://github.com/zaps166/QMPlay2"
198 -
199 -if [[ ${PV} == *9999 ]]; then
200 - inherit git-r3
201 - EGIT_REPO_URI="https://github.com/zaps166/QMPlay2"
202 -else
203 - SRC_URI="https://github.com/zaps166/QMPlay2/releases/download/${PV}/QMPlay2-src-${PV}.tar.xz"
204 - KEYWORDS="~amd64 ~x86"
205 - S="${WORKDIR}/QMPlay2-src-${PV}"
206 -fi
207 -
208 -LICENSE="LGPL-3"
209 -SLOT="0"
210 -
211 -IUSE="avdevice +audiofilters +alsa cdio cuvid dbus extensions
212 - gme inputs libass modplug notifications opengl pipewire portaudio
213 - pulseaudio sid shaders vaapi vdpau +videofilters visualizations vulkan xv"
214 -
215 -REQUIRED_USE="
216 - audiofilters? ( || ( alsa pipewire portaudio pulseaudio ) )
217 - extensions? ( dbus )
218 - shaders? ( vulkan )"
219 -
220 -RDEPEND="
221 - dev-qt/qtcore:5
222 - dev-qt/qtsvg:5
223 - dev-qt/qtwidgets:5
224 - dev-qt/qtx11extras:5
225 - media-video/ffmpeg
226 - || (
227 - dev-qt/qtgui:5[X(-)]
228 - dev-qt/qtgui:5[xcb(-)]
229 - )
230 - alsa? ( media-libs/alsa-lib )
231 - cdio? ( dev-libs/libcdio[cddb] )
232 - dbus? ( dev-qt/qtdbus:5 )
233 - extensions? (
234 - dev-qt/qtdeclarative:5
235 - media-libs/taglib
236 - )
237 - gme? ( media-libs/game-music-emu )
238 - libass? ( media-libs/libass )
239 - opengl? ( virtual/opengl )
240 - pipewire? ( media-video/pipewire )
241 - portaudio? ( media-libs/portaudio )
242 - pulseaudio? ( media-sound/pulseaudio )
243 - sid? ( media-libs/libsidplayfp )
244 - shaders? ( >=media-libs/shaderc-2020.1 )
245 - vaapi? (
246 - >=media-video/ffmpeg-4.1.3[vaapi]
247 - x11-libs/libva[drm,opengl]
248 - )
249 - vdpau? ( media-video/ffmpeg[vdpau] )
250 - videofilters? ( dev-qt/qtconcurrent:5 )
251 - vulkan? (
252 - >=dev-qt/qtgui-5.14.1:5[vulkan]
253 - >=media-libs/vulkan-loader-1.2.133
254 - )
255 - xv? ( x11-libs/libXv )"
256 -
257 -DEPEND="${RDEPEND}"
258 -BDEPEND="
259 - dev-qt/linguist-tools:5
260 - virtual/pkgconfig"
261 -
262 -src_prepare() {
263 - # disable compress man pages
264 - sed -r \
265 - -e 's/if\(GZIP\)/if\(TRUE\)/' \
266 - -e 's/(install.+QMPlay2\.1)\.gz/\1/' \
267 - -i src/gui/CMakeLists.txt || die
268 -
269 - cmake_src_prepare
270 -}
271 -
272 -src_configure() {
273 - local mycmakeargs=(
274 - # core
275 - -DUSE_LINK_TIME_OPTIMIZATION=false
276 - -DUSE_ALSA=$(usex alsa)
277 - -DUSE_AUDIOCD=$(usex cdio)
278 - -DUSE_FREEDESKTOP_NOTIFICATIONS=$(usex dbus) # https://github.com/zaps166/QMPlay2/issues/134
279 - -DUSE_LIBASS=$(usex libass)
280 - -DUSE_NOTIFY=$(usex notifications)
281 - -DUSE_OPENGL=$(usex opengl)
282 - -DUSE_VULKAN=$(usex vulkan)
283 - -DUSE_GLSLC=$(usex shaders)
284 - -DUSE_XVIDEO=$(usex xv)
285 -
286 - # ffmpeg
287 - -DUSE_FFMPEG_AVDEVICE=$(usex avdevice)
288 - -DUSE_FFMPEG_VAAPI=$(usex vaapi)
289 - -DUSE_FFMPEG_VDPAU=$(usex vdpau)
290 -
291 - # chiptune
292 - -DUSE_CHIPTUNE_GME=$(usex gme)
293 - -DUSE_CHIPTUNE_SID=$(usex sid)
294 -
295 - # modules
296 - -DUSE_AUDIOFILTERS=$(usex audiofilters)
297 - -DUSE_CUVID=$(usex cuvid)
298 - -DUSE_INPUTS=$(usex inputs)
299 - -DUSE_MODPLUG=$(usex modplug)
300 - -DUSE_PIPEWIRE=$(usex pipewire)
301 - -DUSE_PORTAUDIO=$(usex portaudio)
302 - -DUSE_PULSEAUDIO=$(usex pulseaudio)
303 - -DUSE_VIDEOFILTERS=$(usex videofilters)
304 - -DUSE_VISUALIZATIONS=$(usex visualizations)
305 -
306 - # extensions
307 - -DUSE_EXTENSIONS=$(usex extensions)
308 - -DUSE_TAGLIB=$(usex extensions)
309 - -DUSE_LASTFM=$(usex extensions)
310 - -DUSE_LYRICS=$(usex extensions)
311 - -DUSE_MEDIABROWSER=$(usex extensions)
312 - -DUSE_MPRIS2=$(usex extensions)
313 - )
314 -
315 - # find and link vulkan libs permanently
316 - if use vulkan; then
317 - mycmakeargs+=( -DQMVK_FIND_VULKAN=true )
318 - fi
319 -
320 - if [[ ${PV} == *9999 ]]; then
321 - mycmakeargs+=( USE_GIT_VERSION=true )
322 - else
323 - mycmakeargs+=( USE_GIT_VERSION=false )
324 - fi
325 -
326 - cmake_src_configure
327 -}