Import xvidcore 1.0.2; submitted by Waldemar Brodkorb <wbx@openbsd.de>.
XviD is a high performance and high quality MPEG-4 video de-/encoding solution.
This commit is contained in:
parent
6c4e864f9f
commit
99954f3f64
34
multimedia/xvidcore/Makefile
Normal file
34
multimedia/xvidcore/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/10/25 16:56:44 naddy Exp $
|
||||
|
||||
COMMENT= "ISO MPEG-4 compliant video codec"
|
||||
|
||||
DISTNAME= xvidcore-1.0.2
|
||||
CATEGORIES= multimedia
|
||||
|
||||
HOMEPAGE= http://www.xvid.org/
|
||||
|
||||
MAINTAINER= Waldemar Brodkorb <wbx@openbsd.de>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://files.xvid.org/downloads/
|
||||
|
||||
WRKBUILD= ${WRKSRC}/build/generic
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --disable-assembly
|
||||
|
||||
.if ${MACHINE_ARCH} == "vax" || ${MACHINE_ARCH} == "m88k"
|
||||
MAKE_FLAGS+= SHARED_LIB=""
|
||||
.endif
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKBUILD}/=build/libxvidcore.* ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/src/xvid.h ${PREFIX}/include
|
||||
|
||||
.include <bsd.port.mk>
|
3
multimedia/xvidcore/distinfo
Normal file
3
multimedia/xvidcore/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (xvidcore-1.0.2.tar.gz) = a3464b7b48cc8f700242067f95b47fcd
|
||||
RMD160 (xvidcore-1.0.2.tar.gz) = 5f08f577a4f8d9b783035d7f86ce547205e83a2f
|
||||
SHA1 (xvidcore-1.0.2.tar.gz) = 32ac7e9cd63e4d248da80f1bcf7c0464ccd5e1c1
|
48
multimedia/xvidcore/patches/patch-build_generic_Makefile
Normal file
48
multimedia/xvidcore/patches/patch-build_generic_Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
$OpenBSD: patch-build_generic_Makefile,v 1.1.1.1 2004/10/25 16:56:44 naddy Exp $
|
||||
--- build/generic/Makefile.orig Sun Jun 6 01:12:43 2004
|
||||
+++ build/generic/Makefile Sun Jul 18 02:54:38 2004
|
||||
@@ -44,6 +44,7 @@ include sources.inc
|
||||
include platform.inc
|
||||
|
||||
RM = rm -rf
|
||||
+INSTALL = install -c
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
@@ -91,7 +92,7 @@ $(BUILD_DIR):
|
||||
.$(ASSEMBLY_EXTENSION).$(OBJECT_EXTENSION):
|
||||
@echo " A: $(@D)/$(<F)"
|
||||
@$(INSTALL) -d $(BUILD_DIR)/$(@D)
|
||||
- @$(AS) $(AFLAGS) $< -o $(BUILD_DIR)/$@
|
||||
+ $(AS) $(AFLAGS) $< -o $(BUILD_DIR)/$@
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Generic C rule
|
||||
@@ -100,7 +101,7 @@ $(BUILD_DIR):
|
||||
.c.$(OBJECT_EXTENSION):
|
||||
@echo " C: $(@D)/$(<F)"
|
||||
@$(INSTALL) -d $(BUILD_DIR)/$(@D)
|
||||
- @$(CC) -c $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS) $(CFLAGS) $< -o $(BUILD_DIR)/$@
|
||||
+ $(CC) -c $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS) $(CFLAGS) $< -o $(BUILD_DIR)/$@
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Static Library
|
||||
@@ -108,7 +109,7 @@ $(BUILD_DIR):
|
||||
|
||||
$(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)
|
||||
@echo " L: $(@F)"
|
||||
- @cd $(BUILD_DIR) && ar rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)
|
||||
+ cd $(BUILD_DIR) && ar rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Shared Library
|
||||
@@ -127,8 +128,7 @@ $(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)
|
||||
|
||||
$(SHARED_LIB): $(BUILD_DIR) $(OBJECTS)
|
||||
@echo " L: $(@F)"
|
||||
- @$(INSTALL) -m 644 libxvidcore.def $(BUILD_DIR)/libxvidcore.def
|
||||
- @cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) $(SPECIFIC_LDFLAGS)
|
||||
+ cd $(BUILD_DIR) && $(CC) -fPIC $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) $(SPECIFIC_LDFLAGS)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Installation
|
2
multimedia/xvidcore/pkg/DESCR
Normal file
2
multimedia/xvidcore/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
XviD is a high performance and high quality MPEG-4 video de-/encoding
|
||||
solution.
|
2
multimedia/xvidcore/pkg/PFRAG.shared
Normal file
2
multimedia/xvidcore/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/10/25 16:56:44 naddy Exp $
|
||||
@lib lib/libxvidcore.so.4.0
|
4
multimedia/xvidcore/pkg/PLIST
Normal file
4
multimedia/xvidcore/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/10/25 16:56:44 naddy Exp $
|
||||
include/xvid.h
|
||||
lib/libxvidcore.a
|
||||
%%SHARED%%
|
Loading…
Reference in New Issue
Block a user