aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-10 20:30:14 +0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-11 04:58:57 +0000
commitd26b9b0b9da70da63bcb53f68ea1650f44760d1f (patch)
tree10d48f4cd7b3b844800a623ca403ca74395b80b6
parent68af0a637a54630f5e250277a70039f0fcaeebd2 (diff)
downloadaports-d26b9b0b9da70da63bcb53f68ea1650f44760d1f.tar.gz
aports-d26b9b0b9da70da63bcb53f68ea1650f44760d1f.tar.bz2
aports-d26b9b0b9da70da63bcb53f68ea1650f44760d1f.tar.xz
main/speexdsp: upgrade to 1.2.0
* Switch `source` to https. Closes GH-8722
-rw-r--r--main/speexdsp/APKBUILD14
-rw-r--r--main/speexdsp/speexdsp-fixbuilds-774c87d.patch36
2 files changed, 5 insertions, 45 deletions
diff --git a/main/speexdsp/APKBUILD b/main/speexdsp/APKBUILD
index 5d04ac37d6..f54c4caf85 100644
--- a/main/speexdsp/APKBUILD
+++ b/main/speexdsp/APKBUILD
@@ -1,8 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=speexdsp
-pkgver=1.2_rc3
-_ver=${pkgver%_*}${pkgver#*_}
-pkgrel=5
+pkgver=1.2.0
+pkgrel=0
pkgdesc="A voice compression format (DSP)"
url="https://www.speex.org/"
arch="all"
@@ -13,11 +12,9 @@ makedepends="autoconf automake libtool"
install=
subpackages="$pkgname-dev $pkgname-doc"
replaces="libspeex"
-source="http://downloads.xiph.org/releases/speex/speexdsp-$_ver.tar.gz
- speexdsp-fixbuilds-774c87d.patch
- "
+source="https://downloads.xiph.org/releases/speex/speexdsp-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$_ver
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
default_prepare
@@ -45,5 +42,4 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="29dfa8345df025eeb076561648a9b5c0485692be699b6da3c2a3734b4329187a1c2eb181252f4df12b21f1309ecdf59797437dfb123d160fd723491ab216e858 speexdsp-1.2rc3.tar.gz
-0f0c8054591915a4ea06b28b13d50da41be10d594f39a0496e2e80e4514ed53db7cd0e1fdb205ce5e87f602b9c1e15409c33cf946ab25cdef8a3b147dbfcc0f3 speexdsp-fixbuilds-774c87d.patch"
+sha512sums="e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec speexdsp-1.2.0.tar.gz"
diff --git a/main/speexdsp/speexdsp-fixbuilds-774c87d.patch b/main/speexdsp/speexdsp-fixbuilds-774c87d.patch
deleted file mode 100644
index c02ee29bd7..0000000000
--- a/main/speexdsp/speexdsp-fixbuilds-774c87d.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-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;