mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
cava-gui: update to 0.6.1.1.
This commit is contained in:
parent
052f80c675
commit
91441c05c8
2 changed files with 27 additions and 8 deletions
23
srcpkgs/cava-gui/patches/fix-missing__int16_t.patch
Normal file
23
srcpkgs/cava-gui/patches/fix-missing__int16_t.patch
Normal 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 };
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'cava-gui'
|
# Template file for 'cava-gui'
|
||||||
pkgname=cava-gui
|
pkgname=cava-gui
|
||||||
version=0.6.1
|
version=0.6.1.1
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="cava-${version}"
|
wrksrc="cava-${version}"
|
||||||
build_style=gnu-configure
|
build_style=cmake
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
makedepends="SDL2-devel iniparser-devel ncurses-devel sndio-devel portaudio-devel"
|
makedepends="SDL2-devel iniparser-devel ncurses-devel sndio-devel portaudio-devel"
|
||||||
short_desc="Console-based Audio Visualizer for ALSA (GUI branch)"
|
short_desc="Console-based Audio Visualizer for ALSA (GUI branch)"
|
||||||
|
@ -11,13 +11,9 @@ maintainer="nik123 <pavlica.nikola@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/nikp123/cava"
|
homepage="https://github.com/nikp123/cava"
|
||||||
distfiles="https://github.com/nikp123/cava/archive/${version}.tar.gz"
|
distfiles="https://github.com/nikp123/cava/archive/${version}.tar.gz"
|
||||||
checksum=e639c55521e18786d15ac348c5130ca41637c10b0ef0a7aa340da1c62b9387f9
|
checksum=8b2c0325ae74b29cf5808c488b7ca4e0c74629d300dee6d57ba54a8bc0b06cb9
|
||||||
conflicts=cava
|
conflicts=cava
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vmkdir usr/share/examples
|
vmkdir usr/share/examples
|
||||||
|
|
Loading…
Add table
Reference in a new issue