# ChangeLog for media-video/camstream
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/camstream/ChangeLog,v 1.16 2007/02/09 08:01:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/camstream/ChangeLog,v 1.17 2007/04/17 10:30:30 phosphan Exp $
+
+*camstream-20070315 (17 Apr 2007)
+
+ 17 Apr 2007; Patrick Kursawe <phosphan@gentoo.org>
+ -files/camstream-0.26.2-gcc33-multiline-string-fix.patch,
+ +files/20070315.patch, -files/uicmocpath.patch,
+ +camstream-20070315.ebuild:
+ Cleanup of old version and a version bump to a snapshot because
+ of bug #168317 and #159273.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
--- /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/camstream/camstream-20070315.ebuild,v 1.1 2007/04/17 10:30:30 phosphan Exp $
+
+inherit eutils libtool autotools
+
+MY_PV=${PV:2}
+
+DESCRIPTION="Collection of tools for webcams and other video devices"
+HOMEPAGE="http://www.smcc.demon.nl/camstream/"
+SRC_URI="http://www.smcc.demon.nl/camstream/download/camstream-snapshot-${MY_PV}.tar.gz"
+LICENSE="GPL-2"
+# amd64, please update the patch
+KEYWORDS="~amd64 -ppc ~x86"
+SLOT="0"
+IUSE="doc mmx"
+
+RDEPEND="=x11-libs/qt-3*"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ sys-devel/autoconf"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+WANT_AUTOCONF="2.5"
+WANT_AUTOMAKE="1.9.6"
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}.patch
+ for dir in ${S} ${S}/ccvt; do
+ cd ${dir}
+ eautoconf
+ elibtoolize
+ libtoolize --copy --force
+ done
+ # Camstream has 32 bit asssembler normally.
+ # patch has to be adapted
+ #use amd64 && epatch ${FILESDIR}/x86_64-asm.patch
+ #disabling mmx for amd64 as a workaround
+}
+
+src_compile () {
+ local myconf
+ # Need to fake out Qt or we'll get sandbox problems
+ REALHOME="$HOME"
+ mkdir -p $T/fakehome/.qt
+ export HOME="$T/fakehome"
+ addwrite "${QTDIR}/etc/settings"
+ if ! use mmx || use amd64; then
+ myconf="--disable-mmx"
+ fi
+ econf ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install
+}
--- /dev/null
+--- camstream-070315/ccvt/ccvt_mmx.S 2006-12-20 20:13:14.000000000 +0100
++++ camstream-070315.new/ccvt/ccvt_mmx.S 2007-04-13 11:56:12.000000000 +0200
+@@ -347,3 +346,6 @@
+ END_LOOP_24
+ LEAVE_FUNC
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- camstream-070315/camstream/video/video_asm.S 2006-11-17 00:58:21.000000000 +0100
++++ camstream-070315.new/camstream/video/video_asm.S 2007-04-17 00:17:12.000000000 +0200
+@@ -166,3 +166,7 @@
+ #endif /* HAVE_MMX */
+
+ #endif /* HAVE_INTELCPU */
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+--- camstream-070315/camstream/video/video_asm_add.S 2006-11-17 00:58:21.000000000 +0100
++++ camstream-070315.new/camstream/video/video_asm_add.S 2007-04-17 00:17:37.000000000 +0200
+@@ -114,3 +114,7 @@
+ ret
+
+ #endif /* HAVE_INTELCPU */
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
--- /dev/null
+MD5 2f7f7529ce6847593c2132e8dba153bc camstream-snapshot-070315.tar.gz 3943546
+RMD160 e53640e7e039a349c5ba8beb8b09f0eb7b18b69e camstream-snapshot-070315.tar.gz 3943546
+SHA256 812ab4ed0d5393ff793ea6b1dc2d18aa36beca9163d4611d8a8d56f948dd29ba camstream-snapshot-070315.tar.gz 3943546