summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-06 21:20:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-06 21:20:08 +0300
commit4273a9bfb8c37e716b1769f689559e1054e96734 (patch)
tree8908cfb20921052aa415ec3da18094a57c3c9c82
parent22a367e95ea7ddac5f91840e429738f0b40b3c5e (diff)
downloadspm-4273a9bfb8c37e716b1769f689559e1054e96734.tar.gz
spm-4273a9bfb8c37e716b1769f689559e1054e96734.tar.bz2
spm-4273a9bfb8c37e716b1769f689559e1054e96734.tar.xz
spm-4273a9bfb8c37e716b1769f689559e1054e96734.zip
Add into SDL packages ENABLE_SAME_DIR_BUILD="true".
Also disable vulkan in SDL2 packages, because it missing check for is vulkan present.
-rw-r--r--packages/SDL.sh2
-rw-r--r--packages/SDL2.sh8
-rw-r--r--packages/SDL_gfx.sh2
-rw-r--r--packages/SDL_image.sh2
-rw-r--r--packages/SDL_mixer.sh2
-rw-r--r--packages/SDL_net.sh2
-rw-r--r--packages/SDL_ttf.sh2
7 files changed, 20 insertions, 0 deletions
diff --git a/packages/SDL.sh b/packages/SDL.sh
index 159562a..8822f49 100644
--- a/packages/SDL.sh
+++ b/packages/SDL.sh
@@ -10,6 +10,8 @@ ENV_MANPATH="share/man"
ENV_ACLOCAL_PATH="share/aclocal"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
CONFIGURE_FLAGS="--disable-rpath --enable-sdl-dlopen --disable-loadso \
diff --git a/packages/SDL2.sh b/packages/SDL2.sh
index feb1a13..9861ac8 100644
--- a/packages/SDL2.sh
+++ b/packages/SDL2.sh
@@ -3,3 +3,11 @@ include "SDL"
DEFAULT_BRANCH="default"
ENV_CPPFLAGS_PATH="include/SDL2"
+
+CONFIGURE_FLAGS="--disable-rpath --enable-sdl-dlopen --disable-loadso \
+ --disable-video-ggi \
+ --disable-nas --disable-esd --disable-arts \
+ --disable-alsa-shared --disable-pulseaudio-shared \
+ --disable-x11-shared \
+ --disable-video-vulkan \
+ --enable-video-directfb"
diff --git a/packages/SDL_gfx.sh b/packages/SDL_gfx.sh
index 7e51d60..0527a26 100644
--- a/packages/SDL_gfx.sh
+++ b/packages/SDL_gfx.sh
@@ -6,5 +6,7 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
diff --git a/packages/SDL_image.sh b/packages/SDL_image.sh
index 22d2812..ba66969 100644
--- a/packages/SDL_image.sh
+++ b/packages/SDL_image.sh
@@ -7,6 +7,8 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
CONFIGURE_FLAGS="--disable-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared"
diff --git a/packages/SDL_mixer.sh b/packages/SDL_mixer.sh
index 42e0efc..b2dfdf1 100644
--- a/packages/SDL_mixer.sh
+++ b/packages/SDL_mixer.sh
@@ -7,6 +7,8 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
CONFIGURE_FLAGS="--disable-music-mp3 \
diff --git a/packages/SDL_net.sh b/packages/SDL_net.sh
index 524fa02..c192422 100644
--- a/packages/SDL_net.sh
+++ b/packages/SDL_net.sh
@@ -7,6 +7,8 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
CONFIGURE_FLAGS="--disable-gui"
diff --git a/packages/SDL_ttf.sh b/packages/SDL_ttf.sh
index 392f425..61d84be 100644
--- a/packages/SDL_ttf.sh
+++ b/packages/SDL_ttf.sh
@@ -7,5 +7,7 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_CPPFLAGS_PATH="include/SDL"
+ENABLE_SAME_DIR_BUILD="true"
+
BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"