Skip to content

Undelete SDL 1.2 and add package sdl2 #155

Merged
merged 5 commits into from
Oct 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions sdl.be0
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
#!/bin/env beesh

# BEE_VERSION sdl-2.0.4-0
# BEE_VERSION sdl-1.2.15-0

SRCURL[0]="http://www.libsdl.org/release/SDL2-${PKGVERSION}.tar.gz"
SRCURL[0]="http://www.libsdl.org/release/SDL-${PKGVERSION}.tar.gz"

PATCHURL[0]=""

PGRP=( uncategorized )



# BEE_CONFIGURE=compat

# EXCLUDE=""

mee_patch() {
bee_patch
}

mee_configure() {
bee_configure
sed -e '/_XData32/s:register long:register _Xconst long:' \
-i ${S}/src/video/x11/SDL_x11sym.h
bee_configure --disable-static
}

mee_build() {
Expand Down
32 changes: 32 additions & 0 deletions sdl2.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/env beesh

#BEE_VERSION sdl2-2.0.4-0

SRCURL[0]="http://www.libsdl.org/release/SDL2-${PKGVERSION}.tar.gz"

PATCHURL[0]=""

PGRP=( uncategorized )



# BEE_CONFIGURE=compat

# EXCLUDE=""

mee_patch() {
bee_patch
}

mee_configure() {
bee_configure
}

mee_build() {
bee_build
}

mee_install() {
bee_install
}