| 1 | maintainer="Val Packett <[email protected]>" |
| 2 | # Co-Maintainer: Wren IX <[email protected]> |
| 3 | pkgname=dummystreamhack |
| 4 | pkgver=0_git20260527 |
| 5 | _commit="f82b9a9f1583bfa44ae32a408318af1e44af3c5e" |
| 6 | pkgrel=0 |
| 7 | pkgdesc="a tiny service that opens a dummy ALSA PCM stream that connects voice call modem audio to audio outputs/inputs." |
| 8 | url="https://codeberg.org/valpackett/dummystreamhack" |
| 9 | arch="all" |
| 10 | license="MIT" |
| 11 | makedepends=" |
| 12 | alsa-lib-dev |
| 13 | meson |
| 14 | " |
| 15 | subpackages="$pkgname-doc $pkgname-systemd" |
| 16 | source="https://codeberg.org/valpackett/dummystreamhack/archive/$_commit.tar.gz" |
| 17 | builddir="$srcdir/dummystreamhack" |
| 18 | |
| 19 | build() { |
| 20 | abuild-meson \ |
| 21 | output . |
| 22 | meson compile -C output |
| 23 | } |
| 24 | |
| 25 | check() { |
| 26 | meson test --print-errorlogs -C output |
| 27 | } |
| 28 | |
| 29 | package() { |
| 30 | DESTDIR="$pkgdir" meson install --no-rebuild -C output |
| 31 | install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ |
| 32 | } |
| 33 | |
| 34 | sha512sums=" |
| 35 | f1905f2cf5feb57e871f044cf5f92daae44fb0f4539620edfb213d66d055c0ac44bbbb938620651875a39e272e06d47c787bf7aa8fbeb7a5079bbee805fa7e09 f82b9a9f1583bfa44ae32a408318af1e44af3c5e.tar.gz |
| 36 | " |