diff options
author | Henry Gebhardt <hsggebhardt@googlemail.com> | 2010-10-14 18:09:23 +0200 |
---|---|---|
committer | Henry Gebhardt <hsggebhardt@googlemail.com> | 2010-10-14 18:09:23 +0200 |
commit | 7832f70b780d05f0df257e4676e77d91a39e0172 (patch) | |
tree | c7f8a238c1c75510e1a11ad2ed82ec0a85286fdf /media-video/devede/devede-3.16.6-r1.ebuild | |
parent | media-sound/quark-3.24: Version bump (diff) | |
download | kork-7832f70b780d05f0df257e4676e77d91a39e0172.tar.gz kork-7832f70b780d05f0df257e4676e77d91a39e0172.tar.bz2 kork-7832f70b780d05f0df257e4676e77d91a39e0172.zip |
media-video/devede-3.16.6: Add patch
The patch fixes a problem when the aspect_ratio is NaN.
Diffstat (limited to 'media-video/devede/devede-3.16.6-r1.ebuild')
-rw-r--r-- | media-video/devede/devede-3.16.6-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-video/devede/devede-3.16.6-r1.ebuild b/media-video/devede/devede-3.16.6-r1.ebuild new file mode 100644 index 0000000..028bacf --- /dev/null +++ b/media-video/devede/devede-3.16.6-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/devede/devede-3.16.6.ebuild,v 1.1 2010/03/20 20:27:25 spatz Exp $ + +EAPI=2 +PYTHON_DEPEND=2 + +inherit multilib python eutils + +DESCRIPTION="Program to create video CDs and DVDs, suitable to be played in home DVD players." +HOMEPAGE="http://www.rastersoft.com/programas/devede.html" +SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="psyco" + +RDEPEND=">=x11-libs/gtk+-2.16 + >=dev-python/pygtk-2.16 + >=media-video/mplayer-1.0_rc1 + media-video/dvdauthor + media-video/vcdimager + psyco? ( dev-python/psyco ) + virtual/cdrtools" +DEPEND="" + +S=${WORKDIR}/${P%*b} + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}"/all-3.16.6-devede_newfiles-Check-aspect_ratio-for-NaN.patch || die "epatch failed" + python_convert_shebangs -r 2 . +} + +src_install() { + ./install.sh prefix="/usr" libdir="/usr/$(get_libdir)" \ + pkgdocdir="/usr/share/doc/${PF}" DESTDIR="${D}" \ + || die "install.sh failed." +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} + elog "To create DIVX/MPEG4 files, be sure that MPlayer is compiled with LAME support." + elog "In this case you want to check for both the encode and mp3 USE flags." + elog "To change the font used to render the subtitles, choose a TrueType font you like" + elog "and copy it in \$HOME/.spumux directory, renaming it to devedesans.ttf." +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} |