2023-08-27 17:36:53 +02:00
|
|
|
# Description: SDL, Simple DirectMedia Layer
|
2019-08-21 21:41:42 +10:00
|
|
|
# URL: https://www.libsdl.org/
|
2023-08-27 17:36:53 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2019-08-21 21:41:42 +10:00
|
|
|
# Depends on: alsa-lib glu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=libsdl
|
2012-01-23 08:40:08 +01:00
|
|
|
version=1.2.15
|
2019-08-21 21:41:42 +10:00
|
|
|
release=5
|
|
|
|
source=(https://www.libsdl.org/release/SDL-$version.tar.gz
|
2023-08-27 17:36:53 +02:00
|
|
|
$name-1.2.x-libx11.patch $name-$version-bs.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2019-08-21 21:41:42 +10:00
|
|
|
build() {
|
2023-08-27 17:36:53 +02:00
|
|
|
cd SDL-$version
|
2010-08-31 17:28:05 +02:00
|
|
|
|
2023-08-27 17:36:53 +02:00
|
|
|
patch -p1 -i $SRC/$name-1.2.x-libx11.patch
|
|
|
|
patch -p1 -i $SRC/$name-$version-bs.patch
|
2013-06-21 18:29:01 +02:00
|
|
|
|
2023-08-27 17:36:53 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-alsa \
|
|
|
|
--disable-rpath
|
2016-01-21 00:03:37 +00:00
|
|
|
|
2023-08-27 17:36:53 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|