speex:add dep

This commit is contained in:
alihanozturk
2017-02-17 11:46:54 +03:00
parent 82a60255dc
commit 6fd7eab201
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,11 @@
--- speex-1.2.0/configure.ac.orig 2016-12-08 00:20:14.000000000 +0100
+++ speex-1.2.0/configure.ac 2016-12-18 18:08:22.364596212 +0100
@@ -167,7 +167,7 @@
fi])
AC_ARG_ENABLE(binaries, [ --disable-binaries Do not build the encoder and decoder programs, only the library])
-if test "$enableval" != no; then
+if test "$enable_binaries" != no; then
PKG_CHECK_MODULES([OGG], [ogg],
AM_CONDITIONAL([BUILD_BINARIES], true),
AM_CONDITIONAL([BUILD_BINARIES], false))
+5
View File
@@ -15,8 +15,10 @@
<Archive sha1sum="18ebc3fa3236b4369509e9439acc32d0e864fa7f" type="targz">http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>libogg-devel</Dependency>
<Dependency>speexdsp-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">speex-ac.patch</Patch>
<!-- <Patch level="1">constant.patch</Patch> -->
<!-- <Patch level="1">configure.patch</Patch> -->
</Patches>
@@ -55,9 +57,12 @@
<Summary>32-bit shared libraries for speex</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libogg-32bit</Dependency>
<Dependency>speexdsp-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">speex</Dependency>
<Dependency>libogg-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>