summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-07-28 17:59:51 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-07-28 17:59:51 +0000
commit5a2cac4570af410d8503ae226a7a98b7d91e39d2 (patch)
treea4ee3191574ad1b27bed109a929b212912fcdb49 /games-sports
parentversion bump (diff)
downloadgentoo-2-5a2cac4570af410d8503ae226a7a98b7d91e39d2.tar.gz
gentoo-2-5a2cac4570af410d8503ae226a7a98b7d91e39d2.tar.bz2
gentoo-2-5a2cac4570af410d8503ae226a7a98b7d91e39d2.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.2.ebuild68
2 files changed, 74 insertions, 1 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog
index f50fcf3986ca..b92093c9a1dd 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.3 2014/07/25 11:52:24 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.4 2014/07/28 17:59:51 hasufell Exp $
+
+*dustrac-1.7.2 (28 Jul 2014)
+
+ 28 Jul 2014; Julian Ospald <hasufell@gentoo.org> +dustrac-1.7.2.ebuild:
+ version bump
*dustrac-1.7.1 (25 Jul 2014)
diff --git a/games-sports/dustrac/dustrac-1.7.2.ebuild b/games-sports/dustrac/dustrac-1.7.2.ebuild
new file mode 100644
index 000000000000..e840a28e8fab
--- /dev/null
+++ b/games-sports/dustrac/dustrac-1.7.2.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.2.ebuild,v 1.1 2014/07/28 17:59:51 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
+}