diff options
author | Johns <johns98@gmx.net> | 2012-01-16 15:42:17 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-01-16 15:42:17 +0100 |
commit | c0d0a4ae7c0b21d6d240972da739d7a3c04561d7 (patch) | |
tree | 8d3659091ddef2d189f2aba5de8b19fc4884b785 /Makefile | |
parent | e619f5c836741868ce01630892d435f793dd960a (diff) | |
download | vdr-plugin-softhddevice-c0d0a4ae7c0b21d6d240972da739d7a3c04561d7.tar.gz vdr-plugin-softhddevice-c0d0a4ae7c0b21d6d240972da739d7a3c04561d7.tar.bz2 |
Audio module cleanup (more to come).
Alsa + OSS can be included/build at the same time.
Alsa or OSS can be runtime selected with -a.
Add audio thread support to OSS module.
Add polled audio support to alsa module.
Removed some debug source code.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -14,6 +14,7 @@ PLUGIN = softhddevice ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char \*const VERSION *=' $(PLUGIN).cpp | awk '{ print $$7 }' | sed -e 's/[";]//g') +GIT_REV = $(shell git describe --always 2>/dev/null) ### Configuration (edit this for your needs) @@ -22,7 +23,7 @@ CONFIG := #-DDEBUG CONFIG += $(shell pkg-config --exists vdpau && echo "-DUSE_VDPAU") CONFIG += $(shell pkg-config --exists libva && echo "-DUSE_VAAPI") CONFIG += $(shell pkg-config --exists alsa && echo "-DUSE_ALSA") -#CONFIG += -DUSE_OSS +CONFIG += -DUSE_OSS ### The C++ compiler and options: @@ -59,7 +60,8 @@ PACKAGE = vdr-$(ARCHIVE) INCLUDES += -I$(VDRDIR)/include -DEFINES += $(CONFIG) -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += $(CONFIG) -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' \ + $(if $(GIT_REV), -DGIT_REV='"$(GIT_REV)"') _CFLAGS = $(DEFINES) $(INCLUDES) \ $(shell pkg-config --cflags libavcodec libavformat) \ |