Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
configure: fix build on NIOS II platform
|
||||
|
||||
NIOS II is a CPU architecture from Altera, which uses 'nios2' as the
|
||||
architecture part of the tuple. Unfortunately, 'nios2' matches the
|
||||
current '*os2*' test done by libdvdnav's configure script to detect
|
||||
the OS/2 operating system. This leads to build issues as the build
|
||||
process of libdvdnav then tries to use OS/2 specific compiler
|
||||
options, that do not exist in the gcc used for Linux/NIOS2.
|
||||
|
||||
To fix this, this patch makes the test for OS/2 a little bit more
|
||||
specific: in the case of the OS/2 operating system, the OS part of the
|
||||
tuple contains just 'os2' (confirmed by looking at config.guess and
|
||||
config.sub in the gnuconfig project). So using '*-os2-*' will properly
|
||||
match the OS/2 operating system but not the NIOS II architecture.
|
||||
|
||||
Upstream-status: not needed, newer upstream versions no longer have
|
||||
this test
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -166,7 +166,7 @@
|
||||
*cygwin*)
|
||||
LDFLAGS="-no-undefined $LDFLAGS"
|
||||
;;
|
||||
- *os2*)
|
||||
+ *-os2-*)
|
||||
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
|
||||
;;
|
||||
*)
|
||||
14
deprecated/firmware/buildroot/package/libdvdnav/Config.in
Normal file
14
deprecated/firmware/buildroot/package/libdvdnav/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBDVDNAV
|
||||
bool "libdvdnav"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS # libdvdread
|
||||
select BR2_PACKAGE_LIBDVDREAD
|
||||
help
|
||||
libdvdnav is a library that allows easy use of sophisticated
|
||||
DVD navigation features such as DVD menus, multiangle
|
||||
playback and even interactive DVD games.
|
||||
|
||||
http://www.mplayerhq.hu
|
||||
|
||||
comment "libdvdnav needs a toolchain w/ dynamic library, threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372 libdvdnav-4.2.1.tar.xz
|
||||
22
deprecated/firmware/buildroot/package/libdvdnav/libdvdnav.mk
Normal file
22
deprecated/firmware/buildroot/package/libdvdnav/libdvdnav.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# libdvdnav
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBDVDNAV_VERSION = 4.2.1
|
||||
LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.xz
|
||||
LIBDVDNAV_SITE = http://dvdnav.mplayerhq.hu/releases
|
||||
# configure not shipped
|
||||
LIBDVDNAV_AUTORECONF = YES
|
||||
LIBDVDNAV_INSTALL_STAGING = YES
|
||||
LIBDVDNAV_CONFIG_SCRIPTS = dvdnav-config
|
||||
LIBDVDNAV_DEPENDENCIES = libdvdread host-pkgconf
|
||||
LIBDVDNAV_LICENSE = GPLv2+
|
||||
LIBDVDNAV_LICENSE_FILES = COPYING
|
||||
|
||||
# By default libdvdnav tries to find dvdread-config in $PATH. Because
|
||||
# of cross compilation, we prefer using pkg-config.
|
||||
LIBDVDNAV_CONF_OPTS = --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user