mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
- configure --with-drm
- Makefile cleanup - Pass maintainership to submitter PR: ports/66543 Submitted by: michael johnson <ahze@ahze.net> Approved by: maintainer
This commit is contained in:
parent
1b7c00a739
commit
cfe6265d5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109003
@ -7,13 +7,13 @@
|
||||
|
||||
PORTNAME= faad2
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= faac
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-rc3
|
||||
|
||||
MAINTAINER= sean@sfarc.net
|
||||
MAINTAINER= ahze@ahze.net
|
||||
COMMENT= A LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder
|
||||
|
||||
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile
|
||||
@ -22,16 +22,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USE_AUTOMAKE_VER= 15
|
||||
USE_AUTOHEADER= yes
|
||||
USE_AUTOHEADER= yes
|
||||
AUTOMAKE_ARGS= --add-missing
|
||||
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_GETOPT_LONG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL_VER= 13
|
||||
USE_REINPLACE= yes
|
||||
|
||||
CONFIGURE_ARGS= --program-transform-name='' --with-mp4v2
|
||||
CONFIGURE_ARGS= --with-mp4v2 --with-drm
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
||||
|
||||
@ -44,6 +43,8 @@ post-patch:
|
||||
# pre-configure will not work since *AUTO* tools happen in-between
|
||||
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
|
||||
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
|
||||
@${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
|
||||
${WRKSRC}/aclocal.m4
|
||||
# CFLAGS safeness
|
||||
@${FIND} ${WRKSRC} -type f -name Makefile.am | \
|
||||
${XARGS} -n 5 -x \
|
||||
@ -57,8 +58,4 @@ post-configure:
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= --build=${CONFIGURE_TARGET}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (faad2-2.0-rc3.tar.gz) = 0080076438655ed7facf1089a9805aff
|
||||
SIZE (faad2-2.0-rc3.tar.gz) = 704005
|
||||
|
Loading…
Reference in New Issue
Block a user