diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-21 11:19:37 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-21 11:22:38 +0100 |
commit | 42f0b838fa8dd74ad6b68fb97bca645752f4228d (patch) | |
tree | a14a92fb9e78d912538bd0eb7e42797f2c4b51f4 /media-libs | |
parent | media-libs/libdvdread: Bump to version 6.0.0 (diff) | |
download | gentoo-42f0b838fa8dd74ad6b68fb97bca645752f4228d.tar.gz gentoo-42f0b838fa8dd74ad6b68fb97bca645752f4228d.tar.bz2 gentoo-42f0b838fa8dd74ad6b68fb97bca645752f4228d.zip |
media-libs/libdvdread: Synced live ebuild.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libdvdread/libdvdread-9999.ebuild | 34 |
1 files changed, 25 insertions, 9 deletions
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 +} |