1
0
forked from ports/opt

libsdl: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:36:53 +02:00
parent acb40ad1ac
commit 5e33e29093
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 14 additions and 14 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/fd7eDqn7AmS5xUqk9cMzVC6kkuNkeIPI7GMeJfVxvLSCqinl3DunEwO73kWJ9xdbhBNz2rb9e2f6Tu38c+LXw0=
SHA256 (Pkgfile) = b2128a2a480242cb526dfa3ee6e5f26c7c69bc0be3f3eb6931aa90156306a723
RWSE3ohX2g5d/aVU6u9wf8Nf+laNbQTeFq2trniZjlv53IdOnwMq3Tdgccn5Wqv4NS1ubSqmJYjl6xI9f25SJU0Pe5o3OEQbmQs=
SHA256 (Pkgfile) = f0d29fd7378e375873f23073116c29bb87ac9a2a924a2179f8e890ea720bb76c
SHA256 (.footprint) = 203217745aafde2a04cab5d6620fe36d940d3aba7cc5a678130cb771bd8284c7
SHA256 (SDL-1.2.15.tar.gz) = d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
SHA256 (libsdl-1.2.x-libx11.patch) = cdb44e23a1ce8336313f340e226e094d0c65d895772e396f9b3f55566ecd6394

View File

@ -1,25 +1,25 @@
# Description: SDL, Simple DirectMedia Layer
# URL: https://www.libsdl.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: alsa-lib glu
name=libsdl
version=1.2.15
release=5
source=(https://www.libsdl.org/release/SDL-$version.tar.gz
$name-1.2.x-libx11.patch $name-$version-bs.patch)
$name-1.2.x-libx11.patch $name-$version-bs.patch)
build() {
cd SDL-$version
cd SDL-$version
patch -p1 -i $SRC/$name-1.2.x-libx11.patch
patch -p1 -i $SRC/$name-$version-bs.patch
patch -p1 -i $SRC/$name-1.2.x-libx11.patch
patch -p1 -i $SRC/$name-$version-bs.patch
./configure \
--prefix=/usr \
--enable-alsa \
--disable-rpath
./configure \
--prefix=/usr \
--enable-alsa \
--disable-rpath
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
}