mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
SDL: add autoreconf support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e66a642f38
commit
ced7d15a53
@ -3,6 +3,12 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
rm -f acinclude/alsa.m4
|
||||
# Skip autoheader because there is a problem with AC_DEFINE's in the configure.in of SDL 1.2.14.
|
||||
# Added include directory 'acinclude' because SDL 1.2.14 has no Makefile.am in which to specify it.
|
||||
AUTOHEADER="true" autoreconf --verbose --install --force -I $SYSROOT_PREFIX/usr/share/aclocal -I acinclude
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
|
@ -13,3 +13,4 @@ PKG_SHORTDESC="libsdl: A cross-platform Graphic API"
|
||||
PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of 'Civilization: Call To Power.' Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF=""
|
||||
|
11
packages/multimedia/SDL/patches/SDL-1.2.14-configure.patch
Normal file
11
packages/multimedia/SDL/patches/SDL-1.2.14-configure.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Naur SDL-1.2.14-old/configure.in SDL-1.2.14-new/configure.in
|
||||
--- SDL-1.2.14-old/configure.in 2009-10-17 10:35:03.000000000 -0700
|
||||
+++ SDL-1.2.14-new/configure.in 2010-08-17 16:42:33.000000000 -0700
|
||||
@@ -3,6 +3,7 @@
|
||||
AC_CONFIG_HEADER(include/SDL_config.h)
|
||||
AC_GNU_SOURCE
|
||||
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
|
||||
+AC_CONFIG_MACRO_DIR([acinclude])
|
||||
|
||||
dnl Set various version strings - taken gratefully from the GTk sources
|
||||
#
|
Loading…
x
Reference in New Issue
Block a user