avidemux2 has had its code cleaned so that it works on non-x86 architecture. Here's an ebuild that works on my ppc system. The binary itself works, as far as I've tested it, except the OSS sound output is borked. ALSA, arts, and ALSA-OSS work, though. What I've changed (from the 2.0.14 ebuild) : - make the divx4linux dependency conditional on x86 - add a patch to configure.in to fix mmx/endianness detection on ppc - filter altivec flags, because they make the compile fail (with gcc-3.2 at least) - sed on a source file to remove an invalid cast if (use ppc) I've also added the dev-lang/nasm dependency for x86, since it is recommended by the author, but haven't tested it on x86. The avidemux2 developper reportedly had it working on sparc back in July, might be worth a try... Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r5 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2) ================================================================= System uname: 2.4.22-ben2 ppc ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-Os -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/ config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/ share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" DISTDIR="/mnt/Portage/portdir/distfiles" FEATURES="noauto ccache userpriv digest" GENTOO_MIRRORS="http://gentoo.linux.no http://www.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/Portage/packages" PORTAGE_TMPDIR="/mnt/Portage/portage-tmpdir" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="mitshm foomaticdb gnome-libs directfb gdbm berkdb slang bonobo tcltk guile mysql sdl gpm tcpd libwww perl python aalib alsa apm arts canna cdr cjk cups dvd encode esd evo fbcon gif gnome gtk gtk2 gtkhtml imlib jpeg kde mozilla moznoirc moznomail moznocompose mozsvg mpeg nls oggvorbis opengl oss pam pdflib plotutils png qt quicktime readline socks5 ssl tetex tiff truetype usb X xv xml2 zlib radeon breakme -java -motif ppc motif samba pic"
Created attachment 18430 [details] The ebuild
Created attachment 18458 [details] Patch You ebuild works fine here, nice work. I added two lines to epatch the "save jpeg" bug (see the avidemux - hp for details). Attatched you'll find the patch, just add these lines to the ebuild: # Fixes a save/jpeg - bug cd ${S}/avidemux; epatch ${FILESDIR}/patch_jpeg.diff; cd ${S} Just after the mmx/endian patch. Cheers, Marc.
in cvs