mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/celt051: remove
not used by anything since commit 409d46bd (community/spice-gtk: upgrade to 0.35)
This commit is contained in:
parent
7828e4774d
commit
595bbf29de
@ -1,54 +0,0 @@
|
||||
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=celt051
|
||||
pkgver=0.5.1.3
|
||||
pkgrel=0
|
||||
pkgdesc="An audio codec for use in low-delay speech and audio communication"
|
||||
url="http://www.celt-codec.org/"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
depends=""
|
||||
makedepends="libogg-dev"
|
||||
install=""
|
||||
subpackages="$pkgname-dev"
|
||||
source="http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz
|
||||
fix-gnuc-prereq.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/celt-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
update_config_sub || return 1
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--localstatedir=/var \
|
||||
|| return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
}
|
||||
|
||||
md5sums="67e7b5e45db57a6f1f0a6962f5ecb190 celt-0.5.1.3.tar.gz
|
||||
c06dbc5c4867cbaf1163ac9bf709aea6 fix-gnuc-prereq.patch"
|
||||
sha256sums="fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e celt-0.5.1.3.tar.gz
|
||||
a4002f49a3e6856eae52d42b9c2d73a247581376ec8b2370b2d33cb4c9f211b4 fix-gnuc-prereq.patch"
|
||||
sha512sums="bf5621dc3ec1b0808bdd83f006fd7b88df1b6caffe07e18eb696c268b31c6c7127329ecb4c9582c44e0ecf9577bbe2f3dbe40f15b80f8681bb7f4115f1501921 celt-0.5.1.3.tar.gz
|
||||
11008485bcf5dc61c107045c7ae292aa1296e54fc53ef835b58c38128f878af4021d14098ef87db9bf7e3162fac41739efa1522aa206c1a592244c57aa043663 fix-gnuc-prereq.patch"
|
||||
@ -1,20 +0,0 @@
|
||||
--- celt-0.5.1.3.orig/libcelt/ecintrin.h
|
||||
+++ celt-0.5.1.3/libcelt/ecintrin.h
|
||||
@@ -52,8 +52,7 @@
|
||||
/*Count leading zeros.
|
||||
This macro should only be used for implementing ec_ilog(), if it is defined.
|
||||
All other code should use EC_ILOG() instead.*/
|
||||
-#ifdef __GNUC_PREREQ
|
||||
-#if __GNUC_PREREQ(3,4)
|
||||
+#if defined(__GNUC__) && ((__GNUC__<<16)+__GNUC_MINOR__) >= 0x304
|
||||
# if INT_MAX>=2147483647
|
||||
# define EC_CLZ0 sizeof(unsigned)*CHAR_BIT
|
||||
# define EC_CLZ(_x) (__builtin_clz(_x))
|
||||
@@ -61,7 +60,6 @@
|
||||
# define EC_CLZ0 sizeof(unsigned long)*CHAR_BIT
|
||||
# define EC_CLZ(_x) (__builtin_clzl(_x))
|
||||
# endif
|
||||
-#endif
|
||||
#endif
|
||||
|
||||
#if defined(EC_CLZ)
|
||||
Loading…
x
Reference in New Issue
Block a user