mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-09 12:23:23 +00:00
new package: vgmstream
This commit is contained in:
14
packages/vgmstream/build.sh
Normal file
14
packages/vgmstream/build.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/vgmstream/vgmstream
|
||||
TERMUX_PKG_DESCRIPTION="A library for playback of various streamed audio formats used in video games"
|
||||
TERMUX_PKG_LICENSE="ISC"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1800
|
||||
TERMUX_PKG_SRCURL=https://github.com/vgmstream/vgmstream/archive/refs/tags/r${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=c3d3918264101662dd35f6be6024bc4c5412f7fe8a49806da0c60cc9574450b0
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, libao, libjansson, libspeex, libvorbis, mpg123"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DUSE_G719=OFF
|
||||
-DUSE_ATRAC9=OFF
|
||||
-DUSE_CELT=OFF
|
||||
-DBUILD_AUDACIOUS=OFF
|
||||
"
|
||||
11
packages/vgmstream/cli-CMakeLists.txt.patch
Normal file
11
packages/vgmstream/cli-CMakeLists.txt.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/cli/CMakeLists.txt
|
||||
+++ b/cli/CMakeLists.txt
|
||||
@@ -76,7 +76,7 @@
|
||||
# Link to the vgmstream library as well as libao
|
||||
target_link_libraries(vgmstream123
|
||||
libvgmstream
|
||||
- ao pthread dl)
|
||||
+ ao dl)
|
||||
|
||||
setup_target(vgmstream123 TRUE)
|
||||
|
||||
Reference in New Issue
Block a user