mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
removed extra/opus
This commit is contained in:
parent
0cfe9a8e8c
commit
95e8ee9e98
1 changed files with 0 additions and 77 deletions
|
@ -1,77 +0,0 @@
|
|||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
|
||||
# Contributor: pumbur
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - upstream PR to fix ARM FTBFS
|
||||
|
||||
pkgbase=opus
|
||||
pkgname=(
|
||||
opus
|
||||
opus-docs
|
||||
)
|
||||
pkgver=1.4
|
||||
pkgrel=1
|
||||
pkgdesc="Totally open, royalty-free, highly versatile audio codec"
|
||||
url="https://www.opus-codec.org/"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
depends=(
|
||||
glibc
|
||||
)
|
||||
makedepends=(
|
||||
doxygen
|
||||
git
|
||||
meson
|
||||
)
|
||||
_commit=82ac57d9f1aaf575800cf17373348e45b7ce6c0d # tags/v1.4^0
|
||||
source=("git+https://github.com/xiph/opus#commit=$_commit"
|
||||
"https://patch-diff.githubusercontent.com/raw/xiph/opus/pull/267.patch")
|
||||
b2sums=('SKIP'
|
||||
'df0731c18eaebc87743a585c47add278f52f01a9f692f304f305cc8b9d3644f9d05c1d71e5fe51f9d9590b5b883a25338f341edb697a0a3a9fa4234014af1032')
|
||||
|
||||
pkgver() {
|
||||
cd opus
|
||||
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd opus
|
||||
patch -p1 -i ../267.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
local meson_options=(
|
||||
-D asm=disabled
|
||||
-D custom-modes=true
|
||||
)
|
||||
|
||||
arch-meson opus build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package_opus() {
|
||||
provides=(libopus.so)
|
||||
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -Dt "$pkgdir/usr/share/aclocal" -m644 opus/opus.m4
|
||||
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 opus/COPYING
|
||||
|
||||
mkdir -p doc/usr/share
|
||||
mv {"$pkgdir",doc}/usr/share/doc
|
||||
}
|
||||
|
||||
package_opus-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
depends=()
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
Loading…
Reference in a new issue