diff options
author | Steve Dibb <beandog@gentoo.org> | 2006-11-10 08:26:20 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2006-11-10 08:26:20 +0000 |
commit | 77cc869877feba44f5be2b62bb699076a05a9511 (patch) | |
tree | 5b47b3d194e6742a79124f68d02dd88f452cbdd4 /media-video/ogmrip/ogmrip-0.10.0-r1.ebuild | |
parent | Adding linguas to use expand, a patch to prevent buffer overflows when using ... (diff) | |
download | gentoo-2-77cc869877feba44f5be2b62bb699076a05a9511.tar.gz gentoo-2-77cc869877feba44f5be2b62bb699076a05a9511.tar.bz2 gentoo-2-77cc869877feba44f5be2b62bb699076a05a9511.zip |
Add mplayer patch to detect correct versions, bug 152496, thanks to Olivier
(Portage version: 2.1.1-r1)
Diffstat (limited to 'media-video/ogmrip/ogmrip-0.10.0-r1.ebuild')
-rw-r--r-- | media-video/ogmrip/ogmrip-0.10.0-r1.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/media-video/ogmrip/ogmrip-0.10.0-r1.ebuild b/media-video/ogmrip/ogmrip-0.10.0-r1.ebuild new file mode 100644 index 000000000000..aa0d9062c6b8 --- /dev/null +++ b/media-video/ogmrip/ogmrip-0.10.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ogmrip-0.10.0-r1.ebuild,v 1.1 2006/11/10 08:26:20 beandog Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="Graphical frontend and libraries for ripping DVDs and encoding to AVI/OGM/MKV/MP4" +HOMEPAGE="http://ogmrip.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="LGPL-2.1" + +SLOT="0" +IUSE="aac debug doc gtk hal matroska spell srt theora" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=">=dev-libs/glib-2.6 + >=dev-libs/libxml2-2 + >=media-libs/libdvdread-0.9.4 + >=media-sound/lame-3.96 + >=media-sound/ogmtools-1.4 + >=media-sound/vorbis-tools-1.0 + >=media-video/mplayer-1.0_pre4 + aac? ( >=media-libs/faac-1.24 ) + gtk? ( >=x11-libs/gtk+-2.6 + >=gnome-base/gconf-2.6 + >=gnome-base/libglade-2.5 ) + hal? ( >=sys-apps/hal-0.4.2 ) + matroska? ( >=media-video/mkvtoolnix-0.9 ) + spell? ( >=app-text/enchant-1.1 ) + srt? ( >=app-text/gocr-0.39 ) + theora? ( >=media-libs/libtheora-1.0_alpha6 )" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.29 + >=dev-util/pkgconfig-0.12.0" + +G2CONF="${G2CONF} + $(use_enable aac aac-support) + $(use_enable debug maintainer-mode) + $(use_enable gtk gtk-support) + $(use_enable hal hal-support) + $(use_enable matroska matroska-support) + $(use_enable spell enchant-support) + $(use_enable srt srt-support) + $(use_enable theora theora-support)" + +DOCS="AUTHORS ChangeLog README NEWS TODO" + +pkg_setup() { + if ! built_with_use -a media-video/mplayer dvd encode xvid; then + eerror "Please, check that your USE flags contain 'dvd', 'encode' and" + eerror "'xvid' and emerge mplayer again." + die "MPlayer is not built with dvd, encoding or xvid support." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-mplayer-rc.patch" + eautoreconf +} |