summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/xvid/ChangeLog7
-rw-r--r--media-libs/xvid/files/1.0.0_rc4-DESTDIR.patch33
-rw-r--r--media-libs/xvid/files/digest-xvid-1.0.0_rc41
-rw-r--r--media-libs/xvid/xvid-1.0.0_rc4.ebuild42
4 files changed, 82 insertions, 1 deletions
diff --git a/media-libs/xvid/ChangeLog b/media-libs/xvid/ChangeLog
index d9c4fdde6a55..1cf2ecf2ca9e 100644
--- a/media-libs/xvid/ChangeLog
+++ b/media-libs/xvid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/xvid
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.20 2004/04/19 06:27:36 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.21 2004/04/26 22:47:51 vapier Exp $
+
+*xvid-1.0.0_rc4 (26 Apr 2004)
+
+ 26 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump and clean up src_install #47838 by Aaron Lake.
*xvid-1.0.0_rc3 (19 Apr 2004)
diff --git a/media-libs/xvid/files/1.0.0_rc4-DESTDIR.patch b/media-libs/xvid/files/1.0.0_rc4-DESTDIR.patch
new file mode 100644
index 000000000000..68d7249da598
--- /dev/null
+++ b/media-libs/xvid/files/1.0.0_rc4-DESTDIR.patch
@@ -0,0 +1,33 @@
+--- build/generic/Makefile.orig 2004-04-26 18:36:04.708813608 -0400
++++ build/generic/Makefile 2004-04-26 18:37:39.278436840 -0400
+@@ -135,15 +135,15 @@
+
+ install: $(BUILD_DIR)/$(STATIC_LIB) $(BUILD_DIR)/$(SHARED_LIB)
+ @echo " D: $(libdir)"
+- @$(INSTALL) -d $(libdir)
++ @$(INSTALL) -d $(DESTDIR)$(libdir)
+ @echo " I: $(libdir)/$(SHARED_LIB)"
+- @$(INSTALL) -m 755 $(BUILD_DIR)/$(SHARED_LIB) $(libdir)/$(SHARED_LIB)
++ @$(INSTALL) -m 755 $(BUILD_DIR)/$(SHARED_LIB) $(DESTDIR)$(libdir)/$(SHARED_LIB)
+ @echo " I: $(libdir)/$(STATIC_LIB)"
+- @$(INSTALL) -m 755 $(BUILD_DIR)/$(STATIC_LIB) $(libdir)/$(STATIC_LIB)
++ @$(INSTALL) -m 755 $(BUILD_DIR)/$(STATIC_LIB) $(DESTDIR)$(libdir)/$(STATIC_LIB)
+ @echo " D: $(includedir)"
+- @$(INSTALL) -d $(includedir)
++ @$(INSTALL) -d $(DESTDIR)$(includedir)
+ @echo " I: $(includedir)/xvid.h"
+- @$(INSTALL) -m 644 $(SRC_DIR)/xvid.h $(includedir)/xvid.h
++ @$(INSTALL) -m 644 $(SRC_DIR)/xvid.h $(DESTDIR)$(includedir)/xvid.h
+
+ #-----------------------------------------------------------------------------
+ # Platorm specific file -- dumb rules for people executing make before
+--- build/generic/platform.inc.in.orig 2004-04-26 18:36:51.928635104 -0400
++++ build/generic/platform.inc.in 2004-04-26 18:37:02.919964168 -0400
+@@ -55,6 +55,7 @@
+ # ============================================================================
+
+ INSTALL=@INSTALL@
++DESTDIR=
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
diff --git a/media-libs/xvid/files/digest-xvid-1.0.0_rc4 b/media-libs/xvid/files/digest-xvid-1.0.0_rc4
new file mode 100644
index 000000000000..e2445446f1c7
--- /dev/null
+++ b/media-libs/xvid/files/digest-xvid-1.0.0_rc4
@@ -0,0 +1 @@
+MD5 112910affa656dca7cf16d9e0a6e1b78 xvidcore-1.0.0-rc4.tar.bz2 536183
diff --git a/media-libs/xvid/xvid-1.0.0_rc4.ebuild b/media-libs/xvid/xvid-1.0.0_rc4.ebuild
new file mode 100644
index 000000000000..88195c6ed399
--- /dev/null
+++ b/media-libs/xvid/xvid-1.0.0_rc4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.0.0_rc4.ebuild,v 1.1 2004/04/26 22:47:51 vapier Exp $
+
+inherit eutils
+
+MY_P=${PN}core-${PV/_rc/-rc}
+S="${WORKDIR}/${MY_P}/build/generic"
+DESCRIPTION="XviD, a high performance/quality MPEG-4 video de-/encoding solution."
+HOMEPAGE="http://www.xvid.org/"
+SRC_URI="http://files.xvid.org/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64"
+IUSE="doc"
+
+DEPEND="virtual/glibc
+ x86? ( >=dev-lang/nasm-0.98.36 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-DESTDIR.patch
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+
+ cd ${S}/../../
+ dodoc AUTHORS ChangeLog README TODO doc/*
+
+ local mylib="$(basename $(ls ${D}/usr/lib/libxvidcore.so*))"
+ dosym ${mylib} /usr/lib/libxvidcore.so
+ dosym ${mylib} /usr/lib/${mylib/.0}
+
+ if use doc ; then
+ dodoc CodingStyle doc/README
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ fi
+}