summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libdv/ChangeLog9
-rw-r--r--media-libs/libdv/Manifest5
-rw-r--r--media-libs/libdv/files/digest-libdv-0.99-r11
-rw-r--r--media-libs/libdv/files/libdv-0.99-disablegtk.patch100
-rw-r--r--media-libs/libdv/libdv-0.99-r1.ebuild44
-rw-r--r--media-libs/libdv/metadata.xml8
6 files changed, 164 insertions, 3 deletions
diff --git a/media-libs/libdv/ChangeLog b/media-libs/libdv/ChangeLog
index 2b685ef3afda..73889ca319da 100644
--- a/media-libs/libdv/ChangeLog
+++ b/media-libs/libdv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libdv
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.16 2003/08/18 17:36:05 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.17 2003/08/20 14:54:00 liquidx Exp $
+
+*libdv-0.99-r1 (20 Aug 2003)
+
+ 20 Aug 2003; Alastair Tse <liquidx@gentoo.org> libdv-0.99-r1.ebuild,
+ files/libdv-0.99-disablegtk.patch:
+ applied patches thanks to Christian Jiresjö <slaugther@linux.nu> (#730)
+ to allow disable gtk support properly.
18 Aug 2003; Max Kalika <max@gentoo.org> libdv-0.99.ebuild:
Configure couldn't complete if gtk isn't installed, so added
diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
index 12c5dac3fc45..2a743f596c27 100644
--- a/media-libs/libdv/Manifest
+++ b/media-libs/libdv/Manifest
@@ -1,8 +1,9 @@
-MD5 ae5b8e1524ea0ea12c50111364f75ecc ChangeLog 2146
+MD5 7e9c480cadbed59d1f31d1c69232759d ChangeLog 2405
MD5 55706adc4e35f4c4402d2b93bbe1379f libdv-0.9.5-r1.ebuild 805
MD5 5e11191017e9473641ac1a378b2afb96 libdv-0.98.ebuild 1049
-MD5 9e22c98b9ad6de5cfed9fdbf7e555a76 libdv-0.99-r1.ebuild 1170
+MD5 e93bccee3edf3ffe953f978f9d1055e8 libdv-0.99-r1.ebuild 1158
MD5 d007c88d554ddc43791b174155f90069 libdv-0.99.ebuild 923
+MD5 2fdf7d119ea8a49fe28913e77b44dfc0 metadata.xml 333
MD5 a880f41dce1a820076b48ca914ac5e8b files/digest-libdv-0.9.5-r1 63
MD5 d79d611e171b21dfe5e1f5d1534576e5 files/digest-libdv-0.98 62
MD5 108d55b61056533255db29dbed106beb files/digest-libdv-0.99 123
diff --git a/media-libs/libdv/files/digest-libdv-0.99-r1 b/media-libs/libdv/files/digest-libdv-0.99-r1
new file mode 100644
index 000000000000..2ca13a51421f
--- /dev/null
+++ b/media-libs/libdv/files/digest-libdv-0.99-r1
@@ -0,0 +1 @@
+MD5 602fa45ad13059b571fef8548a4239a4 libdv-0.99.tar.gz 359334
diff --git a/media-libs/libdv/files/libdv-0.99-disablegtk.patch b/media-libs/libdv/files/libdv-0.99-disablegtk.patch
new file mode 100644
index 000000000000..80ab5200dd83
--- /dev/null
+++ b/media-libs/libdv/files/libdv-0.99-disablegtk.patch
@@ -0,0 +1,100 @@
+--- libdv-0.99/Makefile.in 2003-05-13 10:47:47.000000000 +0200
++++ libdv-0.99/Makefile.in 2003-05-13 10:47:54.000000000 +0200
+@@ -101,7 +101,7 @@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-SUBDIRS = libdv playdv encodedv
++SUBDIRS = @subdirs@
+
+ AUX_DIST = $(ac_aux_dir)/config.guess \
+ $(ac_aux_dir)/config.sub \
+--- libdv-0.99/configure 2003-05-20 11:01:08.000000000 +0200
++++ libdv-0.99/configure 2003-05-20 11:03:23.000000000 +0200
+@@ -7651,6 +7651,7 @@
+
+
+
++if $use_gtk; then
+ REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4'
+
+ succeeded=no
+@@ -7749,9 +7750,13 @@
+ echo "$as_me: error: Library requirements ($REQUIRES) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+-
++fi
+ REQUIRES=''
+-
++if $use_gtk; then
++ subdirs="libdv playdv encodedv"
++else
++ subdirs="libdv"
++fi
+
+
+
+@@ -9978,8 +9983,11 @@
+
+
+
+-
++if $use_gtk; then
+ ac_config_files="$ac_config_files Makefile libdv.spec libdv.pc libdv/Makefile playdv/Makefile encodedv/Makefile"
++else
++ac_config_files="$ac_config_files Makefile libdv.spec libdv.pc libdv/Makefile"
++fi
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+ # tests run on this system so they can be shared between configure
+@@ -10480,6 +10488,7 @@
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ for ac_config_target in $ac_config_targets
+ do
++if test "x$enable_gtktest" = "xyes" ; then
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+@@ -10494,6 +10503,20 @@
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
++else
++ case "$ac_config_target" in
++ # Handling of arguments.
++ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++ "libdv.spec" ) CONFIG_FILES="$CONFIG_FILES libdv.spec" ;;
++ "libdv.pc" ) CONFIG_FILES="$CONFIG_FILES libdv.pc" ;;
++ "libdv/Makefile" ) CONFIG_FILES="$CONFIG_FILES libdv/Makefile" ;;
++ "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
++ "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
++ *) { { echo "$as_me:9830: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++ { (exit 1); exit 1; }; };;
++ esac
++fi
+ done
+
+ # If the user did not use the arguments to specify the items to instantiate,
+@@ -10513,6 +10536,12 @@
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+ }
+
++if test "x$enable_gtktest" = "xyes" ; then
++ subdirs="libdv playdv encodedv"
++else
++ subdirs="libdv"
++fi
++
+ # Create a (secure) tmp directory for tmp files.
+ : ${TMPDIR=/tmp}
+ {
+@@ -10642,6 +10671,7 @@
+ s,@REQUIRES_NOPKGCONFIG@,$REQUIRES_NOPKGCONFIG,;t t
+ s,@ac_aux_dir@,$ac_aux_dir,;t t
+ s,@RPM_RELEASE@,$RPM_RELEASE,;t t
++s,@subdirs@,$subdirs,;t t
+ CEOF
+
+ _ACEOF
diff --git a/media-libs/libdv/libdv-0.99-r1.ebuild b/media-libs/libdv/libdv-0.99-r1.ebuild
new file mode 100644
index 000000000000..c8d5850034a4
--- /dev/null
+++ b/media-libs/libdv/libdv-0.99-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-0.99-r1.ebuild,v 1.1 2003/08/20 14:54:00 liquidx Exp $
+
+IUSE="sdl gtk xv"
+
+DESCRIPTION="software codec for dv-format video (camcorders etc)"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://libdv.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+
+DEPEND=" dev-libs/popt
+ gtk? ( =x11-libs/gtk+-1.2* )
+ gtk? ( =dev-libs/glib-1.2* )
+ xv? ( x11-base/xfree )
+ dev-util/pkgconfig
+ sdl? ( >=media-libs/libsdl-1.2.4.20020601 )"
+
+MAKEOPTS="-j1"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-disablegtk.patch
+}
+
+src_compile() {
+ local myconf="--without-debug"
+ myconf="${myconf} `use_enable gtk` `use_enable gtk gtktest`"
+ myconf="${myconf} `use_enable sdl`"
+ myconf="${myconf} `use_enable xv`"
+
+ unset CFLAGS CXXFLAGS
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "install failed"
+ dodoc AUTHORS COPYING COPYRIGHT ChangeLog INSTALL NEWS README* TODO
+}
diff --git a/media-libs/libdv/metadata.xml b/media-libs/libdv/metadata.xml
new file mode 100644
index 000000000000..67c5b78af834
--- /dev/null
+++ b/media-libs/libdv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>mholzer@gentoo.org</email></maintainer>
+<maintainer><email>liquidx@gentoo.org</email></maintainer>
+<maintainer><email>max@gentoo.org</email></maintainer>
+</pkgmetadata>