aboutsummaryrefslogtreecommitdiff
path: root/package/libplayer
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2020-02-07 15:50:20 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-02-08 22:42:49 +0100
commitd89fa735a7a02151c02f10f13e3b62f1ac2b9b5e (patch)
treefaa5a0105374dd2ad96dab8bac5182f5e0af1873 /package/libplayer
parent3069cb706fc909df272053b460ff32a5bb23bcfe (diff)
downloadbuildroot-d89fa735a7a02151c02f10f13e3b62f1ac2b9b5e.tar.gz
buildroot-d89fa735a7a02151c02f10f13e3b62f1ac2b9b5e.tar.bz2
package/libplayer: remove package
Libplayer is dead upstream. The mercurial repo is no longer online, it hasn't seen any releases since 2010 and the mplayer backend was removed from Buildroot in 2018. With the upcoming removal of gstreamer 0.10, there is no longer any backends available in Buildroot, so remove the package. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/libplayer')
-rw-r--r--package/libplayer/0001-add-fpic.patch18
-rw-r--r--package/libplayer/0002-fix-configure-cflags.patch41
-rw-r--r--package/libplayer/Config.in28
-rw-r--r--package/libplayer/libplayer.hash3
-rw-r--r--package/libplayer/libplayer.mk36
5 files changed, 0 insertions, 126 deletions
diff --git a/package/libplayer/0001-add-fpic.patch b/package/libplayer/0001-add-fpic.patch
deleted file mode 100644
index e4b227f911..0000000000
--- a/package/libplayer/0001-add-fpic.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-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
diff --git a/package/libplayer/0002-fix-configure-cflags.patch b/package/libplayer/0002-fix-configure-cflags.patch
deleted file mode 100644
index 186afd562e..0000000000
--- a/package/libplayer/0002-fix-configure-cflags.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-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"
diff --git a/package/libplayer/Config.in b/package/libplayer/Config.in
deleted file mode 100644
index 3cad683248..0000000000
--- a/package/libplayer/Config.in
+++ /dev/null
@@ -1,28 +0,0 @@
-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
diff --git a/package/libplayer/libplayer.hash b/package/libplayer/libplayer.hash
deleted file mode 100644
index 62041e5737..0000000000
--- a/package/libplayer/libplayer.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256 aa5eeb54f773bc9cad2733e4a0b5870208fc7f75024515ea87e55f64653e9d65 libplayer-2.0.1.tar.bz2
-sha256 29bc1d97c09654ba9a9f490e3b69d1bba84938ebb21ac87b2af4d190b082e2ca COPYING
diff --git a/package/libplayer/libplayer.mk b/package/libplayer/libplayer.mk
deleted file mode 100644
index 8d139cea0e..0000000000
--- a/package/libplayer/libplayer.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-################################################################################
-#
-# 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))