Merge pull request #2832 from alihanozturk/master
speexdsp:First release speex:add dep index
This commit is contained in:
@@ -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))
|
||||
@@ -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>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
options = "--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
# ogg only affects the executables so it's safe to disable for emul32
|
||||
options += " --libdir=/usr/lib32"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
|
||||
autotools.autoreconf("-vi")
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*")
|
||||
@@ -0,0 +1,36 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2cd2d1e..1de0c23 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
|
||||
AC_SUBST([SIZE32])
|
||||
AC_SUBST([USIZE32])
|
||||
|
||||
+AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"],
|
||||
+ [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include <inttypes.h>"],
|
||||
+ [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>"])
|
||||
+
|
||||
+AC_SUBST([INCLUDE_STDINT])
|
||||
+
|
||||
AC_CONFIG_FILES([
|
||||
Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec
|
||||
include/Makefile include/speex/Makefile speexdsp.pc
|
||||
diff --git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in
|
||||
index 02b82fd..5ea7b55 100644
|
||||
--- a/include/speex/speexdsp_config_types.h.in
|
||||
+++ b/include/speex/speexdsp_config_types.h.in
|
||||
@@ -1,13 +1,7 @@
|
||||
#ifndef __SPEEX_TYPES_H__
|
||||
#define __SPEEX_TYPES_H__
|
||||
|
||||
-#if defined HAVE_STDINT_H
|
||||
-# include <stdint.h>
|
||||
-#elif defined HAVE_INTTYPES_H
|
||||
-# include <inttypes.h>
|
||||
-#elif defined HAVE_SYS_TYPES_H
|
||||
-# include <sys/types.h>
|
||||
-#endif
|
||||
+@INCLUDE_STDINT@
|
||||
|
||||
typedef @SIZE16@ spx_int16_t;
|
||||
typedef @USIZE16@ spx_uint16_t;
|
||||
@@ -0,0 +1,71 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>speexdsp</Name>
|
||||
<Homepage>https://www.speex.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>DSP library derived from Speex.</Summary>
|
||||
<Description>DSP library derived from Speex</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="818403a21ec428feb39fe58f6cb6836d595e639b" type="targz">http://downloads.xiph.org/releases/speex/speexdsp-1.2rc3.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">speexdsp-fixbuilds-774c87d.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>speexdsp</Name>
|
||||
<Summary>DSP library derived from Speex.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libspeexdsp*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>speexdsp-devel</Name>
|
||||
<Summary>Development files for speexdsp</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">speexdsp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>speexdsp-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for speexdsp</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">speexdsp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/libspeexdsp*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-02-17</Date>
|
||||
<Version>1.2_rc3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+118751
-118544
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
c1d0f192f9e8398d361517ae43ec3648883f3708
|
||||
7eceea511e42c884658ccc794aac9c3c4c22f4aa
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
0c206ce3c4e1a4cd27bd0eb2c72c09ff89c0baf0
|
||||
3e762f6ea105afa286b348cd7a237ddd73656f51
|
||||
Reference in New Issue
Block a user