cava-gui: update to 0.6.1.1.

This commit is contained in:
maxice8 2018-07-09 18:26:06 -03:00
parent 052f80c675
commit 91441c05c8
2 changed files with 27 additions and 8 deletions

View File

@ -0,0 +1,23 @@
Source: maxice8
Upstream: no
Reason: fixes compilation with musl libc, and avoid using an internal implementation
--- input/fifo.c
+++ input/fifo.c
@@ -1,6 +1,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
+#include <sys/types.h>
#include <time.h>
#include "fifo.h"
@@ -27,7 +28,7 @@ void* input_fifo(void* data)
int t = 0;
//int size = 1024;
int bytes = 0;
- __int16_t buf[BUFSIZE / 2];
+ int16_t buf[BUFSIZE / 2];
struct timespec req = { .tv_sec = 0, .tv_nsec = 10000000 };

View File

@ -1,9 +1,9 @@
# Template file for 'cava-gui'
pkgname=cava-gui
version=0.6.1
revision=2
version=0.6.1.1
revision=1
wrksrc="cava-${version}"
build_style=gnu-configure
build_style=cmake
hostmakedepends="automake libtool"
makedepends="SDL2-devel iniparser-devel ncurses-devel sndio-devel portaudio-devel"
short_desc="Console-based Audio Visualizer for ALSA (GUI branch)"
@ -11,13 +11,9 @@ maintainer="nik123 <pavlica.nikola@gmail.com>"
license="MIT"
homepage="https://github.com/nikp123/cava"
distfiles="https://github.com/nikp123/cava/archive/${version}.tar.gz"
checksum=e639c55521e18786d15ac348c5130ca41637c10b0ef0a7aa340da1c62b9387f9
checksum=8b2c0325ae74b29cf5808c488b7ca4e0c74629d300dee6d57ba54a8bc0b06cb9
conflicts=cava
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
vmkdir usr/share/examples