summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-12 16:20:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-12 16:20:30 +0000
commit3b782da9a00e9791ac5665764bea0a2fd6c9b447 (patch)
tree3eca1d26c692b14482dc2de1609a23dddc7a5443 /media-video/gephex
parentMarking portaudio-19_pre20071207 ppc64 for bug 236230 (diff)
downloadgentoo-2-3b782da9a00e9791ac5665764bea0a2fd6c9b447.tar.gz
gentoo-2-3b782da9a00e9791ac5665764bea0a2fd6c9b447.tar.bz2
gentoo-2-3b782da9a00e9791ac5665764bea0a2fd6c9b447.zip
Add libXv as dep. wrt #239799. Disable usage of bundled FFMPEG wrt #172424 and security #231831.
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-video/gephex')
-rw-r--r--media-video/gephex/ChangeLog8
-rw-r--r--media-video/gephex/gephex-0.4.3.ebuild34
2 files changed, 22 insertions, 20 deletions
diff --git a/media-video/gephex/ChangeLog b/media-video/gephex/ChangeLog
index b25153d29a60..daf4d383ddd4 100644
--- a/media-video/gephex/ChangeLog
+++ b/media-video/gephex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/gephex
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gephex/ChangeLog,v 1.19 2007/12/25 17:22:33 phreak Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/gephex/ChangeLog,v 1.20 2008/12/12 16:20:30 ssuominen Exp $
+
+ 12 Dec 2008; <ssuominen@gentoo.org> gephex-0.4.3.ebuild:
+ Add libXv as dep. wrt #239799. Disable usage of bundled FFMPEG wrt #172424
+ and security #231831.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing zypher from metadata.xml as per #26909.
diff --git a/media-video/gephex/gephex-0.4.3.ebuild b/media-video/gephex/gephex-0.4.3.ebuild
index a243ee74944e..19c5fb17b7eb 100644
--- a/media-video/gephex/gephex-0.4.3.ebuild
+++ b/media-video/gephex/gephex-0.4.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gephex/gephex-0.4.3.ebuild,v 1.12 2007/11/27 12:43:39 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gephex/gephex-0.4.3.ebuild,v 1.13 2008/12/12 16:20:30 ssuominen Exp $
inherit eutils
@@ -9,40 +9,36 @@ HOMEPAGE="http://www.gephex.org"
MY_P=${P}b
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-IUSE="aalib alsa ffmpeg joystick mmx mpeg opengl oss png sdl static v4l"
+IUSE="aalib alsa joystick mmx mpeg opengl oss png sdl v4l"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
DEPEND="=x11-libs/qt-3*
- sdl? ( >=media-libs/libsdl-1.2.6-r3 )
- sdl? ( >=media-libs/sdl-image-1.2.3 )
+ sdl? ( >=media-libs/libsdl-1.2.6-r3
+ >=media-libs/sdl-image-1.2.3
+ >=media-libs/sdl-ttf-2.0.6 )
png? ( >=media-libs/libpng-1.2.5-r4 )
- sdl? ( >=media-libs/sdl-ttf-2.0.6 )
alsa? ( >=media-libs/alsa-lib-0.9.8 )
aalib? ( >=media-libs/aalib-1.4_rc4-r2 )
- opengl? ( virtual/opengl )"
-
-RDEPEND=${DEPEND}
+ opengl? ( virtual/opengl )
+ x11-libs/libXv"
src_unpack() {
unpack ${A} || die
cd "${S}"
-
- epatch "${FILESDIR}/${P}-gcc4.patch"
+ epatch "${FILESDIR}"/${P}-gcc4.patch
}
src_compile() {
-
# qt wants to create lock files etc. in that directory
addwrite "${QTDIR}/etc/settings"
local myconf
econf \
`use_enable mmx` \
- `use_enable static` \
`use_with aalib AALIB` \
- `use_with ffmpeg FFMPEG` \
+ --without-FFMPEG \
`use_with alsa ASOUNDLIB` \
`use_with oss OSS` \
`use_with v4l V4L` \
@@ -51,13 +47,15 @@ src_compile() {
`use_with sdl SDL` \
`use_with png LIBPNG` \
`use_with mpeg MPEG3` \
- ${myconf} \
- || die
- emake || die
+ ${myconf} || die "econf failed."
+ emake || die "emake failed."
}
src_install() {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
elog "Please read /usr/share/doc/gephex/html/documentation.html to get started."
}