diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-09-19 15:36:04 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2011-09-19 15:36:04 +0000 |
commit | 3a4b75544031e0ebc51e74ca2c09c374b1cabb22 (patch) | |
tree | bc820a24363e42e83b69da416fb39ca13a07c45c /multimedia | |
parent | 88d17ea820674c44e9ce150039ac715d42b7c644 (diff) | |
download | ports-3a4b75544031e0ebc51e74ca2c09c374b1cabb22.tar.gz ports-3a4b75544031e0ebc51e74ca2c09c374b1cabb22.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libvpx/Makefile | 12 | ||||
-rw-r--r-- | multimedia/libvpx/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libvpx/files/patch-libs.mk | 16 | ||||
-rw-r--r-- | multimedia/libvpx/pkg-plist | 3 |
4 files changed, 29 insertions, 6 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index f9af81618e55..8df617216034 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -6,10 +6,10 @@ # PORTNAME= libvpx -PORTVERSION= 0.9.6 +PORTVERSION= 0.9.7 CATEGORIES= multimedia MASTER_SITES= GOOGLE_CODE -DISTNAME= ${PORTNAME}-v${PORTVERSION} +DISTNAME= ${PORTNAME}-v${PORTVERSION}-p1 MAINTAINER= ashish@FreeBSD.org COMMENT= VP8 Codec SDK @@ -35,7 +35,7 @@ OPTIONS= DEBUG "Enable debugging" OFF \ SHARED "Enable shared-library support" ON ALL_TARGET= -CONFIGURE_ARGS+= --enable-pic --disable-install-srcs --enable-vp8 +CONFIGURE_ARGS+= --enable-pic --disable-install-srcs --enable-vp8 --disable-install-docs MAKE_ARGS+= DIST_DIR=${PREFIX} verbose=yes .include <bsd.port.options.mk> @@ -71,11 +71,17 @@ CONFIGURE_ARGS+= --target=x86_64-linux-gcc CONFIGURE_ARGS+= --target=x86-linux-gcc .elif ${ARCH} == "ia64" CONFIGURE_ARGS+= --target=ia64-linux-gcc +.elif ${ARCH} == "powerpc" +CONFIGURE_ARGS+= --target=ppc32-linux-gcc +.elif ${ARCH} == "powerpc64" +CONFIGURE_ARGS+= --target=ppc64-linux-gcc .else IGNORE= no support for ${ARCH} the moment. testing/patches are welcome .endif post-patch: + @${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \ + ${WRKSRC}/build/make/configure.sh @${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,g' .if ${OSVERSION} < 700000 diff --git a/multimedia/libvpx/distinfo b/multimedia/libvpx/distinfo index 81e9b9989a0a..8fd361d32684 100644 --- a/multimedia/libvpx/distinfo +++ b/multimedia/libvpx/distinfo @@ -1,2 +1,2 @@ -SHA256 (libvpx-v0.9.6.tar.bz2) = 28bd8a8ef216fb570912f0d378668051d99681bf13735b59e68a12ad79f2aa73 -SIZE (libvpx-v0.9.6.tar.bz2) = 1230418 +SHA256 (libvpx-v0.9.7-p1.tar.bz2) = 074583d46955d406cf63c6a8d0d5b0a75c2b98128e6d425ab481f57612e291f0 +SIZE (libvpx-v0.9.7-p1.tar.bz2) = 1244783 diff --git a/multimedia/libvpx/files/patch-libs.mk b/multimedia/libvpx/files/patch-libs.mk new file mode 100644 index 000000000000..7249b76bce53 --- /dev/null +++ b/multimedia/libvpx/files/patch-libs.mk @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- libs.mk.orig ++++ libs.mk +@@ -242,8 +242,8 @@ + $(qexec)echo 'Conflicts:' >> $@ + $(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@ + $(qexec)echo 'Cflags: -I$${includedir}' >> $@ +-INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc +-INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc ++INSTALL-LIBS-yes += libdata/pkgconfig/vpx.pc ++INSTALL_MAPS += libdata/pkgconfig/%.pc %.pc + CLEAN-OBJS += vpx.pc + endif + diff --git a/multimedia/libvpx/pkg-plist b/multimedia/libvpx/pkg-plist index b1dc24453c21..d8a72498b130 100644 --- a/multimedia/libvpx/pkg-plist +++ b/multimedia/libvpx/pkg-plist @@ -13,8 +13,9 @@ include/vpx/vpx_encoder.h include/vpx/vpx_image.h include/vpx/vpx_integer.h lib/libvpx.a +libdata/pkgconfig/vpx.pc %%SHARED%%lib/libvpx.so %%SHARED%%lib/libvpx.so.0 %%SHARED%%lib/libvpx.so.0.9 -%%SHARED%%lib/libvpx.so.0.9.6 +%%SHARED%%lib/libvpx.so.0.9.7 @dirrm include/vpx |