Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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

View File

@@ -0,0 +1,41 @@
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"

View File

@@ -0,0 +1,40 @@
config BR2_PACKAGE_LIBPLAYER
depends on BR2_TOOLCHAIN_HAS_THREADS
bool "libplayer"
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_MPLAYER
bool "mplayer backend"
# mplayer
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb || \
BR2_microblaze || BR2_aarch64 || BR2_nios2)
# mplayer
# Broken support for <ARMv5
depends on !BR2_ARM_CPU_ARMV4
select BR2_PACKAGE_MPLAYER
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
select BR2_PACKAGE_GSTREAMER
comment "gstreamer backend needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIBPLAYER_PYTHON
depends on BR2_PACKAGE_PYTHON
depends on BROKEN # player_init params, builds for host
bool "Libplayer python bindings"
endif
comment "libplayer needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 aa5eeb54f773bc9cad2733e4a0b5870208fc7f75024515ea87e55f64653e9d65 libplayer-2.0.1.tar.bz2

View File

@@ -0,0 +1,47 @@
################################################################################
#
# libplayer
#
################################################################################
LIBPLAYER_VERSION = 2.0.1
LIBPLAYER_SITE = http://libplayer.geexbox.org/releases
LIBPLAYER_SOURCE = libplayer-$(LIBPLAYER_VERSION).tar.bz2
LIBPLAYER_LICENSE = LGPLv2.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 \
$(SHARED_STATIC_LIBS_OPTS) \
$(LIBPLAYER_CONF_OPTS) \
)
endef
ifeq ($(BR2_PACKAGE_LIBPLAYER_MPLAYER),y)
LIBPLAYER_DEPENDENCIES += mplayer
LIBPLAYER_CONF_OPTS += --enable-mplayer
else
LIBPLAYER_CONF_OPTS += --disable-mplayer
endif
ifeq ($(BR2_PACKAGE_LIBPLAYER_GSTREAMER),y)
LIBPLAYER_DEPENDENCIES += gstreamer
LIBPLAYER_CONF_OPTS += --enable-gstreamer
else
LIBPLAYER_CONF_OPTS += --disable-gstreamer
endif
ifeq ($(BR2_PACKAGE_LIBPLAYER_PYTHON),y)
LIBPLAYER_DEPENDENCIES += python
LIBPLAYER_CONF_OPTS += --enable-binding-python
endif
$(eval $(autotools-package))