We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6688c77 commit 064e3dfCopy full SHA for 064e3df
1 file changed
srcpkgs/rocksndiamonds/template
@@ -13,27 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
13
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
14
checksum=40658f923b9efa9116476abe8427fb65596b2015cf845dd83a4d8c3de1a32e5b
15
16
-# Package build options
17
-build_options="gles"
18
-
19
LDFLAGS="-lz"
20
-case "$XBPS_TARGET_MACHINE" in
21
- arm*)
22
- # Enable OpenGL/ES on rpi platforms
23
- build_options_default="gles"
24
- ;;
25
-esac
26
27
28
-if [ "$build_option_gles" ]; then
29
- case "$XBPS_TARGET_MACHINE" in
30
- armv[67]*)
31
- # RaspberryPi, use Videocore IV
32
- makedepends+=" rpi-userland-devel"
33
- LDFLAGS="-L${XBPS_CROSS_BASE}/opt/vc/lib -lbcm_host -lz"
34
35
- esac
36
-fi
37
38
do_build() {
39
CFLAGS+=" -DTARGET_SDL2"
0 commit comments