2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-03 12:10:34 +02:00
|
|
|
#
|
|
|
|
# libplayer
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2011-10-03 12:10:34 +02:00
|
|
|
LIBPLAYER_VERSION = 2.0.1
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBPLAYER_SITE = http://libplayer.geexbox.org/releases
|
2011-10-03 12:10:34 +02:00
|
|
|
LIBPLAYER_SOURCE = libplayer-$(LIBPLAYER_VERSION).tar.bz2
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBPLAYER_LICENSE = LGPL-2.1+
|
2013-12-11 14:23:38 +01:00
|
|
|
LIBPLAYER_LICENSE_FILES = COPYING
|
2011-10-03 12:10:34 +02:00
|
|
|
|
|
|
|
# When passing the standard buildroot configure arguments, the configure script
|
|
|
|
# breaks on --target and --host options. Thus we need to define a configure cmd
|
|
|
|
# ourselves.
|
|
|
|
define LIBPLAYER_CONFIGURE_CMDS
|
|
|
|
(cd $(@D) && rm -rf config.cache && \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
$(TARGET_CONFIGURE_ARGS) \
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--cross-compile \
|
2018-05-01 09:10:14 +02:00
|
|
|
--disable-mplayer \
|
2011-10-03 12:10:34 +02:00
|
|
|
$(SHARED_STATIC_LIBS_OPTS) \
|
2014-09-27 21:32:44 +02:00
|
|
|
$(LIBPLAYER_CONF_OPTS) \
|
2011-10-03 12:10:34 +02:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPLAYER_GSTREAMER),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBPLAYER_DEPENDENCIES += gstreamer
|
|
|
|
LIBPLAYER_CONF_OPTS += --enable-gstreamer
|
2011-10-03 12:10:34 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBPLAYER_CONF_OPTS += --disable-gstreamer
|
2011-10-03 12:10:34 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|