Skip to content

Commit 064e3df

Browse files
committed
rocksndiamonds: fix arm* build
1 parent 6688c77 commit 064e3df

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

srcpkgs/rocksndiamonds/template

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,7 @@ homepage="http://www.artsoft.org/rocksndiamonds"
1313
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
1414
checksum=40658f923b9efa9116476abe8427fb65596b2015cf845dd83a4d8c3de1a32e5b
1515

16-
# Package build options
17-
build_options="gles"
18-
1916
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
3717

3818
do_build() {
3919
CFLAGS+=" -DTARGET_SDL2"

0 commit comments

Comments
 (0)