first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/sdl12-compat/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 1.2.64
First version

22
src/sdl12-compat/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
NAME="sdl12-compat"
DESC="Simple DirectMedia Layer is a cross-platform library designed to make it easy to write multimedia software, such as games and emulators"
VERSION="1.2.64"
FILES=("https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-$VERSION/sdl12-compat-release-$VERSION.tar.gz")
HASHES=("c0ca71db831525dda0d676920c729023")
DEPENDS=("sdl2" "glu")
PACKAGE() {
tar xf $NAME-release-$VERSION.tar.gz
cd $NAME-release-$VERSION
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE \
..
make && make DESTDIR="$ROOTDIR" install
rm -vf "$ROOTDIR/usr/lib/libSDLmain.a"
cd ../.. && rm -r $NAME-release-$VERSION
}