Skip to content

Commit

Permalink
Merge pull request #155 from mariux64/undel-sdl-1.2.-and-add-sdl2
Browse files Browse the repository at this point in the history
Undelete SDL 1.2 and add package sdl2

```
$ bee remove sdl-2.0.4-0.x86_64
$ bee install sdl
$ bee install sdl2
```
  • Loading branch information
pmenzel authored Oct 19, 2016
2 parents 4f866a4 + 2f6198f commit 5399585
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 9 deletions.
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
}

0 comments on commit 5399585

Please sign in to comment.