Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/libvisual-plugins/
Date: Mon, 20 Mar 2023 03:58:16
Message-Id: 1679284626.4c7e6eb4c06d072f3f2db38d1d6d05df8bb72449.sping@gentoo
1 commit: 4c7e6eb4c06d072f3f2db38d1d6d05df8bb72449
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 20 03:31:03 2023 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 20 03:57:06 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7e6eb4
7
8 media-plugins/libvisual-plugins: 0.4.2 + PortAudio + PulseAudio
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11
12 media-plugins/libvisual-plugins/Manifest | 1 +
13 .../libvisual-plugins-0.4.2.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/media-plugins/libvisual-plugins/Manifest b/media-plugins/libvisual-plugins/Manifest
17 index d9e9f96971e1..c4b39d156a99 100644
18 --- a/media-plugins/libvisual-plugins/Manifest
19 +++ b/media-plugins/libvisual-plugins/Manifest
20 @@ -1 +1,2 @@
21 DIST libvisual-plugins-0.4.1.tar.bz2 687994 BLAKE2B 5899580c3b4f5959a5105b79565bd69d87973a38c3d860fb480d88a29846d3017b207ec318ffbd4a2e47382207ccd04cb043a99b68e76f0690cf77fa270e8722 SHA512 db80b081615e129d4bea34c7d99af1978bd1b569f4a1f17cfbbe3cadafc954085552c5944198f9c86f43aa367460d3ca5b4e4ea2aacee4f78dce9ff802a80663
22 +DIST libvisual-plugins-0.4.2.tar.bz2 731700 BLAKE2B 9a803c2b545fe854959043a37123089f4a215fa8139fc72a520f6cffccb004f347709ea68c273dccf60373a957ecd0aaf7ed0fd3319d431c1f65dcfe10432a95 SHA512 16015bad0a898d0990ba9d5a1fe2ab2d649b5db8b965cc00fa62b095033dc8cf27559e79cc49099b5b0a1d679f1f5f6ba9ccf2eac3ac87ebe48da2e64554a568
23
24 diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.2.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.2.ebuild
25 new file mode 100644
26 index 000000000000..00630b2e9cde
27 --- /dev/null
28 +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.2.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +inherit multilib-minimal
35 +
36 +DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
37 +HOMEPAGE="http://libvisual.org/"
38 +SRC_URI="https://github.com/Libvisual/libvisual/releases/download/${P}/${P}.tar.bz2"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0.4"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
43 +IUSE="alsa debug gstreamer gtk jack mplayer opengl portaudio pulseaudio"
44 +
45 +RDEPEND=">=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
46 + ~media-libs/libvisual-${PV}[${MULTILIB_USEDEP}]
47 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
48 + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
49 + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
50 + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
51 + gstreamer? ( media-libs/gstreamer[${MULTILIB_USEDEP}] )
52 + gtk? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
53 + jack? ( virtual/jack[${MULTILIB_USEDEP}] )
54 + opengl? (
55 + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
56 + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
57 + )
58 + portaudio? ( media-libs/portaudio[${MULTILIB_USEDEP}] )
59 + pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
60 +"
61 +BDEPEND=">=virtual/pkgconfig-0-r1"
62 +
63 +DEPEND="${RDEPEND}
64 + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]"
65 +
66 +DOCS=( AUTHORS ChangeLog NEWS README TODO )
67 +
68 +multilib_src_configure() {
69 + ECONF_SOURCE=${S} \
70 + econf \
71 + $(use_enable jack) \
72 + $(use_enable gtk gdkpixbuf-plugin) \
73 + $(use_enable gstreamer gstreamer-plugin) \
74 + $(use_enable alsa) \
75 + $(use_enable mplayer) \
76 + --enable-inputdebug \
77 + $(use_enable opengl gltest) \
78 + $(use_enable opengl nastyfft) \
79 + $(use_enable opengl madspin) \
80 + $(use_enable opengl flower) \
81 + $(use_enable debug) \
82 + $(use_enable portaudio) \
83 + $(use_enable pulseaudio)
84 +}
85 +
86 +multilib_src_install_all() {
87 + einstalldocs
88 + find "${D}" -name "*.la" -delete || die
89 +}