summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Julian Ospald <hasufell@posteo.de> 2016-07-02 14:42:27 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2016-07-07 18:43:39 +0200
commit4591adb8436c84e472884ec663913753dbc7dc97 (patch)
tree3a0b30e32b845a6a4dcecf5b5b81ac9cbf756999
parent424e7b1184d27cc741bd5669041037540d2a6bed (diff)
downloadgames-4591adb8436c84e472884ec663913753dbc7dc97.tar.gz
games-4591adb8436c84e472884ec663913753dbc7dc97.tar.xz
games-physics/OpenGOO: fix build and everything
Change-Id: I5eca56addb39e4de01c67319d7afb6533713a742 Reviewed-on: https://galileo.mailstation.de/gerrit/6596 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--packages/games-physics/OpenGOO/OpenGOO-scm.exheres-025
1 files changed, 13 insertions, 12 deletions
diff --git a/packages/games-physics/OpenGOO/OpenGOO-scm.exheres-0 b/packages/games-physics/OpenGOO/OpenGOO-scm.exheres-0
index 910f1d1..1eeeaed 100644
--- a/packages/games-physics/OpenGOO/OpenGOO-scm.exheres-0
+++ b/packages/games-physics/OpenGOO/OpenGOO-scm.exheres-0
@@ -1,24 +1,19 @@
# Copyright 2011 Kim Højgaard-Hansen <kimrhh@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-SCM_REPOSITORY="https://github.com/Mandarancio/OpenGOO.git"
-
-require qmake scm-git
+require github [ user='Mandarancio' ]
+require qmake [ slot=5 ]
SUMMARY="Free clone of World Of Goo"
-HOMEPAGE="https://github.com/Mandarancio/OpenGOO/"
-DOWNLOADS=""
-
LICENCES="GPL-3"
SLOT="0"
-PLATFORMS="~x86"
+PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
- dev-libs/Box2D
- x11-libs/qt:4[opengl]
+ x11-libs/qtbase:5
"
BUGS_TO="kimrhh@exherbo.org"
@@ -26,8 +21,14 @@ BUGS_TO="kimrhh@exherbo.org"
EQMAKE_SOURCES=( opengoo.pro )
src_install() {
- default
- dobin ${PN}
+ newbin ${PN} ${PN}.bin
insinto /usr/share/${PN}
- doins l01.level
+ doins -r resources properties res Artworks
+
+ herebin ${PN} <<EOF
+#!/bin/sh
+cd "/usr/share/${PN}"
+exec ${PN}.bin "\$@"
+EOF
}
+