1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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.
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-01-22 23:05:12 +00:00
parent c49659f44d
commit 1eba5715d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53612
13 changed files with 139 additions and 0 deletions

View File

@ -142,6 +142,7 @@
SUBDIR += libaux
SUBDIR += libdivxdecore
SUBDIR += libdivxdecore-devel
SUBDIR += libdivxencore
SUBDIR += libdjvu++
SUBDIR += libdv
SUBDIR += libdvdcss

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (encore50src.zip) = 30f97ed4503796eac747572553e1b923

View File

@ -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>

View File

@ -0,0 +1 @@
OpenDivX encoding engine from Project Mayo

View File

@ -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/

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (encore50src.zip) = 30f97ed4503796eac747572553e1b923

View File

@ -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>

View File

@ -0,0 +1 @@
OpenDivX encoding engine from Project Mayo

View File

@ -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/

View File

@ -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