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-libs/libvisual/
Date: Mon, 20 Mar 2023 03:58:15
Message-Id: 1679284626.5908857f9311b36a24fd812d1a50d5ee6fd0ecc7.sping@gentoo
1 commit: 5908857f9311b36a24fd812d1a50d5ee6fd0ecc7
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 20 02:58:08 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=5908857f
7
8 media-libs/libvisual: 0.4.2 + lv-tool
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11
12 media-libs/libvisual/Manifest | 1 +
13 media-libs/libvisual/libvisual-0.4.2.ebuild | 48 +++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/media-libs/libvisual/Manifest b/media-libs/libvisual/Manifest
17 index a9fe47948878..379810644b5f 100644
18 --- a/media-libs/libvisual/Manifest
19 +++ b/media-libs/libvisual/Manifest
20 @@ -1 +1,2 @@
21 DIST libvisual-0.4.1.tar.bz2 560877 BLAKE2B 5429493424cbf7d5d6e17ef6a5219ffb5491a6e0f7ea9d9563021beabfdc22aead0d80924c17904b96cc645ef0dc737fa61680abf152b421ca5f4ac834fc6a19 SHA512 a1417a54d4f0566121db5d08770e7f41559ef7f3704d0da74f1dc316c6b7f16197d843a96382b4122d01251764ccb6ed240fd4e99abc7b0f440c9f43afa9506a
22 +DIST libvisual-0.4.2.tar.bz2 563023 BLAKE2B b9480db0f168f6e7b398f773c6bbf4d1dab75dd2b711cc9b0b5fd1fb790e57cdd1e9ed3733fb4f911586b7ebb6e1cb9f3bbe74bfe4e67b9cb95e3e7b2eee950a SHA512 88634c27cd5de149d08141fb68d86a85320513208426f412541ab6aa985069683c17437fd0f49d6dafdd811a516f1f9268a2cf2146a3b55332280d7930f59b55
23
24 diff --git a/media-libs/libvisual/libvisual-0.4.2.ebuild b/media-libs/libvisual/libvisual-0.4.2.ebuild
25 new file mode 100644
26 index 000000000000..d79d98ed8917
27 --- /dev/null
28 +++ b/media-libs/libvisual/libvisual-0.4.2.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit multilib-minimal optfeature
36 +
37 +DESCRIPTION="Abstraction library between applications and audio visualisation plugins"
38 +HOMEPAGE="http://libvisual.org/"
39 +SRC_URI="https://github.com/Libvisual/libvisual/releases/download/${P}/${P}.tar.bz2"
40 +
41 +LICENSE="LGPL-2.1"
42 +SLOT="0.4"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
44 +IUSE="debug nls threads"
45 +
46 +BDEPEND="
47 + virtual/pkgconfig
48 + nls? ( sys-devel/gettext )"
49 +DEPEND="media-libs/libsdl"
50 +RDEPEND="${DEPEND}"
51 +
52 +MULTILIB_WRAPPED_HEADERS=(
53 + /usr/include/libvisual-0.4/libvisual/lvconfig.h
54 +)
55 +
56 +multilib_src_configure() {
57 + ECONF_SOURCE="${S}" econf \
58 + --disable-static \
59 + --enable-lv-tool \
60 + --disable-examples \
61 + $(use_enable nls) \
62 + $(use_enable threads) \
63 + $(use_enable debug)
64 +}
65 +
66 +multilib_src_install_all() {
67 + einstalldocs
68 +
69 + # no static archives
70 + find "${ED}" -name '*.la' -delete || die
71 +}
72 +
73 +pkg_postinst() {
74 + optfeature_header "Libvisual relies on plugins; consider also installing:"
75 + optfeature operability media-plugins/libvisual-plugins
76 + optfeature projectm media-plugins/libvisual-projectm
77 +}