# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/videotrans-1.6.1.ebuild,v 1.2 2014/08/10 21:01:04 slyfox Exp $ EAPI=4 inherit base eutils DESCRIPTION="A package to convert movies to DVD format and to build DVDs with" HOMEPAGE="http://videotrans.sourceforge.net/" SRC_URI="mirror://sourceforge/videotrans/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="virtual/ffmpeg media-video/mplayer media-video/mjpegtools[png] media-video/dvdauthor || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" RDEPEND="${DEPEND} www-client/lynx app-shells/bash sys-devel/bc" DOCS="aspects.txt CHANGES THANKS TODO" src_prepare() { # fixing LDFLAGS usage sed -i -e 's|^\(LDFLAGS.*=\).*\( @LIBS@.*\)|\1\2 @LDFLAGS@|' src/Makefile.in }