Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 763477 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-libs/libbdplus/libbdplus-0.1.2.ebuild (-7 / +18 lines)
Lines 1-11 Link Here
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=7
5
inherit autotools-multilib
5
inherit multilib-minimal
6
6
7
if [[ ${PV} == 9999 ]] ; then
7
if [[ ${PV} == 9999 ]] ; then
8
	inherit git-r3
8
	inherit autotools git-r3
9
	EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git"
9
	EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git"
10
else
10
else
11
	SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
11
	SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
Lines 24-35 RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] Link Here
24
	aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )"
24
	aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )"
25
DEPEND="${RDEPEND}"
25
DEPEND="${RDEPEND}"
26
26
27
DOCS="ChangeLog README.txt"
27
DOCS=( ChangeLog README.txt )
28
28
29
src_configure() {
29
src_prepare() {
30
	default
31
	[[ ${PV} == 9999 ]] && eautoreconf
32
}
33
34
multilib_src_configure() {
30
	local myeconfargs=(
35
	local myeconfargs=(
31
		--disable-optimizations
36
		--disable-optimizations
37
		$(use_enable static-libs static)
32
		$(use_with aacs libaacs)
38
		$(use_with aacs libaacs)
33
	)
39
	)
34
	autotools-multilib_src_configure
40
	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
41
}
42
43
multilib_src_install_all() {
44
	einstalldocs
45
	find "${ED}" -type f -name "*.la" -delete || die
35
}
46
}
(-)a/media-libs/libbdplus/libbdplus-9999.ebuild (-9 / +19 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=7
5
inherit autotools-multilib
5
inherit multilib-minimal
6
6
7
if [[ ${PV} == 9999 ]] ; then
7
if [[ ${PV} == 9999 ]] ; then
8
	inherit git-r3
8
	inherit autotools git-r3
9
	EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git"
9
	EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git"
10
else
10
else
11
	SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
11
	SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
12
	KEYWORDS="~amd64 ~x86"
12
	KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
13
fi
13
fi
14
14
15
DESCRIPTION="Blu-ray library for BD+ decryption"
15
DESCRIPTION="Blu-ray library for BD+ decryption"
Lines 24-35 RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] Link Here
24
	aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )"
24
	aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )"
25
DEPEND="${RDEPEND}"
25
DEPEND="${RDEPEND}"
26
26
27
DOCS="ChangeLog README.txt"
27
DOCS=( ChangeLog README.md )
28
28
29
src_configure() {
29
src_prepare() {
30
	default
31
	[[ ${PV} == 9999 ]] && eautoreconf
32
}
33
34
multilib_src_configure() {
30
	local myeconfargs=(
35
	local myeconfargs=(
31
		--disable-optimizations
36
		--disable-optimizations
37
		$(use_enable static-libs static)
32
		$(use_with aacs libaacs)
38
		$(use_with aacs libaacs)
33
	)
39
	)
34
	autotools-multilib_src_configure
40
	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
41
}
42
43
multilib_src_install_all() {
44
	einstalldocs
45
	find "${ED}" -type f -name "*.la" -delete || die
35
}
46
}
36
- 

Return to bug 763477