diff options
author | Sam James <sam@gentoo.org> | 2021-05-04 20:16:20 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-04 21:25:23 +0000 |
commit | 68fbd69b941efcda30a2e53630a0912c8d002ac5 (patch) | |
tree | d53df3f992eb99e67c5610c7704162b990fb861a /media-libs/libdvdnav/libdvdnav-6.1.1.ebuild | |
parent | media-libs/libdvdread: add 6.1.2 (diff) | |
download | gentoo-68fbd69b941efcda30a2e53630a0912c8d002ac5.tar.gz gentoo-68fbd69b941efcda30a2e53630a0912c8d002ac5.tar.bz2 gentoo-68fbd69b941efcda30a2e53630a0912c8d002ac5.zip |
media-libs/libdvdnav: add 6.1.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libdvdnav/libdvdnav-6.1.1.ebuild')
-rw-r--r-- | media-libs/libdvdnav/libdvdnav-6.1.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild b/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild new file mode 100644 index 000000000000..8abfcfe142cd --- /dev/null +++ b/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Library for DVD navigation tools" +HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html" +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdnav.git" +else + SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdnav/${PV}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +RDEPEND=">=media-libs/libdvdread-6.0.0:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +# To get pkg.m4 for eautoreconf #414391 +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog doc/dvd_structures doc/library_layout README TODO ) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --enable-shared + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +} |