Feature #53 » vdr-plugin-dxr3-Makefile.diff
| vdr-plugin-dxr3-Makefile/dxr3ffmpeg.h 2009-01-11 11:29:06.000000000 +0100 | ||
|---|---|---|
|
extern "C"
|
||
|
{
|
||
|
#include <libavcodec/avcodec.h>
|
||
|
#include <avcodec.h>
|
||
|
}
|
||
|
#include <string.h>
|
||
| vdr-plugin-dxr3-Makefile/Makefile 2009-01-11 11:35:59.000000000 +0100 | ||
|---|---|---|
|
LIBDIR = ../../lib
|
||
|
TMPDIR = /tmp
|
||
|
# Usually something like -I/path/to/ffmpeg, should work as is if FFmpeg was
|
||
|
# Usually something like -I/path/to/ffmpeg/libavcodec, should work as is if FFmpeg was
|
||
|
# installed properly and pkg-config is available.
|
||
|
FFMPEG_INC = $(shell pkg-config --cflags-only-I libavcodec)
|
||
| ... | ... | |
|
PACKAGE = $(shell echo vdr-$(ARCHIVE) | sed -e 's/git$$/git'`date +%Y%m%d`/)
|
||
|
### Includes and Defines (add further entries here):
|
||
|
ifneq ($(shell find $(shell pkg-config --silence-errors --cflags-only-I libavcodec|sed 's/^-I//') -type d -name "libavcodec" -print),)
|
||
|
FFMPEG_INC = $(shell echo "-I$(shell find $(shell pkg-config --cflags-only-I libavcodec|sed 's/^-I//') -type d -name "libavcodec" -print)")
|
||
|
endif
|
||
|
INCLUDES += -I$(VDRDIR)/include $(FFMPEG_INC) $(EM8300_INC)
|
||
|
LIBS = $(FFMPEG_LIBS)
|
||
- « Previous
- 1
- 2
- 3
- Next »