summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars9
-rw-r--r--vars/sdl1.vars9
2 files changed, 17 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index a915d66c..2dfcae6c 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1015,7 +1015,7 @@ xcb_util_image xcb_util_wm libX11 libXext freetype fontconfig Xrender libXft
libXfixes libXi libXtst libICE libSM libXt libXmu libXpm libXaw libxkbfile
libXdamage libfontenc libXfont2 libXdmcp xwin mesa glew harfbuzz fribidi libass pixman cairo
dbus dbus_glib sdl2 pango atk at_spi2_core at_spi2_atk gdk libepoxy gtk2
-gtk3 imlib2 libcaca libxfce4util xfconf libxfce4ui";
+gtk3 imlib2 libcaca libxfce4util xfconf libxfce4ui sdl1";
NATIVE_PACKAGES_DEPS_X11_PREFIX="${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_X11_PYTHON="${PREFIX}/bin/python2";
: ${PKG_UTIL_MACROS_SHA256SUM:=d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712};
@@ -1222,6 +1222,13 @@ NATIVE_PACKAGES_DEPS_X11_PYTHON="${PREFIX}/bin/python2";
: ${PKG_LIBXFCE4UI_VERSION:=4.12.0};
: ${PKG_LIBXFCE4UI_URL:=http://mirror.sobukus.de/files/grimoire/xfce/libxfce4ui-${PKG_LIBXFCE4UI_VERSION}.tar.bz2};
: ${PKG_LIBXFCE4UI_CONFIGURE_ARGS_EXTRA:=--disable-gtk3};
+: ${PKG_SDL1_SHA256SUM:=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00};
+: ${PKG_SDL1_VERSION:=1.2.15};
+: ${PKG_SDL1_URL:=https://www.libsdl.org/release/SDL-${PKG_SDL1_VERSION}.tar.gz};
+: ${PKG_SDL1_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
+: ${PKG_SDL1_IN_TREE:=1};
+: ${PKG_SDL1_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
+: ${PKG_SDL1_MAKEFLAGS_BUILD:=-j1};
#
# Build target dev_packages
diff --git a/vars/sdl1.vars b/vars/sdl1.vars
new file mode 100644
index 00000000..9dbb8df4
--- /dev/null
+++ b/vars/sdl1.vars
@@ -0,0 +1,9 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_sdl1_configure_autotools_pre() {
+ ${PKG_BASE_DIR}/${PKG_SUBDIR}/autogen.sh;
+};
+
+# vim:filetype=sh