mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
Fixed OpenAL (32-bit) and rebuilt the dependant packages.
This commit is contained in:
parent
d7ddd3a9e3
commit
1793c58567
@ -8,7 +8,7 @@
|
||||
_pkgbasename=openal
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.14
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="OpenAL audio library for use with opengl (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="http://www.openal.org/"
|
||||
@ -25,7 +25,11 @@ build() {
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
cd ${srcdir}/${_pkgbasename}-soft-${pkgver}/build
|
||||
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D LIB_INSTALL_DIR=/usr/lib32 ..
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIB_SUFFIX=32 \
|
||||
..
|
||||
make
|
||||
}
|
||||
|
||||
@ -33,7 +37,10 @@ package() {
|
||||
cd ${srcdir}/${_pkgbasename}-soft-${pkgver}/build
|
||||
make DESTDIR=${pkgdir}/ install
|
||||
|
||||
# Remove files already provided by the 64-bit package.
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
|
||||
# Licenses.
|
||||
mkdir -p "$pkgdir/usr/share/licenses"
|
||||
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
_pkgbasename=wine
|
||||
pkgname=wine-rawinput
|
||||
pkgver=1.5.11
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
|
||||
_pkgbasever=${pkgver/rc/-rc}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=wine
|
||||
pkgver=1.5.11
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
|
||||
_pkgbasever=${pkgver/rc/-rc}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user