# ChangeLog for media-video/avidemux
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.104 2007/01/10 21:27:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.105 2007/01/22 15:52:37 beandog Exp $
+
+*avidemux-2.3.0 (22 Jan 2007)
+
+ 22 Jan 2007; Steve Dibb <beandog@gentoo.org>
+ +files/avidemux-2.3.0-configure.patch, +files/avidemux-2.3.0-dts.patch,
+ +avidemux-2.3.0.ebuild:
+ Version bump, bug 150175
10 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Add missing email address for herd with name != alias.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX avidemux-2.0.42-as-needed.patch 2089 RMD160 6e738883de2d13e0e25ab92b0223355279e6aae2 SHA1 ff9e17c351b172f9c62ff0ffcb7a6e0836cd564e SHA256 c7d7b5c7d4d69543f09a9f9bceae867da4811cf3c917d8d9e13ee54f90b3284f
MD5 2827b9dff4e9519e37be7898ef7e84f7 files/avidemux-2.0.42-as-needed.patch 2089
RMD160 6e738883de2d13e0e25ab92b0223355279e6aae2 files/avidemux-2.0.42-as-needed.patch 2089
SHA256 c7d7b5c7d4d69543f09a9f9bceae867da4811cf3c917d8d9e13ee54f90b3284f files/avidemux-2.0.42-as-needed.patch 2089
+AUX avidemux-2.3.0-configure.patch 5816 RMD160 8fc9492fa808725e7c10e412a9fc0cc465240113 SHA1 c54df33c712e93b6ec48fb19ab8e17f48baaa5c7 SHA256 f1b880316b4dfbe784f32f7135bc6b5529ce64e283d5a330c02d588bf973f74b
+MD5 267f172131678e6ed36717f634fd1c63 files/avidemux-2.3.0-configure.patch 5816
+RMD160 8fc9492fa808725e7c10e412a9fc0cc465240113 files/avidemux-2.3.0-configure.patch 5816
+SHA256 f1b880316b4dfbe784f32f7135bc6b5529ce64e283d5a330c02d588bf973f74b files/avidemux-2.3.0-configure.patch 5816
+AUX avidemux-2.3.0-dts.patch 275 RMD160 474435e6a459ac626e02c4937f1552a982a37707 SHA1 fe534384d3b4d5455716aa80888e79c88d6bdff6 SHA256 075e602335f8cbe8a1128538a169def1f9f63d780319a15cc595de090aa61448
+MD5 d159311005a9646a9cdcc39d186b3259 files/avidemux-2.3.0-dts.patch 275
+RMD160 474435e6a459ac626e02c4937f1552a982a37707 files/avidemux-2.3.0-dts.patch 275
+SHA256 075e602335f8cbe8a1128538a169def1f9f63d780319a15cc595de090aa61448 files/avidemux-2.3.0-dts.patch 275
AUX avidemux-altivec.patch 9371 RMD160 8347497a6888515169e80fb28cc5d768c8ef7b32 SHA1 4ac716eb8dffa2327c10d9d8927044790fae39f4 SHA256 74b2e5b86bbdf204636cbf1f339d339e14be1ef89f67b47cf3c2fd6fcad83bf2
MD5 7709231a89b035414b4877681aa78dc1 files/avidemux-altivec.patch 9371
RMD160 8347497a6888515169e80fb28cc5d768c8ef7b32 files/avidemux-altivec.patch 9371
DIST avidemux-patches-11.tar.bz2 17159 RMD160 f7056e59a1bb8a316b59e83490e4503db426bb25 SHA1 da855b70efec1598002d16dfed104517294a9490 SHA256 00e98343522d0a89adc4da057a2283ae3a0c32d84768af3a3664f4a028a60e9e
DIST avidemux-patches-b1.tar.bz2 21734 RMD160 c6473248fd2d526655f6a66fb5306d08cdbabcd6 SHA1 d86a91c7f3dde8abfc428bce07de00b3abbd9daf SHA256 362511c9571c71204aac0446d0412f31682b962cc2b23cbf1381c02421f72851
DIST avidemux_2.1_step1.tar.gz 3884153 RMD160 b466c6e6e4071b86032eff9763375f85dc9c3f5e SHA1 c54800f7774a7722974851267c370fe6431b27f8 SHA256 4ca0456f30d3760fa73e56b44ee39f13872d2ac080e9a2ff631a99dea3e81be6
+DIST avidemux_2.3.0.tar.gz 4750919 RMD160 1e10183d4b80104a42d40bfd9d9e9b5c54843d9e SHA1 40a51db22593d910224dac91b512489a6af499fb SHA256 ef083ab24e3ec612b10c8a0163845ff680fea845d5eade21d60d47e843b4c623
EBUILD avidemux-2.0.42-r1.ebuild 3207 RMD160 1a762e37dba92b70e3d615af3a57703eea9decca SHA1 d21937e5627d8f5242b5828cd308ffb85b0867d1 SHA256 10ae433fa1d31f99ca04bc3ae617333730b0c200cb389eab06fff629f672fa20
MD5 beb5fb31b2e1dbc066283b39eb5025c6 avidemux-2.0.42-r1.ebuild 3207
RMD160 1a762e37dba92b70e3d615af3a57703eea9decca avidemux-2.0.42-r1.ebuild 3207
MD5 18fe28a4bc669584f38bc88bfb06cb88 avidemux-2.1_pre1.ebuild 3173
RMD160 c344c73302b5b14b9a01b1186059f2eeb5af9e38 avidemux-2.1_pre1.ebuild 3173
SHA256 33c4babb491a2e64ddf5989f949890fff35d24614684cc4a8c67e2cd08328bca avidemux-2.1_pre1.ebuild 3173
-MISC ChangeLog 19132 RMD160 e94fb3814bb414ad86b8521afb509fe2e1627625 SHA1 0338c58179435660575e3f028d6310d69342c090 SHA256 4ce3973f6d7af3ec41288b81047efbf0f05c211a33a164de00e05defce1c3264
-MD5 cd994d856db7c8706bb96ab30de7badb ChangeLog 19132
-RMD160 e94fb3814bb414ad86b8521afb509fe2e1627625 ChangeLog 19132
-SHA256 4ce3973f6d7af3ec41288b81047efbf0f05c211a33a164de00e05defce1c3264 ChangeLog 19132
+EBUILD avidemux-2.3.0.ebuild 3502 RMD160 7466a910af90ac8a98e207ad26e002c91a1137a1 SHA1 520b8d1a965e95a456ae35d1157dcea8f552b270 SHA256 628b077ba6887d4eecd8e1a2ac76a018d7fcf42b21eb18f4334d17a69787f9fd
+MD5 300b86256c5453d655433c5c8cfd7383 avidemux-2.3.0.ebuild 3502
+RMD160 7466a910af90ac8a98e207ad26e002c91a1137a1 avidemux-2.3.0.ebuild 3502
+SHA256 628b077ba6887d4eecd8e1a2ac76a018d7fcf42b21eb18f4334d17a69787f9fd avidemux-2.3.0.ebuild 3502
+MISC ChangeLog 19336 RMD160 953cb85626afae6b8b3af70cf4163584483a1b93 SHA1 bc5bfbe1b8e83616159165f0b2f94190b5aecbb9 SHA256 b725fd7804338893acdb8fcaabdd390b8ca443f4b7cb613a06f79db9f3e5c991
+MD5 48b702e1d988af3808f639a1989a8a03 ChangeLog 19336
+RMD160 953cb85626afae6b8b3af70cf4163584483a1b93 ChangeLog 19336
+SHA256 b725fd7804338893acdb8fcaabdd390b8ca443f4b7cb613a06f79db9f3e5c991 ChangeLog 19336
MISC metadata.xml 318 RMD160 452132dabb8760282f43a49b8f1245c1f879cb56 SHA1 b9cd3e9f43bdd337eb81270e723569d1b4865e1a SHA256 4379b50013e723e18c04e42b0750112cb17af07b82a7b0e3b7aa32bd502124ba
MD5 d5c5ccb29604d60b3222d8d620b9a55e metadata.xml 318
RMD160 452132dabb8760282f43a49b8f1245c1f879cb56 metadata.xml 318
MD5 94a8995147d99f3116da72e837db209c files/digest-avidemux-2.1_pre1 518
RMD160 8ddca1d00343cb61d51b90135422263f0ca3d988 files/digest-avidemux-2.1_pre1 518
SHA256 644e49f2f95b30ddf41a9a0a11a1d3d3462980ab9228faf88925e8af348025d5 files/digest-avidemux-2.1_pre1 518
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFpVpVAiZjviIA2XgRAmlqAKDq+Ljd6Qz951FwBiLTUqqZ1EXABQCfZ7MM
-uqiTaTYf/BDG0gZHTkAuX6U=
-=sOl4
------END PGP SIGNATURE-----
+MD5 fda1590238aeae5793a212a88836635b files/digest-avidemux-2.3.0 247
+RMD160 e6bc5a151861e06a0df2a5d143d03d200472c55e files/digest-avidemux-2.3.0 247
+SHA256 9e7c104e7929ebe25b34ce8c772b4c888865242eb143abddc5f4cd77e0357e4d files/digest-avidemux-2.3.0 247
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.3.0.ebuild,v 1.1 2007/01/22 15:52:37 beandog Exp $
+
+inherit eutils flag-o-matic subversion
+
+MY_P=${PN}_${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Great Video editing/encoding tool"
+HOMEPAGE="http://fixounet.free.fr/avidemux/"
+SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="a52 aac alsa altivec arts encode esd mad nls vorbis sdl truetype x264 xvid xv oss"
+
+RDEPEND="
+ >=x11-libs/gtk+-2.6
+ >=dev-libs/libxml2-2.6.7
+ >=dev-lang/spidermonkey-1.5-r2
+ a52? ( >=media-libs/a52dec-0.7.4 )
+ encode? ( >=media-sound/lame-3.93 )
+ aac? ( >=media-libs/faac-1.23.5
+ >=media-libs/faad2-2.0-r7 )
+ esd? ( media-sound/esound )
+ mad? ( media-libs/libmad )
+ xvid? ( >=media-libs/xvid-1.0.0 )
+ x264? ( media-libs/x264-svn )
+ nls? ( >=sys-devel/gettext-0.12.1 )
+ vorbis? ( >=media-libs/libvorbis-1.0.1 )
+ arts? ( >=kde-base/arts-1.2.3 )
+ truetype? ( >=media-libs/freetype-2.1.5 )
+ alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
+ sdl? ( media-libs/libsdl )
+ || ( (
+ xv? ( x11-libs/libXv )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ ) virtual/x11 )"
+# media-sound/toolame is supported as well
+
+DEPEND="$RDEPEND
+ || ( (
+ x11-base/xorg-server
+ x11-libs/libXt
+ x11-proto/xextproto
+ ) virtual/x11 )
+ dev-util/pkgconfig
+ >=sys-devel/autoconf-2.58
+ >=sys-devel/automake-1.8.3"
+
+pkg_setup() {
+ filter-flags "-fno-default-inline"
+ filter-flags "-funroll-loops"
+ filter-flags "-funroll-all-loops"
+ filter-flags "-fforce-addr"
+
+ if ! built_with_use dev-lang/spidermonkey threadsafe; then
+ eerror "dev-lang/spidermonkey is missing threadsafe support, please make"
+ eerror "sure you get the spidermonkey ebuild with threadsafe USE flag"
+ eerror "from an overlay, enable the threadsafe USE flag and re-emerge"
+ eerror "dev-lang/spidermonkey - this avidemux build will not compile"
+ eerror "nor work without it!"
+ die "dev-lang/spidermonkey needs threadsafe support"
+ fi
+
+ if ! ( use oss || use arts || use alsa ); then
+ eerror "You must select at least one between oss, arts and alsa audio output."
+ die "Fix USE flags"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} || die
+
+ epatch ${FILESDIR}/${P}-dts.patch
+ epatch ${FILESDIR}/${P}-configure.patch
+ #sed -i -e 's/x264=no,-lm/x264=no,-lm -lX11/' configure.in.in || die "sed failed."
+
+
+ gmake -f Makefile.dist || die "autotools failed."
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable altivec) \
+ $(use_enable xv) \
+ $(use_with arts) \
+ $(use_with alsa) \
+ $(use_with esd) \
+ $(use_with oss) \
+ $(use_with vorbis) \
+ $(use_with sdl libsdl) \
+ $(use_with truetype freetype2) \
+ $(use_enable aac faac) $(use_with aac faad2) \
+ $(use_with encode lame) \
+ --with-newfaad --with-jsapi-include=/usr/include/js \
+ --disable-warnings --disable-dependency-tracking \
+ ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog History README TODO
+ insinto /usr/share/pixmaps
+ newins ${S}/avidemux_icon.png avidemux.png
+ make_desktop_entry avidemux2 "Avidemux2" avidemux.png
+}
+
+pkg_postinst() {
+ if use ppc && use oss; then
+ echo
+ einfo "OSS sound output may not work on ppc"
+ einfo "If your hear only static noise, try"
+ einfo "changing the sound device to ALSA or arts"
+ fi
+}
--- /dev/null
+--- avidemux_2.3_preview2/configure.in.old 2006-10-26 21:18:36.453792624 +0200
++++ avidemux_2.3_preview2/configure.in 2006-10-26 22:41:06.403158349 +0200
+@@ -196,7 +196,7 @@
+ have_divx=yes
+ have_little_endian=yes
+ have_vorbis=yes
+-have_ac3=yes
++have_ac3=no
+ have_xx_xvid=yes
+ have_xx_xvid_cvs=yes
+ have_xvid4=yes
+@@ -270,6 +270,16 @@
+
+ dnl __________________divx______________
+ dnl __________________x264 ______________
++AC_ARG_WITH([aften],
++ AC_HELP_STRING([--without-aften], [Force compilation without aften (default: test)]),
++ [with_aften=${withval}], [with_aften=test])
++
++AC_MSG_CHECKING([if aften support is requested])
++AC_MSG_RESULT($with_aften)
++
++have_aften=no
++
++if test "x$with_aften" != "xno"; then
+ AC_MSG_CHECKING(for aften codec )
+ AC_CHECK_HEADER(aften/aften.h,,have_aften=no)
+ if test "x$have_aften" = "xyes"; then
+@@ -277,22 +287,42 @@
+ fi
+ if test "x$have_aften" = "xyes"; then
+ AC_DEFINE(USE_AFTEN,1,[use aften ac3 encoder])
++ have_ac3=yes
++fi
+ fi
+-
+
+ dnl __________________x264 ______________
++AC_ARG_WITH([x264],
++ AC_HELP_STRING([--without-x264], [Force compilation without x264 (default: test)]),
++ [with_x264=${withval}], [with_x264=test])
++
++AC_MSG_CHECKING([if x264 support is requested])
++AC_MSG_RESULT($with_x264)
++
++have_x264=no
++
++if test "x$with_x264" != "xno"; then
+ AC_MSG_CHECKING(for x264 codec )
+-AC_CHECK_HEADER(x264.h,,have_x264=no)
+-if test "x$have_x264" = "xyes"; then
++AC_CHECK_HEADER(x264.h,have_x264=yes,have_x264=no)
+ AC_CHECK_LIB(x264,x264_encoder_open,,have_x264=no,-lm )
+-fi
+ if test "x$have_x264" = "xyes"; then
+ AC_DEFINE(USE_X264,1,[use x264 encoder])
+ fi
++fi
+
+ dnl __________________xvid 0.9 ______________
++AC_ARG_WITH([xx-xvid],
++ AC_HELP_STRING([--without-xx-xvid], [Force compilation without xvid 0.9 (default: test)]),
++ [with_xx_xvid=${withval}], [with_xx_xvid=test])
++
++AC_MSG_CHECKING([if xvid 0.9 support is requested])
++AC_MSG_RESULT($with_xx_xvid)
++
++have_xx_xvid=no
++
++if test "x$with_xx_xvid" != "xno"; then
+ AC_MSG_CHECKING(for xvid codec 0.9)
+-AC_CHECK_HEADER(xvid.h,,have_xx_xvid=no)
++AC_CHECK_HEADER(xvid.h,have_xx_xvid=yes,have_xx_xvid=no)
+
+ dnl -- check API version 2.1 and not 2.0--
+
+@@ -318,16 +348,38 @@
+ if test "x$have_xx_xvid" = "xyes"; then
+ AC_DEFINE(USE_XX_XVID,1,[use xvid api])
+ fi
++ fi
+ dnl __________________libpng ______________
++AC_ARG_WITH([png],
++ AC_HELP_STRING([--without-png], [Force compilation without png support (default: test)]),
++ [with_png=${withval}], [with_png=test])
++
++AC_MSG_CHECKING([if PNG support is requested])
++AC_MSG_RESULT($with_png)
++
++have_png=no
++
++if test "x$with_png" != "xno"; then
+ AC_MSG_CHECKING(for libpng )
+-have_png=yes
+-AC_CHECK_HEADER(png.h,,have_png=no)
++AC_CHECK_HEADER(png.h,have_png=yes,have_png=no)
+ AC_CHECK_LIB(png,png_malloc,,have_png=no)
+
+ if test "x$have_png" = "xyes"; then
+ AC_DEFINE(USE_PNG,1,[Png is available])
+ fi
++fi
+ dnl __________________xvid 1.0 ______________
++AC_ARG_WITH([xvid4],
++ AC_HELP_STRING([--without-xvid4], [Force compilation without xvid4 support (default: test)]),
++ [with_xvid4=${withval}], [with_xvid4=test])
++
++AC_MSG_CHECKING([if Xvid 4 support is requested])
++AC_MSG_RESULT($with_xvid4)
++
++have_xvid4=no
++
++if test "x$with_xvid4" != "xno"; then
++have_xvid4=yes
+ AC_MSG_CHECKING(for xvid codec 1.0)
+ AC_CHECK_HEADER(xvid.h,,have_xvid4=no)
+
+@@ -353,6 +405,7 @@
+ AC_DEFINE(USE_XVID_4,1,[use xvid api 1.0 beta])
+ fi
+ fi
++ fi
+
+ dnl __________________FFMPEG______________
+
+@@ -486,6 +539,17 @@
+ fi
+
+ dnl __________________ALSA______________
++AC_ARG_WITH([alsa],
++ AC_HELP_STRING([--without-alsa], [Force compilation without alsa (default: test)]),
++ [with_alsa=${withval}], [with_alsa=test])
++
++AC_MSG_CHECKING([if alsa support is requested])
++AC_MSG_RESULT($with_alsa)
++
++have_alsa=no
++
++if test "x$with_alsa" != "xno"; then
++have_alsa=yes
+ AC_MSG_CHECKING(for ALSA audio support)
+ AC_CHECK_HEADERS(alsa/asoundlib.h,,have_alsa=no)
+ dnl check version 0.9.x
+@@ -526,7 +590,7 @@
+ if test "x$have_alsa_1" = "xyes"; then
+ AC_DEFINE(ALSA_1_0_SUPPORT,1,"[Alsa is 1.0]")
+ fi
+-
++fi
+ dnl __________________/ALSA______________
+
+
+@@ -646,6 +710,16 @@
+
+
+ dnl ____________ faac ?________________
++AC_ARG_WITH([faac],
++ AC_HELP_STRING([--without-faac], [Force compilation without faac (default: test)]),
++ [with_faac=${withval}], [with_faac=test])
++
++AC_MSG_CHECKING([if faac support is requested])
++AC_MSG_RESULT($with_faac)
++
++have_faac=no
++
++if test "x$with_faac" != "xno"; then
+ have_faac=yes
+ AC_CHECK_HEADERS(faac.h,,have_faac=no)
+
+@@ -659,15 +733,35 @@
+ fi
+ AC_MSG_CHECKING(faac library)
+ AC_MSG_RESULT($have_faac)
+-
++ fi
+ dnl _______________/faac_______________
+ dnl _________________ /freetype 2 _________________
+ dnl __________________ac3______________
+ dnl
+ dnl a52dec decoding library
++AC_ARG_WITH([a52],
++ AC_HELP_STRING([--without-a52], [Force compilation without a52 (default: enabled)]),
++ [with_a52=${withval}], [with_a52=test])
++
++AC_MSG_CHECKING([if a52 support is requested])
++AC_MSG_RESULT($with_a52)
++
++if test "x$with_a52" != "xno"; then
+ AC_DEFINE(USE_AC3,1,[liba52dec])
++have_ac3=yes
++fi
+ dnl __________________/ac3______________
+ dnl __________________VORBIS______________
++AC_ARG_WITH([vorbis],
++ AC_HELP_STRING([--without-vorbis], [Force compilation without vorbis (default: enabled)]),
++ [with_vorbis=${withval}], [with_vorbis=test])
++
++AC_MSG_CHECKING([if vorbis support is requested])
++AC_MSG_RESULT($with_vorbis)
++
++have_vorbis=no
++if test "x$with_vorbis" != "xno"; then
++have_vorbis=yes
+ AC_CHECK_LIB(vorbis,vorbis_info_init,,have_vorbis=no, -lm)
+ if test "x$have_vorbis" = "xyes"; then
+ AC_CHECK_LIB(vorbisenc,vorbis_encode_init,,have_vorbis=no, -lm)
+@@ -678,6 +772,7 @@
+ fi
+ fi
+ fi
++fi
+ dnl __________________/VORBIS______________
+
+ dnl __________________LAME______________
--- /dev/null
+--- avidemux/ADM_audiocodec/ADM_dca.cpp.old 2006-05-23 21:25:58.000000000 -0400
++++ avidemux/ADM_audiocodec/ADM_dca.cpp 2006-05-23 21:26:15.000000000 -0400
+@@ -31,7 +31,6 @@
+ extern "C"
+ {
+ #include "dts.h"
+-#include "dts_internal.h"
+
+ }
+ #include "ADM_audio/ADM_dcainfo.h"
--- /dev/null
+MD5 14c58c14fc9757d36e4d72498431da42 avidemux_2.3.0.tar.gz 4750919
+RMD160 1e10183d4b80104a42d40bfd9d9e9b5c54843d9e avidemux_2.3.0.tar.gz 4750919
+SHA256 ef083ab24e3ec612b10c8a0163845ff680fea845d5eade21d60d47e843b4c623 avidemux_2.3.0.tar.gz 4750919