Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miles Alan
aports
Commits
b4937abc
Commit
b4937abc
authored
8 years ago
by
Daniel Sabogal
Committed by
Natanael Copa
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/sdl2: upgrade to 2.0.5 and improve abuild
parent
c943d562
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/sdl2/APKBUILD
+9
-19
9 additions, 19 deletions
main/sdl2/APKBUILD
with
9 additions
and
19 deletions
main/sdl2/APKBUILD
+
9
−
19
View file @
b4937abc
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname
=
sdl2
pkgver
=
2.0.
4
pkgver
=
2.0.
5
pkgrel
=
0
_pkgname
=
SDL2
pkgdesc
=
"A development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
...
...
@@ -11,42 +11,32 @@ license="zlib"
depends
=
""
depends_dev
=
"alsa-lib-dev libxcursor-dev libxrandr-dev libxrender-dev mesa-dev"
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-dev"
source
=
"https://www.libsdl.org/release/
$_pkgname
-
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--enable-alsa
\
--enable-clock_gettime
\
--disable-arts
\
--disable-esd
\
--disable-nas
\
--with-x
\
--disable-rpath
\
--with-x
\
||
return
1
make
||
return
1
}
package
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
}
md5sums
=
"
44fc4a023349933e7f5d7a582f7b886e
SDL2-2.0.
4
.tar.gz"
sha256sums
=
"
da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b
SDL2-2.0.
4
.tar.gz"
sha512sums
=
"
dd0a95878639856c0f4b8a579ace8071379ab64519fa139b22d3ed857a0f0db87a75bc8480c7207e02fbffd1fdbd448e3c0b882c451675b0e2f1a945af02e1d6
SDL2-2.0.
4
.tar.gz"
md5sums
=
"
d4055424d556b4a908aa76fad63abd3c
SDL2-2.0.
5
.tar.gz"
sha256sums
=
"
442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785
SDL2-2.0.
5
.tar.gz"
sha512sums
=
"
6401f5df08c08316c09bc6ac5b28345c5184bb25770baa5c94c0a582ae130ddf73bb736e44bb31f4e427c1ddbbeec4755a6a5f530b6b4c3d0f13ebc78ddc1750
SDL2-2.0.
5
.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment