1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools multilib-minimal
8 DESCRIPTION="Library for DVD navigation tools"
9 HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
10 if [[ ${PV} = 9999 ]]; then
12 EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdread.git"
14 SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.bz2"
15 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
19 SLOT="0/8" # libdvdread.so.VERSION
20 IUSE="+css static-libs"
22 RDEPEND="css? ( >=media-libs/libdvdcss-1.3.0[${MULTILIB_USEDEP}] )"
24 BDEPEND="virtual/pkgconfig"
26 DOCS=( AUTHORS ChangeLog NEWS TODO README )
33 multilib_src_configure() {
36 $(use_enable static-libs static)
37 $(use_with css libdvdcss)
39 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
42 multilib_src_install_all() {
43 find "${ED}" -type f -name "*.la" -delete || die