mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
AVbin is a thin wrapper around FFmpeg, providing binary compatibility
for applications and languages that need it WWW: http://code.google.com/p/avbin/
This commit is contained in:
parent
3415939d30
commit
0a643c9d20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231568
@ -8,6 +8,7 @@
|
||||
SUBDIR += atomicparsley
|
||||
SUBDIR += audacious
|
||||
SUBDIR += audacious-plugins
|
||||
SUBDIR += avbin
|
||||
SUBDIR += avidemux2
|
||||
SUBDIR += avifile
|
||||
SUBDIR += avinfo
|
||||
|
48
multimedia/avbin/Makefile
Normal file
48
multimedia/avbin/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: avbin
|
||||
# Date created: 03 Apr 2009
|
||||
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= avbin
|
||||
PORTVERSION= 7
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
||||
http://mirror.amdmi3.ru/
|
||||
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= FFmpeg wrapper
|
||||
|
||||
LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
|
||||
|
||||
LIBNAME= libavbin.so.${PORTVERSION}
|
||||
PLIST_FILES= lib/${LIBNAME} include/avbin.h
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} -shared -soname ${LIBNAME} -o ${LIBNAME} \
|
||||
src/avbin.c -Iinclude -I${LOCALBASE}/include \
|
||||
-DAVBIN_VERSION=${PORTVERSION} -DFFMPEG_REVISION=0 \
|
||||
-L${LOCALBASE}/lib -lavcodec -lavformat
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${PREFIX}/include
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
multimedia/avbin/distinfo
Normal file
3
multimedia/avbin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (avbin-src-7.tar.gz) = 9c08f4f6e778021dcd154e11fd0f79ad
|
||||
SHA256 (avbin-src-7.tar.gz) = 3f10835e599bed8c9831ce9a04b3ff3f65866cae67ae7010c9d8a10528c651a2
|
||||
SIZE (avbin-src-7.tar.gz) = 63378
|
10
multimedia/avbin/files/patch-include-avbin.h
Normal file
10
multimedia/avbin/files/patch-include-avbin.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- include/avbin.h.orig 2008-09-21 10:45:33.000000000 +0400
|
||||
+++ include/avbin.h 2009-04-03 06:49:52.000000000 +0400
|
||||
@@ -69,6 +69,7 @@
|
||||
#define AVBIN_H
|
||||
|
||||
#include <stdint.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
/**
|
||||
* Error-checked function result.
|
4
multimedia/avbin/pkg-descr
Normal file
4
multimedia/avbin/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
AVbin is a thin wrapper around FFmpeg, providing binary compatibility
|
||||
for applications and languages that need it
|
||||
|
||||
WWW: http://code.google.com/p/avbin/
|
Loading…
Reference in New Issue
Block a user