[arch-commits] Commit in lib32-celt/repos/multilib-x86_64 (4 files)

Jan Steffens heftig at archlinux.org
Fri May 8 10:00:17 UTC 2020


    Date: Friday, May 8, 2020 @ 10:00:16
  Author: heftig
Revision: 625584

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-celt/repos/multilib-x86_64/.contrib
    (from rev 625582, lib32-celt/trunk/.contrib)
  lib32-celt/repos/multilib-x86_64/PKGBUILD
    (from rev 625582, lib32-celt/trunk/PKGBUILD)
Deleted:
  lib32-celt/repos/multilib-x86_64/.contrib
  lib32-celt/repos/multilib-x86_64/PKGBUILD

----------+
 .contrib |    4 +-
 PKGBUILD |   88 +++++++++++++++++++++++++++++++++----------------------------
 2 files changed, 50 insertions(+), 42 deletions(-)

Deleted: .contrib
===================================================================
--- .contrib	2020-05-08 10:00:15 UTC (rev 625583)
+++ .contrib	2020-05-08 10:00:16 UTC (rev 625584)
@@ -1,2 +0,0 @@
-Contributor: Thomas Dziedzic < gostrc at gmail >
-Contributor: Lauri Niskanen <ape at ape3000.com>

Copied: lib32-celt/repos/multilib-x86_64/.contrib (from rev 625582, lib32-celt/trunk/.contrib)
===================================================================
--- .contrib	                        (rev 0)
+++ .contrib	2020-05-08 10:00:16 UTC (rev 625584)
@@ -0,0 +1,2 @@
+Contributor: Thomas Dziedzic < gostrc at gmail >
+Contributor: Lauri Niskanen <ape at ape3000.com>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 10:00:15 UTC (rev 625583)
+++ PKGBUILD	2020-05-08 10:00:16 UTC (rev 625584)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: see .contrib
-
-_realname=celt
-pkgname=lib32-$_realname
-pkgver=0.11.3
-pkgrel=3
-pkgdesc='Low-latency audio communication codec (32 bit)'
-arch=('x86_64')
-url='http://www.celt-codec.org'
-license=('BSD')
-depends=('lib32-glibc' "$_realname=$pkgver")
-makedepends=('gcc-multilib')
-source=("http://downloads.xiph.org/releases/$_realname/$_realname-$pkgver.tar.gz")
-sha512sums=('1f7b8c9b0fcb3a31ba81c220f89fb15173f6e7a25f8fa9d6669790cf29cccb5f75fb37a9f41c76bec5e8d8b9de47d65949831d5a843dcffb2f0747801a8c9bde')
-
-build() {
-  cd "$srcdir/$_realname-$pkgver"
-
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static
-  make -C libcelt
-}
-
-package() {
-  cd "$srcdir/$_realname-$pkgver"
-
-  make DESTDIR="$pkgdir" install-pkgconfigDATA
-  make -C libcelt DESTDIR="$pkgdir" install
-
-  # remove unneeded stuff
-  rm -rf "$pkgdir/usr/include"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: lib32-celt/repos/multilib-x86_64/PKGBUILD (from rev 625582, lib32-celt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 10:00:16 UTC (rev 625584)
@@ -0,0 +1,48 @@
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: see .contrib
+
+pkgname=lib32-celt
+pkgver=0.11.3
+pkgrel=4
+pkgdesc="Low-latency audio communication codec (32 bit)"
+url="https://gitlab.xiph.org/xiph/celt"
+arch=(x86_64)
+license=(BSD)
+depends=(lib32-glibc celt)
+makedepends=(git libogg)
+provides=(libcelt0.so)
+_commit=6c28805c56d562bec56cc0b31c0d5905ebb5a6ac  # tags/v0.11.3
+source=("git+$url.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd celt
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd celt
+  ./autogen.sh
+}
+
+build() {
+  cd celt
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+
+  ./configure --prefix=/usr --enable-custom-modes --disable-static --libdir=/usr/lib32
+  make -C libcelt
+}
+
+package() {
+  cd celt
+  make DESTDIR="$pkgdir" install-pkgconfigDATA
+  make -C libcelt DESTDIR="$pkgdir" install
+  rm -r "$pkgdir/usr/include"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+}
+
+# vim:set sw=2 et:


More information about the arch-commits mailing list