aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-01-22 23:05:12 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-01-22 23:05:12 +0000
commit1eba5715d0a7536b37188300ad7e418d9674b805 (patch)
tree3a15d95583efba228a333c4d984be8d19c3debb1
parentc49659f44d12b180ad82e1335ab53afcdede08fb (diff)
downloadports-1eba5715d0a7536b37188300ad7e418d9674b805.tar.gz
ports-1eba5715d0a7536b37188300ad7e418d9674b805.zip
o New port libdivxencore version 0.4.0.50: OpenDivX encoding engine
from Project Mayo o Finally, add a native encoding counterpart of libdivxdecore. Not throughfully tested.
Notes
Notes: svn path=/head/; revision=53612
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libdivxencore/Makefile33
-rw-r--r--graphics/libdivxencore/distinfo1
-rw-r--r--graphics/libdivxencore/files/Makefile22
-rw-r--r--graphics/libdivxencore/pkg-comment1
-rw-r--r--graphics/libdivxencore/pkg-descr6
-rw-r--r--graphics/libdivxencore/pkg-plist6
-rw-r--r--multimedia/libdivxencore/Makefile33
-rw-r--r--multimedia/libdivxencore/distinfo1
-rw-r--r--multimedia/libdivxencore/files/Makefile22
-rw-r--r--multimedia/libdivxencore/pkg-comment1
-rw-r--r--multimedia/libdivxencore/pkg-descr6
-rw-r--r--multimedia/libdivxencore/pkg-plist6
13 files changed, 139 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d2c00d6e4071..20932bb8d1a3 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -142,6 +142,7 @@
SUBDIR += libaux
SUBDIR += libdivxdecore
SUBDIR += libdivxdecore-devel
+ SUBDIR += libdivxencore
SUBDIR += libdjvu++
SUBDIR += libdv
SUBDIR += libdvdcss
diff --git a/graphics/libdivxencore/Makefile b/graphics/libdivxencore/Makefile
new file mode 100644
index 000000000000..03e314133dc5
--- /dev/null
+++ b/graphics/libdivxencore/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libdivxencore
+# Date created: Tue Jan 22 20:06:49 BRST 2002
+# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdivxencore
+PORTVERSION= 0.4.0.50
+CATEGORIES= graphics
+MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
+PKGNAMESUFFIX= -devel
+DISTNAME= encore${PORTVERSION:E}src
+
+MAINTAINER= lioux@FreeBSD.org
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -q -a -L
+MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
+PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
+INSTALLS_SHLIB= yes
+
+WRKSRC= ${WRKDIR}/encore/src
+
+LIB_VERSION= 0
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+pre-install:
+ @${MKDIR} ${PREFIX}/include/divx
+
+.include <bsd.port.mk>
diff --git a/graphics/libdivxencore/distinfo b/graphics/libdivxencore/distinfo
new file mode 100644
index 000000000000..e79d294eb091
--- /dev/null
+++ b/graphics/libdivxencore/distinfo
@@ -0,0 +1 @@
+MD5 (encore50src.zip) = 30f97ed4503796eac747572553e1b923
diff --git a/graphics/libdivxencore/files/Makefile b/graphics/libdivxencore/files/Makefile
new file mode 100644
index 000000000000..2a00c520820a
--- /dev/null
+++ b/graphics/libdivxencore/files/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+LIB= divxencore
+SHLIB_MAJOR= ${LIB_VERSION}
+SHLIB_MINOR= 0
+CFLAGS+=-I${.CURDIR}
+SRCS= bitstream.c encore.c mom_access.c mom_util.c mot_code.c \
+ mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rate_ctl.c \
+ text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c
+INCS= encore.h
+
+# idea taken from port security/libparanoia
+# hacks around <bsd.lib.mk>, which ignores PREFIX
+.if defined(PREFIX)
+DESTDIR=${PREFIX}/
+.else
+DESTDIR=/usr/local/
+.endif
+INCDIR=include/divx/
+LIBDIR=lib/
+
+.include <bsd.lib.mk>
diff --git a/graphics/libdivxencore/pkg-comment b/graphics/libdivxencore/pkg-comment
new file mode 100644
index 000000000000..7666a9459a8f
--- /dev/null
+++ b/graphics/libdivxencore/pkg-comment
@@ -0,0 +1 @@
+OpenDivX encoding engine from Project Mayo
diff --git a/graphics/libdivxencore/pkg-descr b/graphics/libdivxencore/pkg-descr
new file mode 100644
index 000000000000..b3cba0c23100
--- /dev/null
+++ b/graphics/libdivxencore/pkg-descr
@@ -0,0 +1,6 @@
+Encore [excerpt from OpenDivX Project Mayo site]
+
+"Encore" is our encoder core - that part of the codec that encodes
+video from uncompressed RGB bitmaps into a DivX video bitstream.
+
+WWW: http://www.projectmayo.com/
diff --git a/graphics/libdivxencore/pkg-plist b/graphics/libdivxencore/pkg-plist
new file mode 100644
index 000000000000..da5ae3c561f3
--- /dev/null
+++ b/graphics/libdivxencore/pkg-plist
@@ -0,0 +1,6 @@
+include/divx/encore.h
+lib/libdivxencore.a
+lib/libdivxencore.so
+lib/libdivxencore.so.%%LIB_VERSION%%
+lib/libdivxencore_p.a
+@unexec rmdir %D/include/divx 2>/dev/null || true
diff --git a/multimedia/libdivxencore/Makefile b/multimedia/libdivxencore/Makefile
new file mode 100644
index 000000000000..03e314133dc5
--- /dev/null
+++ b/multimedia/libdivxencore/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libdivxencore
+# Date created: Tue Jan 22 20:06:49 BRST 2002
+# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdivxencore
+PORTVERSION= 0.4.0.50
+CATEGORIES= graphics
+MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
+PKGNAMESUFFIX= -devel
+DISTNAME= encore${PORTVERSION:E}src
+
+MAINTAINER= lioux@FreeBSD.org
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -q -a -L
+MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
+PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
+INSTALLS_SHLIB= yes
+
+WRKSRC= ${WRKDIR}/encore/src
+
+LIB_VERSION= 0
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+pre-install:
+ @${MKDIR} ${PREFIX}/include/divx
+
+.include <bsd.port.mk>
diff --git a/multimedia/libdivxencore/distinfo b/multimedia/libdivxencore/distinfo
new file mode 100644
index 000000000000..e79d294eb091
--- /dev/null
+++ b/multimedia/libdivxencore/distinfo
@@ -0,0 +1 @@
+MD5 (encore50src.zip) = 30f97ed4503796eac747572553e1b923
diff --git a/multimedia/libdivxencore/files/Makefile b/multimedia/libdivxencore/files/Makefile
new file mode 100644
index 000000000000..2a00c520820a
--- /dev/null
+++ b/multimedia/libdivxencore/files/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+LIB= divxencore
+SHLIB_MAJOR= ${LIB_VERSION}
+SHLIB_MINOR= 0
+CFLAGS+=-I${.CURDIR}
+SRCS= bitstream.c encore.c mom_access.c mom_util.c mot_code.c \
+ mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rate_ctl.c \
+ text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c
+INCS= encore.h
+
+# idea taken from port security/libparanoia
+# hacks around <bsd.lib.mk>, which ignores PREFIX
+.if defined(PREFIX)
+DESTDIR=${PREFIX}/
+.else
+DESTDIR=/usr/local/
+.endif
+INCDIR=include/divx/
+LIBDIR=lib/
+
+.include <bsd.lib.mk>
diff --git a/multimedia/libdivxencore/pkg-comment b/multimedia/libdivxencore/pkg-comment
new file mode 100644
index 000000000000..7666a9459a8f
--- /dev/null
+++ b/multimedia/libdivxencore/pkg-comment
@@ -0,0 +1 @@
+OpenDivX encoding engine from Project Mayo
diff --git a/multimedia/libdivxencore/pkg-descr b/multimedia/libdivxencore/pkg-descr
new file mode 100644
index 000000000000..b3cba0c23100
--- /dev/null
+++ b/multimedia/libdivxencore/pkg-descr
@@ -0,0 +1,6 @@
+Encore [excerpt from OpenDivX Project Mayo site]
+
+"Encore" is our encoder core - that part of the codec that encodes
+video from uncompressed RGB bitmaps into a DivX video bitstream.
+
+WWW: http://www.projectmayo.com/
diff --git a/multimedia/libdivxencore/pkg-plist b/multimedia/libdivxencore/pkg-plist
new file mode 100644
index 000000000000..da5ae3c561f3
--- /dev/null
+++ b/multimedia/libdivxencore/pkg-plist
@@ -0,0 +1,6 @@
+include/divx/encore.h
+lib/libdivxencore.a
+lib/libdivxencore.so
+lib/libdivxencore.so.%%LIB_VERSION%%
+lib/libdivxencore_p.a
+@unexec rmdir %D/include/divx 2>/dev/null || true