summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-07 04:45:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-07 04:45:29 +0300
commitdc76a4d41180536e77bb8e1ecd8b6c8dc9b86ff0 (patch)
tree96eb5455edb59be6245857f55c0f19be66cc2e0a
parent91fa963b6fc2f3255ce810786d390b1a0b0550e1 (diff)
parente37b5a61ef34a0f5dc2dbc48105dbcfde6e03271 (diff)
downloadspm-dc76a4d41180536e77bb8e1ecd8b6c8dc9b86ff0.tar.gz
spm-dc76a4d41180536e77bb8e1ecd8b6c8dc9b86ff0.tar.bz2
spm-dc76a4d41180536e77bb8e1ecd8b6c8dc9b86ff0.tar.xz
spm-dc76a4d41180536e77bb8e1ecd8b6c8dc9b86ff0.zip
Merge branch 'master' into SDL
-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
-rw-r--r--packages/mesa.sh1
-rw-r--r--scripts/include/common.sh2
9 files changed, 23 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"
diff --git a/packages/mesa.sh b/packages/mesa.sh
index 76bd32c..67c6c3a 100644
--- a/packages/mesa.sh
+++ b/packages/mesa.sh
@@ -6,6 +6,7 @@ ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_LDFLAGS_PATH="lib"
ENV_MANPATH="share/man"
ENV_CPPFLAGS_PATH="include"
+ENV_LIBGL_DRIVERS_PATH="lib/dri"
BUILD_TYPE="automake"
CONFIGURE_FLAGS='--enable-gles1 --enable-gles2 --enable-gles3 --with-gallium-drivers="" --with-dri-drivers="i915 i965" --with-vulkan-drivers="intel"'
diff --git a/scripts/include/common.sh b/scripts/include/common.sh
index 929bc7a..bdc71e0 100644
--- a/scripts/include/common.sh
+++ b/scripts/include/common.sh
@@ -298,8 +298,10 @@ function package_use {
repack_paths "$ENV_PKG_CONFIG_PATH" "$OVERRIDE_ENV_PKG_CONFIG_PATH" "PKG_CONFIG_PATH"
repack_paths "$ENV_MANPATH" "$OVERRIDE_ENV_MANPATH" "MANPATH"
repack_paths "$ENV_ACLOCAL_PATH" "$OVERRIDE_ENV_ACLOCAL_PATH" "ACLOCAL_PATH"
+ repack_paths "$ENV_LIBGL_DRIVERS_PATH" "$OVERRIDE_ENV_LIBGL_DRIVERS_PATH" "LIBGL_DRIVERS_PATH"
repack_flags "$ENV_LDFLAGS_PATH" "$OVERRIDE_ENV_LDFLAGS_PATH" "LDFLAGS" "-L"
repack_flags "$ENV_CPPFLAGS_PATH" "$OVERRIDE_ENV_CPPFLAGS_PATH" "CPPFLAGS" "-I"
+ repack_flags "$ENV_LIBGL_DRIVERS_PATH" "$OVERRIDE_ENV_LIBGL_DRIVERS_PATH" "LIBGL_DRIVERS_PATH"
}
function common_use_package {