commit: dc4096a9706df2a9a9e4d9e195761e23fc6787e6 Author: Weiping XU <weiping_xu <AT> aliyun <DOT> com> AuthorDate: Wed Jan 13 11:36:49 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jan 22 03:45:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4096a9
media-libs/libdvbpsi: version bump to 1.3.3 Closes: https://bugs.gentoo.org/765136 Signed-off-by: Weiping XU <weiping_xu <AT> aliyun.com> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libdvbpsi/Manifest | 1 + media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/media-libs/libdvbpsi/Manifest b/media-libs/libdvbpsi/Manifest index f8eb1255bac..bd217e91112 100644 --- a/media-libs/libdvbpsi/Manifest +++ b/media-libs/libdvbpsi/Manifest @@ -1,2 +1,3 @@ DIST libdvbpsi-1.3.1.tar.bz2 479964 BLAKE2B a29522d39544d90b34915e2ca9fc9ca455a556097c63639d7604679275b57378822adfb4c022478884c897cdde2c0e5f84355fdecf35fd6bb305d1fc275eed8b SHA512 015d586d1ef1fd35fc4b6a5b79d1ce4570e07070840d7070938c38be64853fb987172ad225f000156166559709061de6f901237bfc0f7f26f219b5950b57c27a DIST libdvbpsi-1.3.2.tar.bz2 487807 BLAKE2B ea8d1e121e47d2257d8537beac792e3a420ac957dbf3ec6d89f0c4d063e249616bbc8f3e14ed37769b676ed18d5d4c3c6a33e2a706217854eb2ded91e7c503db SHA512 cb59c2e66a214cad7bb96aa1f80a178399fcd80da9fc05b22c72763f2cd818bfab3724d36eee4c6467fb8bc8bae18b1d8afec64c02e8e47cd7a6e887f0230309 +DIST libdvbpsi-1.3.3.tar.bz2 488020 BLAKE2B 923d58012dfdbbd5d2807a186f36c58826199f27a89b750669273b741333ab5c23781b7e992a380ba6e283c357d4e3081d397a1980c21b7568e12ecfb2a3cac2 SHA512 70f9e783a947e026ea50afe98ad2b3bfce075bd8d76932f73a6253b077a3a180aa632e9a1fff20308e2f0f3f881d727b4e4aad9b8da2b384edf9a3a0f9eacc69 diff --git a/media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild b/media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild new file mode 100644 index 00000000000..56e1fb9d1d8 --- /dev/null +++ b/media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="library for MPEG TS/DVB PSI tables decoding and generation" +HOMEPAGE="https://www.videolan.org/libdvbpsi" +SRC_URI="https://download.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +# Sublot == libdvbpsi.so major +SLOT="0/10" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc static-libs" + +RDEPEND="" +BDEPEND=" + doc? ( + app-doc/doxygen + >=media-gfx/graphviz-2.26 + )" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + sed -e '/CFLAGS/s:-O2::' -e '/CFLAGS/s:-O6::' -e '/CFLAGS/s:-Werror::' -i configure || die + default +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --enable-release +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + use doc && local HTML_DOCS=( doc/doxygen/html/. ) + default + find "${D}" -name '*.la' -delete || die +}