celt051: removed

This commit is contained in:
beefcurtains 2015-06-14 02:47:21 +00:00
parent 400daef358
commit 05cd51c1e1
3 changed files with 0 additions and 47 deletions

View file

@ -1 +0,0 @@
celt051

View file

@ -1,20 +0,0 @@
--- libcelt/ecintrin.h
+++ 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)

View file

@ -1,26 +0,0 @@
# Template file for 'celt051'
pkgname=celt051
version=0.5.1.3
revision=7
wrksrc="celt-${version}"
build_style=gnu-configure
configure_args="--with-ogg=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="An audio codec for use in low-delay speech and audio communication"
homepage="http://www.celt-codec.org/"
license="BSD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://downloads.us.xiph.org/releases/celt/celt-${version}.tar.gz"
checksum=fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e
celt051-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}