summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-09 20:07:27 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-09 20:07:27 +0000
commit35c09f63e5c64daadef8c700f5a192919800078b (patch)
tree644bd631507da33bfc820fc53a8850757295a3b2 /media-video/mvc
parentPinpoint virtual/x11 version to less than 7. (diff)
downloadhistorical-35c09f63e5c64daadef8c700f5a192919800078b.tar.gz
historical-35c09f63e5c64daadef8c700f5a192919800078b.tar.bz2
historical-35c09f63e5c64daadef8c700f5a192919800078b.zip
Almost rewrite the ebuild so that it works.
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'media-video/mvc')
-rw-r--r--media-video/mvc/ChangeLog7
-rw-r--r--media-video/mvc/Manifest28
-rw-r--r--media-video/mvc/files/digest-mvc-0.8.72
-rw-r--r--media-video/mvc/mvc-0.8.7.ebuild34
4 files changed, 53 insertions, 18 deletions
diff --git a/media-video/mvc/ChangeLog b/media-video/mvc/ChangeLog
index 64b0637386ba..5fcd3825f682 100644
--- a/media-video/mvc/ChangeLog
+++ b/media-video/mvc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/mvc
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mvc/ChangeLog,v 1.2 2005/07/28 10:44:32 dholm Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mvc/ChangeLog,v 1.3 2006/07/09 20:07:27 flameeyes Exp $
+
+ 09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> mvc-0.8.7.ebuild:
+ Almost rewrite the ebuild so that it works.
28 Jul 2005; David Holm <dholm@gentoo.org> mvc-0.8.7.ebuild:
Added to ~ppc.
diff --git a/media-video/mvc/Manifest b/media-video/mvc/Manifest
index 9ef546529985..7c177277e518 100644
--- a/media-video/mvc/Manifest
+++ b/media-video/mvc/Manifest
@@ -1,4 +1,26 @@
-MD5 179cf5df65b0f8ffed532f45cc4be495 ChangeLog 454
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST mvc-0.8.7.tar.gz 20640 RMD160 d445ae0c76eb88f1db63512b3b6070cf5d6d43d8 SHA1 98d46830a63093bc6a8e7b47c11653d5b8a22b9c SHA256 52a806375b52bf7450e42c64b2ee1b085f5fa8370720471573e0bb561e0d5c49
+EBUILD mvc-0.8.7.ebuild 898 RMD160 6818e7ae5350e6bf05360c1800071ce7a79868ca SHA1 622a9b8a8955b507a41e1560f7ace273defdec94 SHA256 4ca262fac311ab89162d1bb6418fc658cfb6dc10cf33661b3e12be2feeb826bf
+MD5 78fbf45d98bf99b22c95d7b0bb9ec88c mvc-0.8.7.ebuild 898
+RMD160 6818e7ae5350e6bf05360c1800071ce7a79868ca mvc-0.8.7.ebuild 898
+SHA256 4ca262fac311ab89162d1bb6418fc658cfb6dc10cf33661b3e12be2feeb826bf mvc-0.8.7.ebuild 898
+MISC ChangeLog 576 RMD160 82bc4dc3b0d8e34ddaa8f38e5137bcfa37d31745 SHA1 e138ec4841be5296f90f649acb59e50e600c4dc1 SHA256 e8ee42c5750f298a59ed768fa069bd71db3ebf8d12dcf0aa32b248bfc63f6b5a
+MD5 2f9e607108a55724fb26050ce442ffd7 ChangeLog 576
+RMD160 82bc4dc3b0d8e34ddaa8f38e5137bcfa37d31745 ChangeLog 576
+SHA256 e8ee42c5750f298a59ed768fa069bd71db3ebf8d12dcf0aa32b248bfc63f6b5a ChangeLog 576
+MISC metadata.xml 381 RMD160 a83481d06d0e168168b5f71a86b3ed808328eb6f SHA1 f9e48615cbd33d76fe6d7b83bd51ad978036aa96 SHA256 b4c7c2fa9bdb4eed00da067f9f3415b012b1c7f8b1da335fb8bea70b8625a626
MD5 c70f746ff6a8a29c10b05cf82325cf70 metadata.xml 381
-MD5 5828ba83c6d8f98cba1fb7c04c3b3bf2 mvc-0.8.7.ebuild 785
-MD5 14c54a64123849dbc25f63f1b4ad0491 files/digest-mvc-0.8.7 60
+RMD160 a83481d06d0e168168b5f71a86b3ed808328eb6f metadata.xml 381
+SHA256 b4c7c2fa9bdb4eed00da067f9f3415b012b1c7f8b1da335fb8bea70b8625a626 metadata.xml 381
+MD5 b6a7971f94f6795d6bce89a3ce667ccb files/digest-mvc-0.8.7 226
+RMD160 c0c3e75246e7fcce31406f71cea1f4d9241be7f8 files/digest-mvc-0.8.7 226
+SHA256 29178fe413f729b5d291ac6251f1f07353132e3142b3d8a4763eb9702ff4199f files/digest-mvc-0.8.7 226
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFEsWIFAiZjviIA2XgRAuITAJ4xH4v6xoPKQx+bEFfHvmhrBlTngwCdEStz
+mNkuwcpBUJ50neCqnc5QF64=
+=OAzm
+-----END PGP SIGNATURE-----
diff --git a/media-video/mvc/files/digest-mvc-0.8.7 b/media-video/mvc/files/digest-mvc-0.8.7
index bffc9ae547a2..90e09b0abf74 100644
--- a/media-video/mvc/files/digest-mvc-0.8.7
+++ b/media-video/mvc/files/digest-mvc-0.8.7
@@ -1 +1,3 @@
MD5 3e36e81ec30f2bd9be94f5933b7ae8b6 mvc-0.8.7.tar.gz 20640
+RMD160 d445ae0c76eb88f1db63512b3b6070cf5d6d43d8 mvc-0.8.7.tar.gz 20640
+SHA256 52a806375b52bf7450e42c64b2ee1b085f5fa8370720471573e0bb561e0d5c49 mvc-0.8.7.tar.gz 20640
diff --git a/media-video/mvc/mvc-0.8.7.ebuild b/media-video/mvc/mvc-0.8.7.ebuild
index 14fe5fd5ecef..6697abad2586 100644
--- a/media-video/mvc/mvc-0.8.7.ebuild
+++ b/media-video/mvc/mvc-0.8.7.ebuild
@@ -1,30 +1,38 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mvc/mvc-0.8.7.ebuild,v 1.2 2005/07/28 10:44:32 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mvc/mvc-0.8.7.ebuild,v 1.3 2006/07/09 20:07:27 flameeyes Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Motion Video Capture, text mode v4l video capture program with motion detection feature"
HOMEPAGE="http://modesto.sourceforge.net/piave/index.html"
-MY_P="${P}"
-SRC_URI="http://www.turbolinux.com.cn/~merlin/mvc/${MY_P}.tar.gz"
+SRC_URI="http://www.turbolinux.com.cn/~merlin/mvc/${P}.tar.gz"
-IUSE="nls"
+IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc ~x86"
-DEPEND="virtual/x11"
+RDEPEND="media-libs/jpeg
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i -e "s:prefix=/usr:prefix=${D}/usr:" Makefile || die "Could not fix install path"
+doecho() {
+ echo "$@"
+ exec "$@"
}
src_compile() {
- emake || die
+ doecho $(tc-getCC) \
+ ${CFLAGS} -DHAVE_JPEG -DHAVE_PNG $(pkg-config --cflags libpng) \
+ ${LDFLAGS} -o mvc \
+ mvc.c \
+ -ljpeg $(pkg-config --libs libpng)
}
src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS ChangeLog README TODO
+ dobin mvc
+ doman mvc.1
+ dodoc ChangeLog README TODO NEWS
}