--- /usr/portage/media-video/transcode/transcode-0.6.12-r1.ebuild 2004-03-04 21:45:32.000000000 -0800 +++ transcode-0.6.12-r1.ebuild 2004-04-17 18:46:00.222129159 -0700 @@ -13,7 +13,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc -sparc ~amd64" -IUSE="sdl mpeg sse 3dnow encode X quicktime avi altivec oggvorbis theora" +IUSE="sdl mpeg sse 3dnow encode X quicktime avi altivec oggvorbis theora pvm" DEPEND=">=media-libs/a52dec-0.7.4 =sys-devel/gcc-3* @@ -35,7 +35,8 @@ sdl? ( media-libs/libsdl ) quicktime? ( virtual/quicktime ) oggvorbis? ( media-libs/libvorbis media-libs/libogg ) - theora? ( media-libs/libtheora )" + theora? ( media-libs/libtheora ) + pvm? ( >=sys-cluster/pvm-3.4 )" src_unpack() { unpack ${A} @@ -67,6 +68,11 @@ || myconf="${myconf} --without-openqt --with-qt" fi + use pvm \ + && myconf="${myconf} --with-pvm3 \ + --with-pvm3-lib=/usr/local/pvm3/lib/LINUX \ + --with-pvm3-include=/usr/local/pvm3/include" + # Use the MPlayer libpostproc if present [ -f ${ROOT}/usr/lib/libpostproc.a ] && \ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ @@ -103,6 +109,10 @@ # subrip stuff cd contrib/subrip make || die + + use pvm \ + && sed -i \ + -e "s:\${exec_prefix}/bin/pvmgs:\$(DESTDIR)/\${exec_prefix}/bin/pvmgs:" ${S}/pvm3/Makefile } src_install () {