From a0fdf81573f199b4ef5aa9178c67e7abc492c719 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sun, 10 Feb 2019 11:47:44 +0900 Subject: [PATCH] media-libs/aribb24-1.0.3-r1: enable multilib, bump to EAPI 7. Signed-off-by: Hector Martin Package-Manager: Portage-2.3.59, Repoman-2.3.12 Closes: https://github.com/gentoo/gentoo/pull/11014 Signed-off-by: Patrice Clement --- media-libs/aribb24/aribb24-1.0.3-r1.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 media-libs/aribb24/aribb24-1.0.3-r1.ebuild diff --git a/media-libs/aribb24/aribb24-1.0.3-r1.ebuild b/media-libs/aribb24/aribb24-1.0.3-r1.ebuild new file mode 100644 index 000000000000..a6cba5266077 --- /dev/null +++ b/media-libs/aribb24/aribb24-1.0.3-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Library for decoding ARIB STD-B24 subtitles" +HOMEPAGE="https://github.com/nkoriyama/aribb24" +SRC_URI="https://github.com/nkoriyama/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" + +RDEPEND="media-libs/libpng:0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf --disable-static +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -delete || die +} -- 2.26.2