[arch-commits] Commit in faudio/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Jan 16 13:35:08 UTC 2022
Date: Sunday, January 16, 2022 @ 13:35:07
Author: felixonmars
Revision: 1106277
archrelease: copy trunk to community-testing-x86_64
Added:
faudio/repos/community-testing-x86_64/
faudio/repos/community-testing-x86_64/PKGBUILD
(from rev 1106276, faudio/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: faudio/repos/community-testing-x86_64/PKGBUILD (from rev 1106276, faudio/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-01-16 13:35:07 UTC (rev 1106277)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrew Eikum
+
+pkgname=faudio
+pkgver=22.01
+pkgrel=1
+pkgdesc="XAudio2 reimplementation"
+arch=(x86_64)
+url="https://github.com/FNA-XNA/FAudio/"
+license=('custom:zlib')
+depends=('sdl2' 'gst-libav')
+makedepends=('cmake' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FNA-XNA/FAudio/archive/$pkgver.tar.gz")
+sha512sums=('ab83a3c09e4f45bde88aacff1f65f282701ba97d5f52d95fa62dbdb541d2d0b93a603f8d8e62a8b42a524f78a92d5f8ac702eb2dc8dac9d80ed40fef80d72f27')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../FAudio-$pkgver -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DGSTREAMER=ON
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ install -Dm644 FAudio-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list