This installs mp4ff headers required for a new mpd version.

I've already made such a patch some time ago, but there have been some
tears because it broke audacious-plugins. This happend because faad
doesn't install mp4ff properly, and instead of fixing it, everyone
thinks it's a good idea to ship their own bastardized version of faad.

audacious-plugins builds with this change now, but please test!

Tobias

Index: Makefile
===================================================================
RCS file: /nfs/titan/data0/cvs/openbsd/ports/audio/faad/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile    10 Aug 2009 06:29:52 -0000      1.39
+++ Makefile    6 Sep 2009 00:58:26 -0000
@@ -4,7 +4,7 @@ COMMENT-main=   MPEG-2 and MPEG-4 AAC deco
 COMMENT-xmms=  XMMS input plugin for AAC files
 V=             2.6.1
 DISTNAME=      faad2-${V}
-PKGNAME-main=  faad-${V}
+PKGNAME-main=  faad-${V}p0
 PKGNAME-xmms=  faad-xmms-${V}p0
 CATEGORIES=            audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
@@ -66,5 +66,7 @@ post-configure:
 
 post-install:
        @${INSTALL_DATA} ${WRKSRC}/faadconfig.h ${PREFIX}/include
+       @${INSTALL_DATA} ${WRKSRC}/common/mp4ff/mp4ff.h ${PREFIX}/include
+       @${INSTALL_DATA} ${WRKSRC}/common/mp4ff/mp4ff_int_types.h 
${PREFIX}/include
 
 .include <bsd.port.mk>
Index: pkg/PLIST-main
===================================================================
RCS file: /nfs/titan/data0/cvs/openbsd/ports/audio/faad/pkg/PLIST-main,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST-main
--- pkg/PLIST-main      15 Sep 2008 21:58:19 -0000      1.2
+++ pkg/PLIST-main      6 Sep 2009 01:17:15 -0000
@@ -6,6 +6,8 @@
 @bin bin/faad
 include/faad.h
 include/faadconfig.h
+include/mp4ff.h
+include/mp4ff_int_types.h
 include/neaacdec.h
 lib/libfaad.a
 lib/libfaad.la

Reply via email to