summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-05-19 02:41:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-05-19 02:41:41 +0000
commitab704e843f5503bc7fce19620e9d002481254382 (patch)
tree45c4f43f7f303967e674cb6d544a7ae794ec14ef
parentversion bump (diff)
downloadhistorical-ab704e843f5503bc7fce19620e9d002481254382.tar.gz
historical-ab704e843f5503bc7fce19620e9d002481254382.tar.bz2
historical-ab704e843f5503bc7fce19620e9d002481254382.zip
version bump
-rw-r--r--media-video/xawdecode/Manifest4
-rw-r--r--media-video/xawdecode/files/digest-xawdecode-1.6.81
-rw-r--r--media-video/xawdecode/xawdecode-1.6.8.ebuild72
3 files changed, 75 insertions, 2 deletions
diff --git a/media-video/xawdecode/Manifest b/media-video/xawdecode/Manifest
index bf84b7cec5f0..87033c754b15 100644
--- a/media-video/xawdecode/Manifest
+++ b/media-video/xawdecode/Manifest
@@ -1,5 +1,5 @@
MD5 e6be8f75eca6e74b28f96cb50c840f0b xawdecode-1.6.7.ebuild 1664
-MD5 47ee0fda676632a6078e2c8a31520370 ChangeLog 433
-MD5 e6be8f75eca6e74b28f96cb50c840f0b xawdecode-1.6.8.ebuild 1664
+MD5 240855e607baf714e8ed8446572c2a86 ChangeLog 624
+MD5 befae01bd769c67c704a1dd11e4dfb9f xawdecode-1.6.8.ebuild 1664
MD5 13b346a7d4513b655067597980af046e files/digest-xawdecode-1.6.7 67
MD5 7ac89f854fed418595b44f2375de9c8f files/digest-xawdecode-1.6.8 67
diff --git a/media-video/xawdecode/files/digest-xawdecode-1.6.8 b/media-video/xawdecode/files/digest-xawdecode-1.6.8
new file mode 100644
index 000000000000..ac7fa9d57c8f
--- /dev/null
+++ b/media-video/xawdecode/files/digest-xawdecode-1.6.8
@@ -0,0 +1 @@
+MD5 c386504d4060fcfd7b0291e287be21f1 xawdecode-1.6.8.tar.gz 519543
diff --git a/media-video/xawdecode/xawdecode-1.6.8.ebuild b/media-video/xawdecode/xawdecode-1.6.8.ebuild
new file mode 100644
index 000000000000..e31f6f4a3b5e
--- /dev/null
+++ b/media-video/xawdecode/xawdecode-1.6.8.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawdecode/xawdecode-1.6.8.ebuild,v 1.1 2003/05/19 02:41:38 seemant Exp $
+
+inherit eutils
+
+IUSE="alsa jpeg dga encode"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="TV application for the bttv driver allowing decoding"
+HOMEPAGE="http://xawdecode.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xawdecode/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=sys-apps/sed-4.0.5"
+
+RDEPEND="virtual/x11
+ media-libs/divx4linux
+ media-video/avifile
+ encode? ( media-sound/lame )
+ jpeg? ( media-libs/jpeg )
+ alsa? ( media-libs/alsa-lib )"
+
+
+src_compile() {
+ local myconf
+ use alsa \
+ && myconf="${myconf} --enable-alsa" \
+ || myconf="${myconf} --disable-alsa"
+
+ use jpeg \
+ && myconf="${myconf} --enable-jpeg" \
+ || myconf="${myconf} --disable-jpeg"
+
+ use dga \
+ && myconf="${myconf} --enable-xfree-ext" \
+ || myconf="${myconf} --disable-xfree-ext"
+
+
+ # if lame is installed xawdecode will use it (there's no configure-flag)
+ # if lirc is installed it will also be used
+ # the same goes for ffmpeg libraries (not media-video/ffmpeg)
+ # (don't know how to install them)
+
+ econf ${myconf} || die
+
+ emake PERF_FLAGS2="${CFLAGS}" || die
+}
+
+src_install() {
+
+ sed -i \
+ "s:^SUBDIRS.*:SUBDIRS = alevt src:" Makefile
+
+ insinto /usr/X11R6/lib/X11/fonts/misc
+ doins font/led-fixed.pcf
+
+ einstall \
+ ROOT=${D} || die
+
+ dodoc COPYING ChangeLog
+ dodoc FAQ* README.* lisez-moi*
+ dodoc xawdecoderc.sample
+
+}
+
+pkg_postinst() {
+ einfo "Please note that this ebuild created a suid-binary: /usr/bin/v4l-conf"
+}