[arch-commits] Commit in lib32-opus/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Fri Feb 11 22:58:33 UTC 2022


    Date: Friday, February 11, 2022 @ 22:58:32
  Author: heftig
Revision: 1132277

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-opus/repos/multilib-x86_64/PKGBUILD
    (from rev 1132276, lib32-opus/trunk/PKGBUILD)
Deleted:
  lib32-opus/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 41 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-11 22:58:07 UTC (rev 1132276)
+++ PKGBUILD	2022-02-11 22:58:32 UTC (rev 1132277)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: farwayer <farwayer [at] gmail [dot] com>
-
-pkgname=lib32-opus
-pkgver=1.3.1
-pkgrel=1
-pkgdesc="Totally open, royalty-free, highly versatile audio codec (32-bit)"
-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)
-sha256sums=('65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d')
-
-build() {
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-  
-  cd opus-$pkgver
-  ./configure --prefix=/usr --disable-static --libdir=/usr/lib32 --enable-custom-modes
-  make
-}
-
-check() {
-  cd opus-$pkgver
-  make check
-}
-
-package() {
-  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"
-}

Copied: lib32-opus/repos/multilib-x86_64/PKGBUILD (from rev 1132276, lib32-opus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-11 22:58:32 UTC (rev 1132277)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: farwayer <farwayer [at] gmail [dot] com>
+
+pkgname=lib32-opus
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Totally open, royalty-free, highly versatile audio codec (32-bit)"
+url="https://www.opus-codec.org/"
+arch=(x86_64)
+license=(BSD)
+depends=(lib32-glibc opus)
+source=(https://archive.mozilla.org/pub/opus/opus-$pkgver.tar.gz)
+sha256sums=('65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d')
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+  
+  cd opus-$pkgver
+  ./configure --prefix=/usr --disable-static --libdir=/usr/lib32 --enable-custom-modes
+  make
+}
+
+check() {
+  cd opus-$pkgver
+  make check
+}
+
+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