mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/multimedia: move multimedia libraries out
Move multimedia libraries ouf of the Audio and Video category into the Libraries/Multimedia one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
33f454bbef
commit
84d589a963
44
package/libplayer/libplayer.mk
Normal file
44
package/libplayer/libplayer.mk
Normal file
@@ -0,0 +1,44 @@
|
||||
#############################################################
|
||||
#
|
||||
# libplayer
|
||||
#
|
||||
#############################################################
|
||||
LIBPLAYER_VERSION = 2.0.1
|
||||
LIBPLAYER_SITE = http://libplayer.geexbox.org/releases/
|
||||
LIBPLAYER_SOURCE = libplayer-$(LIBPLAYER_VERSION).tar.bz2
|
||||
|
||||
# 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 \
|
||||
$(SHARED_STATIC_LIBS_OPTS) \
|
||||
$(QUIET) $(LIBPLAYER_CONF_OPT) \
|
||||
)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPLAYER_MPLAYER),y)
|
||||
LIBPLAYER_DEPENDENCIES += mplayer
|
||||
LIBPLAYER_CONF_OPT += --enable-mplayer
|
||||
else
|
||||
LIBPLAYER_CONF_OPT += --disable-mplayer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPLAYER_GSTREAMER),y)
|
||||
LIBPLAYER_DEPENDENCIES += gstreamer
|
||||
LIBPLAYER_CONF_OPT += --enable-gstreamer
|
||||
else
|
||||
LIBPLAYER_CONF_OPT += --disable-gstreamer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPLAYER_PYTHON),y)
|
||||
LIBPLAYER_DEPENDENCIES += python
|
||||
LIBPLAYER_CONF_OPT += --enable-binding-python
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS))
|
||||
Reference in New Issue
Block a user