aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-01-23 07:05:12 +0800
committerlioux <lioux@FreeBSD.org>2002-01-23 07:05:12 +0800
commitc1748a41e858e5def39f628b9c8890ab0d3c8031 (patch)
treef424ac7772177ae823bedff2956c81ae9dbb9317 /multimedia
parentaae6fe25f508d97aa989d6ab0de09077d9311b7d (diff)
downloadfreebsd-ports-gnome-c1748a41e858e5def39f628b9c8890ab0d3c8031.tar.gz
freebsd-ports-gnome-c1748a41e858e5def39f628b9c8890ab0d3c8031.tar.zst
freebsd-ports-gnome-c1748a41e858e5def39f628b9c8890ab0d3c8031.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.
Diffstat (limited to 'multimedia')
-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
6 files changed, 69 insertions, 0 deletions
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