diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild')
-rw-r--r-- | media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 000000000000..af4b712cddf0 --- /dev/null +++ b/media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild @@ -0,0 +1,44 @@ +# 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" + +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 "${ED}" -name '*.la' -delete || die +} |