Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=954673e2afaf1c43d9e1b70a89882f415d4a17b0
commit 954673e2afaf1c43d9e1b70a89882f415d4a17b0 Author: bouleetbil <bouleet...@frogdev.info> Date: Wed Jul 20 11:03:26 2011 +0200 libvpx-0.9.6-2-x86_64 *fix shared lib diff --git a/source/lib-extra/libvpx/FrugalBuild b/source/lib-extra/libvpx/FrugalBuild index 9ca5323..18eb208 100644 --- a/source/lib-extra/libvpx/FrugalBuild +++ b/source/lib-extra/libvpx/FrugalBuild @@ -3,7 +3,7 @@ pkgname=libvpx pkgver=0.9.6 -pkgrel=1 +pkgrel=2 pkgdesc="WebM VP8 Codec SDK" depends=('yasm') groups=('lib-extra') @@ -14,6 +14,10 @@ _F_googlecode_dirname=webm Finclude googlecode export CFLAGS="$CFLAGS -fPIC" export CXXFLAGS="$CXXFLAGS -fPIC" -sha1sums=('a3522bd2b73d52381ba767ded1cbf4760e9cc6f8') +source=($source shared.diff) +sha1sums=('a3522bd2b73d52381ba767ded1cbf4760e9cc6f8' \ + '4be26baed5d133b7db742364ba0bf385b0b8d206') +Fconfopts="$Fconfopts --enable-vp8 \ + --enable-shared" # optimization OK diff --git a/source/lib-extra/libvpx/shared.diff b/source/lib-extra/libvpx/shared.diff new file mode 100644 index 0000000..c2267d3 --- /dev/null +++ b/source/lib-extra/libvpx/shared.diff @@ -0,0 +1,19 @@ +http://bugs.gentoo.org/351496 +http://patch-tracker.debian.org/patch/series/view/libvpx/0.9.5-1/01_enable-shared.patch + +--- configure ++++ configure +@@ -415,12 +415,6 @@ + } + + process_detect() { +- if enabled shared; then +- # Can only build shared libs on a subset of platforms. Doing this check +- # here rather than at option parse time because the target auto-detect +- # magic happens after the command line has been parsed. +- enabled linux || die "--enable-shared only supported on ELF for now" +- fi + if [ -z "$CC" ]; then + echo "Bypassing toolchain for environment detection." + enable external_build + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git