Summary: | Transcode 0.6.13 Release and sample Ebuild Needs work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Elliott Clark <eclark> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | todorz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The second version of the ebuild. Much better with actual avifile support |
Description
Elliott Clark
2004-10-26 23:21:58 UTC
Blah well after more work looks like I have solved my own problems. Seems like avifile support is now pretty easy. and none of the hack stuff left in there was actually doing anything for 0.6.13 Cool and I had left in a remenent of the subrip stuff. Not fatal but ugly none the less. So here is the current ebuild I'm using and it seems to be good though all I have two boxes set up VERY similar so testing is kinda limited. I'm also going to add it as an attachment # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12.ebuild,v 1.6 2004/06/25 00:51:14 agriffis Exp $ inherit libtool flag-o-matic eutils MY_P="${P/_pre/.}" S=${WORKDIR}/${MY_P} DESCRIPTION="video stream processing tool" HOMEPAGE="http://zebra.fh-weingarten.de/~transcode/" SRC_URI="http://vtel.rgv.net/~ahze/dist/${MY_P}.tar.gz http://www.jakemsr.com/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc amd64" IUSE="sdl mmx mpeg sse 3dnow encode X quicktime avi altivec" DEPEND=">=media-libs/a52dec-0.7.4 =sys-devel/gcc-3* >=media-libs/libdv-0.99 x86? ( >=dev-lang/nasm-0.98.36 ) >=media-libs/libdvdread-0.9.0 >=media-video/ffmpeg-0.4.6 >=media-libs/xvid-0.9.1 >=media-video/mjpegtools-1.6.0 >=dev-libs/lzo-1.08 >=media-libs/libfame-0.9.0 >=media-gfx/imagemagick-5.5.6.0 media-libs/netpbm X? ( virtual/x11 ) avi? ( >=media-video/avifile-0.7.38 ) avi? ( x86? ( >=media-libs/divx4linux-20030428 ) ) mpeg? ( media-libs/libmpeg3 ) ncode? ( >=media-sound/lame-3.93 ) sdl? ( media-libs/libsdl ) quicktime? ( virtual/quicktime )" src_unpack() { unpack ${A} cd ${S} } src_compile() { filter-flags -maltivec -mabi=altivec local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools --enable-imagemagick" # fix invalid paths in .la files of plugins elibtoolize if use quicktime; then has_version 'media-libs/openquicktime' \ && myconf="${myconf} --with-openqt --without-qt" \ || myconf="${myconf} --without-openqt --with-qt" fi if use quicktime; then myconf="${myconf} --enable-avifile --with-avifile" fi # Use the MPlayer libpostproc if present [ -f ${ROOT}/usr/lib/libpostproc.a ] && \ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/lib" econf \ CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" \ `use_enable mmx` \ `use_enable sse` \ `use_enable 3dnow` \ `use_enable altivec` \ `use_enable encode lame` \ `use_enable mpeg libmpeg3` \ `use_enable X x` \ ${myconf} \ || die emake -j1 all || die } src_install () { make \ DESTDIR=${D} \ install || die dodoc AUTHORS COPYING ChangeLog README TODO } Created attachment 42669 [details]
The second version of the ebuild. Much better with actual avifile support
The second version of the ebuild. Much better with actual avifile support
Well I found a TON more bugs in my ebuild above. I am working on making the ebuild work. Right now all that is left is mplayer import module Never mind actually read the transcode ebuild that is in portage 0.6.13 in protage works for me Transcode 0.6.14 has been released a couple of days ago and the ebuild for 0.6.13-r1 seemed to work fine with it without the bitstream patch. However, there are still few issues I'm having problems with in transcode 0.6.13+. As I outlined in bug 71992 (http://bugs.gentoo.org/show_bug.cgi?id=71992) we need some more use flags (or maybe enable those as they were in <=0.6.12 ?) for other applications, such as gv4l. Maybe include --enable-v4l --enable-gtk --enable-sdl when X we got use flag? Just a thought... Transcode-0.6.14 is in portage, including (hopefully all) the mentioned changes. Please test and open new bugs if needed. Cheers, Marc. |