diff options
Diffstat (limited to 'media-libs/libbdplus/libbdplus-0.1.2.ebuild')
-rw-r--r-- | media-libs/libbdplus/libbdplus-0.1.2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libbdplus/libbdplus-0.1.2.ebuild b/media-libs/libbdplus/libbdplus-0.1.2.ebuild new file mode 100644 index 000000000000..8580551688b5 --- /dev/null +++ b/media-libs/libbdplus/libbdplus-0.1.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools-multilib + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +else + SRC_URI="http://ftp.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" + KEYWORDS="amd64 ppc ppc64 sparc x86" +fi + +DESCRIPTION="Blu-ray library for BD+ decryption" +HOMEPAGE="http://www.videolan.org/developers/libbdplus.html" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="aacs static-libs" + +RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] + dev-libs/libgpg-error[${MULTILIB_USEDEP}] + aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +DOCS="ChangeLog README.txt" + +src_configure() { + local myeconfargs=( + --disable-optimizations + $(use_with aacs libaacs) + ) + autotools-multilib_src_configure +} |