mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
attract: update to 2.4.0.
This commit is contained in:
parent
c3410d18ab
commit
df81c15513
2 changed files with 3 additions and 29 deletions
|
@ -1,26 +0,0 @@
|
||||||
--- src/media.cpp 2017-11-19 00:08:04.000000000 +0100
|
|
||||||
+++ src/media.cpp 2018-05-08 22:32:36.387186528 +0200
|
|
||||||
@@ -970,11 +970,11 @@
|
|
||||||
|
|
||||||
size_t avio_ctx_buffer_size = 4096;
|
|
||||||
uint8_t *avio_ctx_buffer = (uint8_t *)av_malloc( avio_ctx_buffer_size
|
|
||||||
- + FF_INPUT_BUFFER_PADDING_SIZE );
|
|
||||||
+ + AV_INPUT_BUFFER_PADDING_SIZE );
|
|
||||||
|
|
||||||
memset( avio_ctx_buffer + avio_ctx_buffer_size,
|
|
||||||
0,
|
|
||||||
- FF_INPUT_BUFFER_PADDING_SIZE );
|
|
||||||
+ AV_INPUT_BUFFER_PADDING_SIZE );
|
|
||||||
|
|
||||||
m_imp->m_io_ctx = avio_alloc_context( avio_ctx_buffer,
|
|
||||||
avio_ctx_buffer_size, 0, z, &fe_zip_read,
|
|
||||||
@@ -1030,7 +1030,7 @@
|
|
||||||
//
|
|
||||||
m_audio->buffer = (sf::Int16 *)av_malloc(
|
|
||||||
MAX_AUDIO_FRAME_SIZE
|
|
||||||
- + FF_INPUT_BUFFER_PADDING_SIZE
|
|
||||||
+ + AV_INPUT_BUFFER_PADDING_SIZE
|
|
||||||
+ codec_ctx->sample_rate );
|
|
||||||
|
|
||||||
sf::SoundStream::initialize(
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'attract'
|
# Template file for 'attract'
|
||||||
pkgname=attract
|
pkgname=attract
|
||||||
version=2.3.0
|
version=2.4.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
make_build_args="VERBOSE=1"
|
make_build_args="VERBOSE=1"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Pedro Narciso García Revington <p.revington@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://attractmode.org/"
|
homepage="http://attractmode.org/"
|
||||||
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
|
||||||
checksum=561c5bcd9a10d216c2f43de7eb9224fa000d5ac8690e2d41cb4a8cec86b72583
|
checksum=ce75bfc9ca928ad8fe6b4bd7b0ae425eba3806dca06c9cbbe5ee0ce6ce3ea788
|
||||||
|
|
||||||
CFLAGS="-std=gnu++11"
|
CFLAGS="-std=gnu++11"
|
||||||
CFLAGS+=" -I extlibs/audio/include"
|
CFLAGS+=" -I extlibs/audio/include"
|
||||||
|
|
Loading…
Add table
Reference in a new issue