[arch-commits] Commit in lib32-opus/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Fri Feb 11 22:57:18 UTC 2022
Date: Friday, February 11, 2022 @ 22:57:18
Author: heftig
Revision: 1132274
1.3.1-2: FS#73472: Add libprovides
Modified:
lib32-opus/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-11 22:57:17 UTC (rev 1132273)
+++ PKGBUILD 2022-02-11 22:57:18 UTC (rev 1132274)
@@ -3,10 +3,10 @@
pkgname=lib32-opus
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Totally open, royalty-free, highly versatile audio codec (32-bit)"
+url="https://www.opus-codec.org/"
arch=(x86_64)
-url="https://www.opus-codec.org/"
license=(BSD)
depends=(lib32-glibc opus)
source=(https://archive.mozilla.org/pub/opus/opus-$pkgver.tar.gz)
@@ -15,7 +15,7 @@
build() {
export CC='gcc -m32'
export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
cd opus-$pkgver
./configure --prefix=/usr --disable-static --libdir=/usr/lib32 --enable-custom-modes
@@ -28,9 +28,14 @@
}
package() {
+ provides=(libopus.so)
+
cd opus-$pkgver
make DESTDIR="$pkgdir" install
+
rm -r "$pkgdir"/usr/{include,share}
install -d "$pkgdir/usr/share/licenses"
ln -s opus "$pkgdir/usr/share/licenses/$pkgname"
}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list