mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
removed extra/flac
This commit is contained in:
parent
060826d5c6
commit
0b13f869a3
2 changed files with 0 additions and 98 deletions
|
@ -1,81 +0,0 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove makedepends on pandoc, set -DINSTALL_MANPAGES=OFF
|
||||
|
||||
pkgbase=flac
|
||||
pkgname=('flac' 'flac-doc')
|
||||
pkgver=1.4.2
|
||||
pkgrel=1
|
||||
pkgdesc='Free Lossless Audio Codec'
|
||||
url='https://xiph.org/flac/'
|
||||
arch=('x86_64')
|
||||
license=('BSD' 'GPL')
|
||||
depends=('gcc-libs' 'libogg')
|
||||
makedepends=('nasm' 'cmake' 'ninja' 'doxygen' 'git')
|
||||
options=('debug')
|
||||
_commit=b32e5cbf9818ca23dd22aaa75522042c16ea7d17 # tags/1.4.2
|
||||
source=("git+https://github.com/xiph/flac?signed#commit=$_commit")
|
||||
b2sums=('SKIP')
|
||||
validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23') # https://github.com/web-flow.gpg
|
||||
|
||||
pkgver() {
|
||||
cd flac
|
||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd flac
|
||||
|
||||
# Fix GStreamer
|
||||
# https://bugs.archlinux.org/task/76120
|
||||
git cherry-pick -n 3d55a9dc6c14317b4766db96bb52e2fd95e920a9
|
||||
|
||||
# Shorten tests
|
||||
sed -i 's/FLAC__TEST_LEVEL=1/FLAC__TEST_LEVEL=0/' test/CMakeLists.txt
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -S flac -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DINSTALL_MANPAGES=OFF \
|
||||
-DWITH_STACK_PROTECTOR=OFF \
|
||||
-DNDEBUG=ON
|
||||
cmake --build build
|
||||
|
||||
# Build docs and place them where install expects them
|
||||
cmake --build build --target FLAC-doxygen
|
||||
mv build/doc/doxytmp/html flac/doc/api
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
ctest --output-on-failure --stop-on-failure -j1
|
||||
}
|
||||
|
||||
package_flac() {
|
||||
provides=('libFLAC.so' 'libFLAC++.so')
|
||||
|
||||
DESTDIR="${pkgdir}" cmake --install build
|
||||
|
||||
install -Dm 644 flac/src/*/*.m4 -t "${pkgdir}/usr/share/aclocal"
|
||||
|
||||
mkdir -p doc/usr/share
|
||||
mv {"${pkgdir}",doc}/usr/share/doc
|
||||
|
||||
install -Dm 644 flac/COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
|
||||
package_flac-doc() {
|
||||
pkgdesc+=' documentation'
|
||||
depends=()
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
|
||||
install -Dm 644 flac/COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
|
@ -1,17 +0,0 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBFmUaEEBCACzXTDt6ZnyaVtueZASBzgnAmK13q9Urgch+sKYeIhdymjuMQta
|
||||
x15OklctmrZtqre5kwPUosG3/B2/ikuPYElcHgGPL4uL5Em6S5C/oozfkYzhwRrT
|
||||
SQzvYjsE4I34To4UdE9KA97wrQjGoz2Bx72WDLyWwctD3DKQtYeHXswXXtXwKfjQ
|
||||
7Fy4+Bf5IPh76dA8NJ6UtjjLIDlKqdxLW4atHe6xWFaJ+XdLUtsAroZcXBeWDCPa
|
||||
buXCDscJcLJRKZVc62gOZXXtPfoHqvUPp3nuLA4YjH9bphbrMWMf810Wxz9JTd3v
|
||||
yWgGqNY0zbBqeZoGv+TuExlRHT8ASGFS9SVDABEBAAG0NUdpdEh1YiAod2ViLWZs
|
||||
b3cgY29tbWl0IHNpZ25pbmcpIDxub3JlcGx5QGdpdGh1Yi5jb20+iQEiBBMBCAAW
|
||||
BQJZlGhBCRBK7hj4Ov3rIwIbAwIZAQAAmQEH/iATWFmi2oxlBh3wAsySNCNV4IPf
|
||||
DDMeh6j80WT7cgoX7V7xqJOxrfrqPEthQ3hgHIm7b5MPQlUr2q+UPL22t/I+ESF6
|
||||
9b0QWLFSMJbMSk+BXkvSjH9q8jAO0986/pShPV5DU2sMxnx4LfLfHNhTzjXKokws
|
||||
+8ptJ8uhMNIDXfXuzkZHIxoXk3rNcjDN5c5X+sK8UBRH092BIJWCOfaQt7v7wig5
|
||||
4Ra28pM9GbHKXVNxmdLpCFyzvyMuCmINYYADsC848QQFFwnd4EQnupo6QvhEVx1O
|
||||
j7wDwvuH5dCrLuLwtwXaQh0onG4583p0LGms2Mf5F+Ick6o/4peOlBoZz48=
|
||||
=Bvzs
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in a new issue