Сравнение libvisual-0.4.1 с libvisual-0.4.2-r1
/usr/portage/media-libs/libvisual/libvisual-0.4.2-r1.ebuild 2023-10-09 14:52:31.696368406 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit multilib-minimal |
|
6 |
inherit multilib-minimal optfeature |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Abstraction library between applications and audio visualisation plugins" |
9 | 9 |
HOMEPAGE="http://libvisual.org/" |
... | ... | |
17 | 17 |
BDEPEND=" |
18 | 18 |
virtual/pkgconfig |
19 | 19 |
nls? ( sys-devel/gettext )" |
20 | ||
21 |
PATCHES=( |
|
22 |
"${FILESDIR}"/${PN}-0.4.0-better-altivec-detection.patch |
|
23 |
) |
|
20 |
DEPEND="media-libs/libsdl[${MULTILIB_USEDEP}]" |
|
21 |
RDEPEND="${DEPEND}" |
|
24 | 22 | |
25 | 23 |
MULTILIB_WRAPPED_HEADERS=( |
26 | 24 |
/usr/include/libvisual-0.4/libvisual/lvconfig.h |
27 | 25 |
) |
28 | 26 | |
29 |
src_prepare() { |
|
30 |
default |
|
31 | ||
32 |
# autogenerated, causes problems for out of tree builds |
|
33 |
rm libvisual/lvconfig.h || die |
|
34 |
} |
|
35 | ||
36 | 27 |
multilib_src_configure() { |
37 | 28 |
ECONF_SOURCE="${S}" econf \ |
38 | 29 |
--disable-static \ |
30 |
--enable-lv-tool \ |
|
39 | 31 |
--disable-examples \ |
40 | 32 |
$(use_enable nls) \ |
41 | 33 |
$(use_enable threads) \ |
... | ... | |
48 | 40 |
# no static archives |
49 | 41 |
find "${ED}" -name '*.la' -delete || die |
50 | 42 |
} |
43 | ||
44 |
pkg_postinst() { |
|
45 |
optfeature_header "Libvisual relies on plugins; consider also installing:" |
|
46 |
optfeature operability media-plugins/libvisual-plugins |
|
47 |
optfeature projectm media-plugins/libvisual-projectm |
|
48 |
} |