comment "Legacy options removed in 2020.02"
+config BR2_PACKAGE_LIBPLAYER
+ bool "libplayer package was removed"
+ select BR2_LEGACY
+ help
+ The libplayer package was removed. The latest release is
+ from 2010 and none of the backends are available in
+ Buildroot any more.
+
config BR2_GCC_VERSION_OR1K
bool "gcc 5.x fork for or1k has been removed"
select BR2_LEGACY
source "package/libogg/Config.in"
source "package/libopenh264/Config.in"
source "package/libopusenc/Config.in"
- source "package/libplayer/Config.in"
source "package/libtheora/Config.in"
source "package/libvpx/Config.in"
source "package/libyuv/Config.in"
+++ /dev/null
-Add -fPIC to CFLAGS
-
--fPIC is needed to build shared library code.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/src/Makefile
-===================================================================
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -9,6 +9,7 @@
- SHARED_LIBNAME_VERSION = $(SHARED_LIBNAME).$(VERSION)
- SHARED_LIBNAME_MAJOR = $(SHARED_LIBNAME).$(shell echo $(VERSION) | cut -f1 -d.)
- SHARED_LIBNAME_FLAGS = -shared -Wl,-soname,$(SHARED_LIBNAME_MAJOR)
-+CFLAGS = -fPIC
-
- ifeq ($(BUILD_STATIC),yes)
- BUILD_RULES += lib_static
+++ /dev/null
-From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-Subject: [PATCH] libplayer: Fix handling of cflags in configure.
-
-The cflags returned by pkg-config or another config script may consist
-of several arguments for the compiler. These should not be quoted together
-into a single argument.
-
-Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
----
-Sent upstream to devel@geexbox.org on July 11, 2012.
----
-diff -rup libplayer-2.0.1.orig/configure libplayer-2.0.1/configure
---- libplayer-2.0.1.orig/configure 2010-10-03 19:26:11.000000000 +0200
-+++ libplayer-2.0.1/configure 2012-07-10 23:33:02.783701852 +0200
-@@ -342,7 +342,7 @@ check_libconfig(){
- err=1
- if `which "$config" 1>/dev/null 2>&1`; then
- cflags=`$config $ccflags`
-- [ -n "$cflags" ] && check_cflags "$cflags"
-+ [ -n "$cflags" ] && check_cflags $cflags
- libs=`$config $clibs`
- if [ -n "$libs" ]; then
- temp_extralibs "$libs"
-@@ -364,7 +364,7 @@ check_libconfig_exists(){
- err=1
- if `which "$config" 1>/dev/null 2>&1`; then
- cflags=`$config $ccflags`
-- [ -n "$cflags" ] && temp_cflags "$cflags"
-+ [ -n "$cflags" ] && temp_cflags $cflags
- libs=`$config $clibs`
- if [ -n "$libs" ]; then
- temp_extralibs "$libs"
-@@ -386,7 +386,7 @@ check_pkgconfig(){
- err=1
- if `which pkg-config 1>/dev/null 2>&1`; then
- cflags=`pkg-config $pkg $ccflags`
-- [ -n "$cflags" ] && check_cflags "$cflags"
-+ [ -n "$cflags" ] && check_cflags $cflags
- libs=`pkg-config $pkg $clibs`
- if [ -n "$libs" ]; then
- temp_extralibs "$libs"
+++ /dev/null
-config BR2_PACKAGE_LIBPLAYER
- bool "libplayer"
- depends on BR2_TOOLCHAIN_HAS_THREADS
- help
- libplayer provides a generic A/V API that relies on various
- multimedia player for Linux systems. It currently supports
- MPlayer, xine VLC and GStreamer only
-
- http://libplayer.geexbox.org/
-
-if BR2_PACKAGE_LIBPLAYER
-
-config BR2_PACKAGE_LIBPLAYER_GSTREAMER
- bool "gstreamer backend"
- depends on BR2_USE_WCHAR # glib2
- depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
- depends on BR2_USE_MMU # glib2
- depends on !BR2_STATIC_LIBS # gstreamer
- select BR2_PACKAGE_GSTREAMER
-
-comment "gstreamer backend needs a toolchain w/ wchar, threads, dynamic library"
- depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
- BR2_STATIC_LIBS
-endif
-
-comment "libplayer needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+++ /dev/null
-# Locally calculated
-sha256 aa5eeb54f773bc9cad2733e4a0b5870208fc7f75024515ea87e55f64653e9d65 libplayer-2.0.1.tar.bz2
-sha256 29bc1d97c09654ba9a9f490e3b69d1bba84938ebb21ac87b2af4d190b082e2ca COPYING
+++ /dev/null
-################################################################################
-#
-# libplayer
-#
-################################################################################
-
-LIBPLAYER_VERSION = 2.0.1
-LIBPLAYER_SITE = http://libplayer.geexbox.org/releases
-LIBPLAYER_SOURCE = libplayer-$(LIBPLAYER_VERSION).tar.bz2
-LIBPLAYER_LICENSE = LGPL-2.1+
-LIBPLAYER_LICENSE_FILES = COPYING
-
-# 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 \
- --disable-mplayer \
- $(SHARED_STATIC_LIBS_OPTS) \
- $(LIBPLAYER_CONF_OPTS) \
- )
-endef
-
-ifeq ($(BR2_PACKAGE_LIBPLAYER_GSTREAMER),y)
-LIBPLAYER_DEPENDENCIES += gstreamer
-LIBPLAYER_CONF_OPTS += --enable-gstreamer
-else
-LIBPLAYER_CONF_OPTS += --disable-gstreamer
-endif
-
-$(eval $(autotools-package))