# ChangeLog for media-video/m2vrequantizer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/ChangeLog,v 1.3 2007/01/16 14:51:57 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/ChangeLog,v 1.4 2007/01/22 17:07:54 hd_brummy Exp $
+
+ 22 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ m2vrequantizer-20060306.ebuild:
+ fixed amd64 compile problems; thanks to Mirko Guenther
*m2vrequantizer-0.0.1 (16 Jan 2007)
MD5 faf1f6fa5ced3f174298fd49177fad11 m2vrequantizer-0.0.1.ebuild 848
RMD160 290a84b7bff526aef4ed13b7dcf8c004b7c2c6c2 m2vrequantizer-0.0.1.ebuild 848
SHA256 b5f242ffc561de4766e17054fbdced022a708418cff508ea7cdcf952bb9ac7c0 m2vrequantizer-0.0.1.ebuild 848
-EBUILD m2vrequantizer-20060306.ebuild 700 RMD160 fe0974a83f83e966f547f757a4fec58cd3e7c709 SHA1 0f7eff36a0ecaf81ac7e175f5040bcea8bbb1369 SHA256 22e646daac0a0457c1788c68f7334abc68a08ecbefe79145d5def5d57620603f
-MD5 a00971ff907015b7ebea16eb1f94c4b3 m2vrequantizer-20060306.ebuild 700
-RMD160 fe0974a83f83e966f547f757a4fec58cd3e7c709 m2vrequantizer-20060306.ebuild 700
-SHA256 22e646daac0a0457c1788c68f7334abc68a08ecbefe79145d5def5d57620603f m2vrequantizer-20060306.ebuild 700
-MISC ChangeLog 892 RMD160 8188114762fb8dc180212870d66c5c12e811fc82 SHA1 f25200465e0806fb9c28bff5a82842af08412d25 SHA256 0a0e9515c43662fb65864e2fcc0b50eb7c70fd68d309b046c44e824529feb00c
-MD5 78f3662e968af643fd28a09dd14f0536 ChangeLog 892
-RMD160 8188114762fb8dc180212870d66c5c12e811fc82 ChangeLog 892
-SHA256 0a0e9515c43662fb65864e2fcc0b50eb7c70fd68d309b046c44e824529feb00c ChangeLog 892
+EBUILD m2vrequantizer-20060306.ebuild 819 RMD160 2052ef03bd4acba75cb1a78d05ec5fb71223aefa SHA1 1f8c287dbf7614048b1c4189c0814dd416999211 SHA256 81cd89ad7291d467d668df0b4e5419d77c19703219f461cf227a1a7771f34671
+MD5 93719888f26427174dcd362a04195793 m2vrequantizer-20060306.ebuild 819
+RMD160 2052ef03bd4acba75cb1a78d05ec5fb71223aefa m2vrequantizer-20060306.ebuild 819
+SHA256 81cd89ad7291d467d668df0b4e5419d77c19703219f461cf227a1a7771f34671 m2vrequantizer-20060306.ebuild 819
+MISC ChangeLog 1039 RMD160 9eeea9dbd59069096bf019e05790d068f8cbb630 SHA1 6664de5c8bc5bfc3723d7310373246dee5a15afd SHA256 ec636ab2c06d00f7741808e90aa392e55283cb124b659991f7a534bedfb5eb95
+MD5 db8647d9c6def70e8a9047013f7f221e ChangeLog 1039
+RMD160 9eeea9dbd59069096bf019e05790d068f8cbb630 ChangeLog 1039
+SHA256 ec636ab2c06d00f7741808e90aa392e55283cb124b659991f7a534bedfb5eb95 ChangeLog 1039
MISC metadata.xml 247 RMD160 d066fa323af7b38213f02da8ab2e57e38d734f04 SHA1 5f0e2e7807496aba2b6893d81c08249d39c2f441 SHA256 6fd5e4aaeb29f38f2abf793fd5c2771c819c1f4f1152303a9443eb960386dd65
MD5 e3261083d0c4ed725ec2107e58b02cf4 metadata.xml 247
RMD160 d066fa323af7b38213f02da8ab2e57e38d734f04 metadata.xml 247
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFFrOcYdn07HTTCgIoRAjEmAJ0elh4qGY7bFmzilirfxp/MDX9TcwCgqM47
-XDQMEbIvZLKZ3+KfdmvoAkI=
-=7C74
+iD8DBQFFtPAQdn07HTTCgIoRAgVWAKCV5Mv/r+BI8ok+L2J0SDt4xx+3gwCcCbs9
+stTkS7+xR6638mGyjyHYR+4=
+=yFwn
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.2 2007/01/15 16:50:31 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.3 2007/01/22 17:07:54 hd_brummy Exp $
MY_P="${PN/m2vr/M2VR}-${PV}"
S=${WORKDIR}/M2VRequantiser
-src_compile() {
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
- einfo ${S}
+ sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c
+}
+
+src_compile() {
gcc -c ${CFLAGS} main.c -o requant.o
gcc ${CFLAGS} requant.o -o requant -lm