mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 04:37:21 +08:00
update lib32-{libvorbis/speex/speexdsp}
This commit is contained in:
parent
2062eb3c75
commit
0aa0e2dc6b
@ -6,13 +6,12 @@
|
||||
_pkgbasename=libvorbis
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.3.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Vorbis codec library (32-bit)"
|
||||
arch=('x86_64')
|
||||
license=('custom')
|
||||
url="http://www.xiph.org/ogg/vorbis/"
|
||||
depends=('lib32-libogg' $_pkgbasename=$pkgver)
|
||||
provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
|
||||
makedepends=(gcc-multilib)
|
||||
source=(http://downloads.xiph.org/releases/vorbis/${_pkgbasename}-${pkgver}.tar.gz)
|
||||
md5sums=('7220e089f3be3412a2317d6fde9e3944')
|
||||
|
@ -5,35 +5,38 @@
|
||||
|
||||
_pkgbasename=speex
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.2rc1
|
||||
<<<<<<< HEAD
|
||||
pkgrel=2
|
||||
=======
|
||||
pkgrel=3
|
||||
>>>>>>> 600514ebcaaf80d91da28d7572f7905dbeed7b0a
|
||||
pkgver=1.2rc2
|
||||
pkgrel=1
|
||||
pkgdesc="A free codec for free speech (32-bit)"
|
||||
arch=(x86_64)
|
||||
license=('BSD')
|
||||
depends=('lib32-libogg' $_pkgbasename=$pkgver)
|
||||
makedepends=(gcc-multilib)
|
||||
options=('!libtool')
|
||||
source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
|
||||
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
|
||||
url="http://www.speex.org/"
|
||||
license=('BSD')
|
||||
depends=('lib32-libogg' 'lib32-speexdsp' $_pkgbasename=$pkgver)
|
||||
makedepends=(gcc-multilib)
|
||||
source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
|
||||
md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
|
||||
|
||||
build() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
cd $_pkgbasename-$pkgver
|
||||
|
||||
export CC="gcc -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libdir=/usr/lib32
|
||||
--libdir=/usr/lib32 \
|
||||
--enable-binaries # Must be given or configure won't use pkg-config correctly
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
check() {
|
||||
cd $_pkgbasename-$pkgver
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgbasename-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
mkdir -p "$pkgdir/usr/share/licenses"
|
||||
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
38
lib32-speexdsp/PKGBUILD
Normal file
38
lib32-speexdsp/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# arch contriubtor: https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/lib32-speexdsp
|
||||
|
||||
_pkgbasename=speexdsp
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.2rc3
|
||||
pkgrel=1
|
||||
pkgdesc="DSP library derived from Speex (32-bit)"
|
||||
arch=(x86_64)
|
||||
url="http://www.speex.org/"
|
||||
license=(BSD)
|
||||
depends=(lib32-glibc $_pkgbasename=$pkgver)
|
||||
makedepends=(gcc-multilib)
|
||||
source=(http://downloads.us.xiph.org/releases/speex/$_pkgbasename-$pkgver.tar.gz)
|
||||
sha256sums=('4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1')
|
||||
|
||||
build() {
|
||||
cd $_pkgbasename-$pkgver
|
||||
|
||||
export CC="gcc -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
|
||||
--libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $_pkgbasename-$pkgver
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgbasename-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
rm -rf "${pkgdir}"/usr/{include,share}
|
||||
mkdir -p "$pkgdir/usr/share/licenses"
|
||||
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
Loading…
Reference in New Issue
Block a user