[arch-commits] Commit in alsa-oss/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jan 22 13:47:00 UTC 2020


    Date: Wednesday, January 22, 2020 @ 13:47:00
  Author: dvzrv
Revision: 373795

upgpkg: alsa-oss 1.1.8-2: Updating maintainer info. Switching to correct license (GPL2). Adding all direct library dependencies.
Switching to https upstream for source. Adding libaoss.so and libalsatoss.so to provides. Adding bash to optdepends (for aoss).
Calling autreconf in prepare(). Adding commented check() (requires oss).

Modified:
  alsa-oss/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-22 12:53:56 UTC (rev 373794)
+++ PKGBUILD	2020-01-22 13:47:00 UTC (rev 373795)
@@ -1,23 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=alsa-oss
 pkgver=1.1.8
-pkgrel=1
+pkgrel=2
 pkgdesc="OSS compatibility library"
 arch=('x86_64')
-license=('GPL')
+license=('GPL2')
 url="https://www.alsa-project.org"
-depends=('alsa-lib')
-source=("ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2")
-sha1sums=('584c7153dfa2318c950ceddbca546f719bce2d6b')
+depends=('glibc' 'libasound.so')
+# TODO: add oss
+optdepends=('bash: for aoss')
+provides=('libaoss.so' 'libalsatoss.so')
+source=("https://www.alsa-project.org/files/pub/oss-lib/$pkgname-$pkgver.tar.bz2")
+sha512sums=('42966af0ca1be33b4ab1e20b2e3320056ad6caf6ecc5ecde3ae19571809a2fa924dd91d9b2a5d5b6f345b29d937b079400d2a165dbe2b8a33b857cd406c4ac7c')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr
   make
 }
 
+# test requires the oss package and /dev/dsp
+# check() {
+#   cd "$pkgname-$pkgver"
+#   make -k check
+#   test/osstest
+# }
+
 package() {
-  cd $pkgname-$pkgver
+  cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list