summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-06-26 05:27:13 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-06-26 05:27:13 +0000
commit54248a3de47607056e17c718767be92cfa3f5017 (patch)
treea0531fefdf2ade0ed7f50a0a596d1a819eb3aa2e /games-sports
parentStable for HPPA (bug #548026). (diff)
downloadgentoo-2-54248a3de47607056e17c718767be92cfa3f5017.tar.gz
gentoo-2-54248a3de47607056e17c718767be92cfa3f5017.tar.bz2
gentoo-2-54248a3de47607056e17c718767be92cfa3f5017.zip
old
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/dustrac/ChangeLog6
-rw-r--r--games-sports/dustrac/dustrac-1.9.2.ebuild70
-rw-r--r--games-sports/dustrac/files/dustrac-1.9.2-cmake.patch23
3 files changed, 5 insertions, 94 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog
index 174ebbd81a94..f65376ff49b5 100644
--- a/games-sports/dustrac/ChangeLog
+++ b/games-sports/dustrac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/dustrac
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.11 2015/05/26 21:24:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.12 2015/06/26 05:27:13 mr_bones_ Exp $
+
+ 26 Jun 2015; Michael Sterrett <mr_bones_@gentoo.org> -dustrac-1.9.2.ebuild,
+ -files/dustrac-1.9.2-cmake.patch:
+ old
*dustrac-1.11.0 (26 May 2015)
diff --git a/games-sports/dustrac/dustrac-1.9.2.ebuild b/games-sports/dustrac/dustrac-1.9.2.ebuild
deleted file mode 100644
index 7c5571032ff6..000000000000
--- a/games-sports/dustrac/dustrac-1.9.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/dustrac-1.9.2.ebuild,v 1.2 2015/03/27 18:37:43 mr_bones_ 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-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtxml:5
- dev-qt/linguist-tools:5
- media-libs/libvorbis
- media-libs/openal
- virtual/opengl"
-DEPEND="${RDEPEND}
- dev-qt/qttest:5
- virtual/pkgconfig"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-cmake.patch
-}
-
-src_configure() {
- # -DGLES=ON didn't build for me but maybe just need use flags on some QT package?
- # Maybe add a local gles use flag
- local mycmakeargs=(
- -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
- dosym /usr/share/fonts/ubuntu-font-family/UbuntuMono-B.ttf "${GAMES_DATADIR}/${PN}/fonts/UbuntuMono-B.ttf"
- dosym /usr/share/fonts/ubuntu-font-family/UbuntuMono-R.ttf "${GAMES_DATADIR}/${PN}/fonts/UbuntuMono-R.ttf"
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch b/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch
deleted file mode 100644
index a90f7079ece1..000000000000
--- a/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- dustrac-1.9.2.orig/CMakeLists.txt
-+++ dustrac-1.9.2/CMakeLists.txt
-@@ -68,8 +68,7 @@
- endif()
-
- if(CMAKE_COMPILER_IS_GNUCXX OR MINGW OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -W -Wall -O3 -pedantic")
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fomit-frame-pointer -finline-functions -ffast-math")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -W -Wall -fomit-frame-pointer -finline-functions")
- elseif(MSVC)
- add_definitions(-DNOMINMAX)
- endif()
---- dustrac-1.9.2.orig/InstallLinux.cmake
-+++ dustrac-1.9.2/InstallLinux.cmake
-@@ -58,7 +58,7 @@
- install(FILES data/fonts.conf DESTINATION ${DATA_PATH})
- install(FILES data/meshes.conf DESTINATION ${DATA_PATH})
- install(FILES data/textures.conf DESTINATION ${DATA_PATH})
-- install(FILES AUTHORS CHANGELOG COPYING README DESTINATION ${DOC_PATH})
-+ install(FILES AUTHORS CHANGELOG README DESTINATION ${DOC_PATH})
- install(DIRECTORY data/images DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.jpg")
- install(DIRECTORY data/images DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.png")
- install(DIRECTORY data/levels DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.trk")