diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-09-20 17:50:21 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-09-20 17:50:21 +0000 |
commit | 14a0660c9a89ae025bc475c926a813e585da9b26 (patch) | |
tree | 7b0ba2c7ac5d23b0a6fffe0b09c29bde74b2a2d8 /media-libs/libdvbpsi | |
parent | Marked ~hppa (bug #383453). (diff) | |
download | gentoo-2-14a0660c9a89ae025bc475c926a813e585da9b26.tar.gz gentoo-2-14a0660c9a89ae025bc475c926a813e585da9b26.tar.bz2 gentoo-2-14a0660c9a89ae025bc475c926a813e585da9b26.zip |
version bump
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libdvbpsi')
-rw-r--r-- | media-libs/libdvbpsi/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libdvbpsi/libdvbpsi-0.2.1.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/media-libs/libdvbpsi/ChangeLog b/media-libs/libdvbpsi/ChangeLog index 333848e313e2..5075eda356f3 100644 --- a/media-libs/libdvbpsi/ChangeLog +++ b/media-libs/libdvbpsi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libdvbpsi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/ChangeLog,v 1.42 2011/05/10 15:54:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/ChangeLog,v 1.43 2011/09/20 17:50:21 aballier Exp $ + +*libdvbpsi-0.2.1 (20 Sep 2011) + + 20 Sep 2011; Alexis Ballier <aballier@gentoo.org> +libdvbpsi-0.2.1.ebuild: + version bump *libdvbpsi-0.2.0 (10 May 2011) diff --git a/media-libs/libdvbpsi/libdvbpsi-0.2.1.ebuild b/media-libs/libdvbpsi/libdvbpsi-0.2.1.ebuild new file mode 100644 index 000000000000..293a46e8b30f --- /dev/null +++ b/media-libs/libdvbpsi/libdvbpsi-0.2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/libdvbpsi-0.2.1.ebuild,v 1.1 2011/09/20 17:50:21 aballier Exp $ + +IUSE="doc" + +DESCRIPTION="library for MPEG TS/DVB PSI tables decoding and generation" +HOMEPAGE="http://www.videolan.org/libdvbpsi" +SRC_URI="http://download.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +# doxygen missing: ~ia64 +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +DEPEND="doc? ( + >=app-doc/doxygen-1.2.16 + media-gfx/graphviz + )" +RDEPEND="" + +pkg_setup() { + if use doc; then + # Making the documentation requires that /usr/bin/dot from + # media-libs/graphviz supports PNG output. + # This is an automagic dependency :(, Bug #181147 + # Check that /usr/bin/dot supports png by calling it with + # an unsupported format (-Txxx) to get a list of supported formats + + if /usr/bin/dot -Txxx 2>&1 | grep -q png ; then + # dot supports png + : + else + die "You need to recompile media-gfx/graphviz with png support." + fi + fi +} + +src_compile() { + econf --enable-release + + emake || die "emake failed" + + if use doc; then + einfo "Attempting to build documentation" + emake doc || die "Could not build documentation." + else + einfo "Documentation was not built" + fi +} + +src_install () { + emake DESTDIR="${D}" install || die + use doc && dohtml "${S}"/doc/doxygen/html/* + dodoc AUTHORS INSTALL README NEWS +} |