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 17-35
HOMEPAGE="https://www.videolan.org/developers/libbdplus.html"
Link Here
|
17 |
|
17 |
|
18 |
LICENSE="LGPL-2.1" |
18 |
LICENSE="LGPL-2.1" |
19 |
SLOT="0" |
19 |
SLOT="0" |
20 |
IUSE="aacs static-libs" |
20 |
IUSE="aacs" |
21 |
|
21 |
|
22 |
RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] |
22 |
RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] |
23 |
dev-libs/libgpg-error[${MULTILIB_USEDEP}] |
23 |
dev-libs/libgpg-error[${MULTILIB_USEDEP}] |
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 |
--disable-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 |
- |
|
|