diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-06-12 12:36:11 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-06-12 12:36:11 +0000 |
commit | 1e3f0a12caae9334a11b1b0f608ca9540175c903 (patch) | |
tree | 7e1de86f20e5d617cb2e1523e5fc48b4d5383d2a /media-libs/libdvbpsi | |
parent | Replacing einfo with elog (diff) | |
download | gentoo-2-1e3f0a12caae9334a11b1b0f608ca9540175c903.tar.gz gentoo-2-1e3f0a12caae9334a11b1b0f608ca9540175c903.tar.bz2 gentoo-2-1e3f0a12caae9334a11b1b0f608ca9540175c903.zip |
Added check for needed automagic dependency of graphviz to libpng, thanks Kevin Pyle <kevin.pyle@bluecoat.com>, Bug 181147.
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-libs/libdvbpsi')
-rw-r--r-- | media-libs/libdvbpsi/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild | 19 |
2 files changed, 23 insertions, 2 deletions
diff --git a/media-libs/libdvbpsi/ChangeLog b/media-libs/libdvbpsi/ChangeLog index 16f13097214a..65db3a7a99fc 100644 --- a/media-libs/libdvbpsi/ChangeLog +++ b/media-libs/libdvbpsi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libdvbpsi # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/ChangeLog,v 1.30 2007/05/16 17:37:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/ChangeLog,v 1.31 2007/06/12 12:36:11 zzam Exp $ + + 12 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> libdvbpsi-0.1.5.ebuild: + Added check for needed automagic dependency of graphviz to libpng, thanks + Kevin Pyle <kevin.pyle@bluecoat.com>, Bug 181147. 16 May 2007; Raúl Porcel <armin76@gentoo.org> libdvbpsi-0.1.5.ebuild: alpha stable wrt #153929 diff --git a/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild b/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild index 7483903b5292..685cd65abadb 100644 --- a/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild +++ b/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild,v 1.11 2007/05/16 17:37:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild,v 1.12 2007/06/12 12:36:11 zzam Exp $ IUSE="doc" @@ -21,6 +21,23 @@ DEPEND="doc? ( )" 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 || die "econf failed" |