diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
commit | d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch) | |
tree | 1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild | |
parent | abaa75b10f899ada8dd05b23cc03205064394bc6 (diff) |
gentoo resync : 29.01.2021
Diffstat (limited to 'media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild')
-rw-r--r-- | media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild b/media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild new file mode 100644 index 000000000000..8bffc8107314 --- /dev/null +++ b/media-libs/libbdplus/libbdplus-0.1.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +if [[ ${PV} == *9999* ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git" +else + SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +fi + +DESCRIPTION="Blu-ray library for BD+ decryption" +HOMEPAGE="https://www.videolan.org/developers/libbdplus.html" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="aacs" + +RDEPEND=" + dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] + dev-libs/libgpg-error[${MULTILIB_USEDEP}] + aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-optimizations + --disable-static + $(use_with aacs libaacs) + ) + ECONF_SOURCE=${S} econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name "*.la" -delete || die +} |