Merge pull request #325 from bnnm/build

build
This commit is contained in:
Christopher Snowhill 2018-12-03 17:37:49 -08:00 committed by GitHub
commit 95c6381b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 3 deletions

View File

@ -92,7 +92,7 @@ Requires the dev version of Audacious (and dependencies), automake/autoconf, and
The plugin needs Audacious 3.5 or higher. New Audacious releases can break plugin compatibility so it may not work with the latest version unless adapted first.
libvorbis and libmpg123 will be used if found, while FFmpeg and other external libraries aren't enabled, thus some formats won't work.
libvorbis and libmpg123 will be used if found, while FFmpeg and other external libraries aren't enabled at the moment, thus some formats won't work (build scripts need to be fixed).
Windows builds aren't supported at the moment (should be possible but there are complex dependency chains).
@ -121,9 +121,15 @@ cd vgmstream
./configure
make -f Makefile.autotools
# copy to audacious plugins
# copy to audacious plugins and update global libvgmstream.so.0 refs
sudo make -f Makefile.autotools install
sudo ldconfig
# start audacious in verbose mode to check if it was installed correctly
audacious -V
# uninstall if needed
sudo make -f Makefile.autotools uninstall
# optional post-cleanup
make -f Makefile.autotools clean

View File

@ -11,7 +11,7 @@ SUBDIRS = coding layout meta
libvgmstream_la_LDFLAGS = coding/libcoding.la layout/liblayout.la meta/libmeta.la
libvgmstream_la_SOURCES = (auto-updated)
libvgmstream_la_SOURCES += ../ext_libs/clHCA.c
libvgmstream_la_LIBADD = $(AUDACIOUS_LIBS) $(GTK_LIBS) -lm
libvgmstream_la_LIBADD = -lm
EXTRA_DIST = (auto-updated)
EXTRA_DIST += ../ext_includes/clHCA.h

View File

@ -9,3 +9,12 @@ AM_MAKEFLAGS=-f Makefile.autotools
libcoding_la_LDFLAGS =
libcoding_la_SOURCES = (auto-updated)
EXTRA_DIST = (auto-updated)
if HAVE_VORBIS
if HAVE_VORBISFILE
AM_CFLAGS += -DVGM_USE_VORBIS
endif
endif
if HAVE_LIBMPG123
AM_CFLAGS += -DVGM_USE_MPEG
endif