diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-25 15:26:08 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-25 15:26:08 +0000 |
commit | acf8701579d3052bb4291e5c1557d752fc140046 (patch) | |
tree | f7e14de0b1cc7d7e27c763e74508300b7e25c8b1 /media-video/avidemux | |
parent | dev-perl/Time-HiRes => perl-core/Time-HiRes migration (diff) | |
download | gentoo-2-acf8701579d3052bb4291e5c1557d752fc140046.tar.gz gentoo-2-acf8701579d3052bb4291e5c1557d752fc140046.tar.bz2 gentoo-2-acf8701579d3052bb4291e5c1557d752fc140046.zip |
Added a check to avoid compiling without audio devices (make the compilation fail). Closes #93943.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-video/avidemux')
-rw-r--r-- | media-video/avidemux/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.0.38-r1.ebuild | 8 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.0.38.ebuild | 8 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.0.40.ebuild | 8 |
4 files changed, 27 insertions, 4 deletions
diff --git a/media-video/avidemux/ChangeLog b/media-video/avidemux/ChangeLog index f795db7bd72b..e72a4a78e096 100644 --- a/media-video/avidemux/ChangeLog +++ b/media-video/avidemux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/avidemux # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.81 2005/05/25 11:07:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.82 2005/05/25 15:26:08 flameeyes Exp $ + + 25 May 2005; Diego Pettenò <flameeyes@gentoo.org> avidemux-2.0.38.ebuild, + avidemux-2.0.38-r1.ebuild, avidemux-2.0.40.ebuild: + Added a check to avoid compiling without audio devices (make the compilation + fail). Closes #93943. *avidemux-2.0.40 (25 May 2005) diff --git a/media-video/avidemux/avidemux-2.0.38-r1.ebuild b/media-video/avidemux/avidemux-2.0.38-r1.ebuild index d7106b042431..5cfcdb60f087 100644 --- a/media-video/avidemux/avidemux-2.0.38-r1.ebuild +++ b/media-video/avidemux/avidemux-2.0.38-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.38-r1.ebuild,v 1.1 2005/05/18 12:38:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.38-r1.ebuild,v 1.2 2005/05/25 15:26:08 flameeyes Exp $ inherit eutils flag-o-matic @@ -46,6 +46,12 @@ filter-flags "-fforce-addr" S=${WORKDIR}/${MY_P} +pkg_setup() { + if ! ( use oss || use arts || use alsa ); then + die "You must select at least one between oss, arts and alsa audio output." + fi +} + src_unpack() { unpack ${A} cd ${S} || die diff --git a/media-video/avidemux/avidemux-2.0.38.ebuild b/media-video/avidemux/avidemux-2.0.38.ebuild index b5f32afe669c..c2f588fab0d0 100644 --- a/media-video/avidemux/avidemux-2.0.38.ebuild +++ b/media-video/avidemux/avidemux-2.0.38.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.38.ebuild,v 1.1 2005/05/14 18:33:36 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.38.ebuild,v 1.2 2005/05/25 15:26:08 flameeyes Exp $ inherit eutils flag-o-matic @@ -46,6 +46,12 @@ filter-flags "-fforce-addr" S=${WORKDIR}/${MY_P} +pkg_setup() { + if ! ( use oss || use arts || use alsa ); then + die "You must select at least one between oss, arts and alsa audio output." + fi +} + src_unpack() { unpack ${A} cd ${S} || die diff --git a/media-video/avidemux/avidemux-2.0.40.ebuild b/media-video/avidemux/avidemux-2.0.40.ebuild index fc6c64ee8a1d..8fabe6aabca3 100644 --- a/media-video/avidemux/avidemux-2.0.40.ebuild +++ b/media-video/avidemux/avidemux-2.0.40.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.40.ebuild,v 1.1 2005/05/25 11:07:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.40.ebuild,v 1.2 2005/05/25 15:26:08 flameeyes Exp $ inherit eutils flag-o-matic @@ -46,6 +46,12 @@ filter-flags "-fforce-addr" S=${WORKDIR}/${MY_P} +pkg_setup() { + if ! ( use oss || use arts || use alsa ); then + die "You must select at least one between oss, arts and alsa audio output." + fi +} + src_unpack() { unpack ${A} cd ${S} || die |