Diff libvisual-0.4.1 with a libvisual-0.4.2-r1

/usr/portage/media-libs/libvisual/libvisual-0.4.2-r1.ebuild 2024-12-25 14:59:49.735270106 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit multilib-minimal
6
inherit libtool 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
......
28 26

  
29 27
src_prepare() {
30 28
	default
31

  
32
	# autogenerated, causes problems for out of tree builds
33
	rm libvisual/lvconfig.h || die
29
	elibtoolize
34 30
}
35 31

  
36 32
multilib_src_configure() {
37 33
	ECONF_SOURCE="${S}" econf \
38 34
		--disable-static \
35
		--enable-lv-tool \
39 36
		--disable-examples \
40 37
		$(use_enable nls) \
41 38
		$(use_enable threads) \
......
48 45
	# no static archives
49 46
	find "${ED}" -name '*.la' -delete || die
50 47
}
48

  
49
pkg_postinst() {
50
	optfeature_header "Libvisual relies on plugins; consider also installing:"
51
	optfeature operability  media-plugins/libvisual-plugins
52
	optfeature projectm     media-plugins/libvisual-projectm
53
}
Thank you!