summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-07-25 11:52:24 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-07-25 11:52:24 +0000
commit1a033468ff0bf1a22fc977beb086ffcd404323f1 (patch)
treeff8aaffab34ac1edee122ee10b3459687388c9e6 /games-sports
parentStable for amd64 wrt bug #517504 (diff)
downloadgentoo-2-1a033468ff0bf1a22fc977beb086ffcd404323f1.tar.gz
gentoo-2-1a033468ff0bf1a22fc977beb086ffcd404323f1.tar.bz2
gentoo-2-1a033468ff0bf1a22fc977beb086ffcd404323f1.zip
version bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/dustrac/ChangeLog7
-rw-r--r--games-sports/dustrac/dustrac-1.7.1.ebuild68
2 files changed, 74 insertions, 1 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog
index 5b2a274dbef5..f50fcf3986ca 100644
--- a/games-sports/dustrac/ChangeLog
+++ b/games-sports/dustrac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/dustrac
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.2 2014/01/26 23:15:10 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.3 2014/07/25 11:52:24 hasufell Exp $
+
+*dustrac-1.7.1 (25 Jul 2014)
+
+ 25 Jul 2014; Julian Ospald <hasufell@gentoo.org> +dustrac-1.7.1.ebuild:
+ version bump
*dustrac-1.6.3 (26 Jan 2014)
diff --git a/games-sports/dustrac/dustrac-1.7.1.ebuild b/games-sports/dustrac/dustrac-1.7.1.ebuild
new file mode 100644
index 000000000000..011358e03f68
--- /dev/null
+++ b/games-sports/dustrac/dustrac-1.7.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/dustrac-1.7.1.ebuild,v 1.1 2014/07/25 11:52:24 hasufell Exp $
+
+EAPI=5
+
+inherit eutils gnome2-utils cmake-utils games
+
+DESCRIPTION="Tile-based, cross-platform 2D racing game"
+HOMEPAGE="http://dustrac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dustrac/${P}.tar.gz"
+
+LICENSE="GPL-3 CC-BY-NC-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/mesa[gles2]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.6.3-cmake.patch \
+ "${FILESDIR}"/${PN}-1.6.3-desktopfile.patch
+}
+
+src_configure() {
+ # build failure without gles 2.0
+ local mycmakeargs=(
+ -DGLES=ON
+ -DGL30=ON
+ -DReleaseBuild=ON
+ -DDATA_PATH="${GAMES_DATADIR}/${PN}"
+ -DBIN_PATH="${GAMES_BINDIR}"
+ -DDOC_PATH=/usr/share/doc/${PF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}