Skip to content
Snippets Groups Projects
Unverified Commit 4fef14fb authored by alice's avatar alice
Browse files

community/cmus: rebuild against flac-1.4.0

parent 17728cc9
No related branches found
No related tags found
No related merge requests found
...@@ -3,23 +3,38 @@ ...@@ -3,23 +3,38 @@
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=cmus pkgname=cmus
pkgver=2.10.0 pkgver=2.10.0
pkgrel=1 pkgrel=2
pkgdesc="feature-rich ncurses-based music player" pkgdesc="feature-rich ncurses-based music player"
url="https://cmus.github.io/" url="https://cmus.github.io/"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
options="!check" # No test suite options="!check" # No test suite
makedepends="alsa-lib-dev faad2-dev flac-dev libmad-dev opusfile-dev makedepends="
libogg-dev libvorbis-dev ncurses-dev wavpack-dev ffmpeg-dev alsa-lib-dev
linux-headers elogind-dev" elogind-dev
subpackages="$pkgname-doc $pkgname-zsh-completion:zshcomp:noarch faad2-dev
$pkgname-bash-completion:bashcomp:noarch" ffmpeg-dev
flac-dev
libmad-dev
libogg-dev
libvorbis-dev
linux-headers
ncurses-dev
opusfile-dev
wavpack-dev
"
subpackages="
$pkgname-doc
$pkgname-zsh-completion
$pkgname-bash-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v$pkgver.tar.gz source="$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v$pkgver.tar.gz
c11-atomics-check.patch c11-atomics-check.patch
1172.patch 1172.patch
" "
build() { build() {
export CFLAGS="$CFLAGS -flto=auto"
./configure prefix=/usr ./configure prefix=/usr
make make
} }
...@@ -27,27 +42,12 @@ build() { ...@@ -27,27 +42,12 @@ build() {
package() { package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
for file in AUTHORS README.md; do install -Dm644 AUTHORS README.md -t "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 "$file" "$pkgdir"/usr/share/doc/$pkgname/
done
}
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -Dm644 "$builddir"/contrib/$pkgname.bash-completion \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
install -Dm644 "$builddir"/contrib/_$pkgname \ install -Dm644 contrib/$pkgname.bash-completion \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname "$pkgdir"/usr/share/bash-completion/completions/$pkgname
install -Dm644 contrib/_$pkgname \
"$pkgdir"/usr/share/zsh/site-functions/_$pkgname
} }
sha512sums=" sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment