summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeiping XU <weiping_xu@aliyun.com>2021-01-13 19:36:49 +0800
committerSam James <sam@gentoo.org>2021-01-22 03:45:59 +0000
commitdc4096a9706df2a9a9e4d9e195761e23fc6787e6 (patch)
treeafd8bc6d74172f882b35833199d42577d5bdff09 /media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild
parentx11-terms/guake: Add python 3.8 compat (diff)
downloadgentoo-dc4096a9706df2a9a9e4d9e195761e23fc6787e6.tar.gz
gentoo-dc4096a9706df2a9a9e4d9e195761e23fc6787e6.tar.bz2
gentoo-dc4096a9706df2a9a9e4d9e195761e23fc6787e6.zip
media-libs/libdvbpsi: version bump to 1.3.3
Closes: https://bugs.gentoo.org/765136 Signed-off-by: Weiping XU <weiping_xu@aliyun.com> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild')
-rw-r--r--media-libs/libdvbpsi/libdvbpsi-1.3.3.ebuild45
1 files changed, 45 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..56e1fb9d1d80
--- /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
+}