2013-05-06 09:13:10 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# minidlna
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-12 08:06:37 +02:00
|
|
|
MINIDLNA_VERSION = 1.1.3
|
2013-05-06 09:13:10 +02:00
|
|
|
MINIDLNA_SITE = http://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION)
|
|
|
|
MINIDLNA_LICENSE = GPLv2 BSD-3c
|
2014-01-03 21:20:45 +01:00
|
|
|
MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd
|
2013-05-06 09:13:10 +02:00
|
|
|
|
|
|
|
MINIDLNA_DEPENDENCIES = \
|
2014-06-12 08:06:36 +02:00
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) host-gettext \
|
2013-05-06 09:13:10 +02:00
|
|
|
ffmpeg flac libvorbis libogg libid3tag libexif libjpeg sqlite \
|
|
|
|
host-xutil_makedepend
|
|
|
|
|
2014-01-08 09:00:11 +01:00
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
# the configure script / Makefile forgets to link with some of the dependent
|
|
|
|
# libraries breaking static linking, so help it along
|
|
|
|
MINIDLNA_CONF_ENV = \
|
|
|
|
LIBS='-lavformat -lavcodec -lavutil -logg -lz -lpthread -lm'
|
|
|
|
else
|
2014-01-03 21:20:45 +01:00
|
|
|
MINIDLNA_CONF_OPT = \
|
|
|
|
--disable-static
|
2014-01-08 09:00:11 +01:00
|
|
|
endif
|
2013-05-06 09:13:10 +02:00
|
|
|
|
2014-01-03 21:20:45 +01:00
|
|
|
$(eval $(autotools-package))
|