From: Lars Wendler Date: Sun, 21 Jan 2018 10:19:37 +0000 (+0100) Subject: media-libs/libdvdread: Synced live ebuild. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42f0b838fa8dd74ad6b68fb97bca645752f4228d;p=gentoo.git media-libs/libdvdread: Synced live ebuild. Package-Manager: Portage-2.3.20, Repoman-2.3.6 --- diff --git a/media-libs/libdvdread/libdvdread-9999.ebuild b/media-libs/libdvdread/libdvdread-9999.ebuild index 8ca3b52a7401..3a46c0663f6a 100644 --- a/media-libs/libdvdread/libdvdread-9999.ebuild +++ b/media-libs/libdvdread/libdvdread-9999.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -AUTOTOOLS_AUTORECONF=1 -AUTOTOOLS_PRUNE_LIBTOOL_FILES=all -inherit autotools-multilib +EAPI=6 + +inherit autotools multilib-minimal DESCRIPTION="Library for DVD navigation tools" HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html" @@ -20,9 +19,26 @@ LICENSE="GPL-2" SLOT="0" IUSE="+css static-libs" -RDEPEND="css? ( >=media-libs/libdvdcss-1.3.0[${MULTILIB_USEDEP}] ) - abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r4 - !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" -DEPEND="${RDEPEND}" +RDEPEND="css? ( >=media-libs/libdvdcss-1.3.0[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" DOCS=( AUTHORS ChangeLog NEWS TODO README ) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --enable-shared + $(use_enable static-libs static) + $(use_with css libdvdcss) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die +}