summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-12-26 13:53:52 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-12-26 13:53:52 +0000
commitc8afc9b7cb8016f4a2fada3141cffcddc0b9c320 (patch)
treea4b4e3e3bfe3eb8a26580448f654e1ec78230974 /games-sports
parentmedia-gfx/povray: Version BUmp (diff)
downloadhistorical-c8afc9b7cb8016f4a2fada3141cffcddc0b9c320.tar.gz
historical-c8afc9b7cb8016f4a2fada3141cffcddc0b9c320.tar.bz2
historical-c8afc9b7cb8016f4a2fada3141cffcddc0b9c320.zip
initial import
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/dustrac/ChangeLog11
-rw-r--r--games-sports/dustrac/Manifest6
-rw-r--r--games-sports/dustrac/files/dustrac-1.6.2-cmake.patch79
-rw-r--r--games-sports/dustrac/files/dustrac-1.6.2-desktopfile.patch40
4 files changed, 136 insertions, 0 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog
new file mode 100644
index 000000000000..d27b90f0ac38
--- /dev/null
+++ b/games-sports/dustrac/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-sports/dustrac
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.1 2013/12/26 13:53:52 hasufell Exp $
+
+*dustrac-1.6.2 (26 Dec 2013)
+
+ 26 Dec 2013; Julian Ospald <hasufell@gentoo.org> +dustrac-1.6.2.ebuild,
+ +files/dustrac-1.6.2-cmake.patch, +files/dustrac-1.6.2-desktopfile.patch,
+ +metadata.xml:
+ initial import
+
diff --git a/games-sports/dustrac/Manifest b/games-sports/dustrac/Manifest
new file mode 100644
index 000000000000..8d25cad4aa2e
--- /dev/null
+++ b/games-sports/dustrac/Manifest
@@ -0,0 +1,6 @@
+AUX dustrac-1.6.2-cmake.patch 3576 SHA256 a95010263528175fac49d37685c03adf02977db12194a13295d5918af6152005 SHA512 4711a0b2cf52423d166a262ae11bd875f581e9f3a203e23b5294e377c2fb6391964beb3ceba8662cd42e2121eda1004a9c13ae93b98fde6e109d8cf96836d831 WHIRLPOOL 794affd4e3ed061b201ffb02bb54391fbeb6a6574213cf520315996f21236cb890702e5ad60139ae0a7d9687db58b31a84f20963ed576166c3e8d6b8679d1303
+AUX dustrac-1.6.2-desktopfile.patch 1039 SHA256 1629ff528295d4bceda2927cb0686b5c356c3a507e82c0bacf8cc8060bfbca3d SHA512 160fcfdc356e7a6b37b2652359011a4ea2b27cddf3612316f274d3442139c301dc164f5e73f1d40a0516dfd87eeb4e67b6060163d7724232eaf06239a4693852 WHIRLPOOL b7157c79e2fee71c0632536520d23bd536c735e78a8185f82a8421d00192af1aa0ec4df4565e972615575dbe4ea09314febd43e551603a3dd7308e74fafc2031
+DIST dustrac-1.6.2.tar.gz 21623207 SHA256 21949f179d39b8d3dd98323105b321ccbe406cbad24e3ec970719236d4a78bc5 SHA512 c04f227ed95f6fca7014e3d2ad8f2b40801f02e4aef83e6435b01d95965da3f0f6326fe889ab5d1621131c7c5d0f2135231f280daa3559a291570015ec10ce1a WHIRLPOOL 366d97e349f7990e0b8343b360d9589f90ebe87db201b378b506f6c8a73567f36c67a09a51ecc1fbeabda83bc839467e77751ef7fc0147c4c9fbeefe592e3eac
+EBUILD dustrac-1.6.2.ebuild 1137 SHA256 293a21349e3c16a9232abbfbe5ad6eac6bb93f4a316b48a8004317e0dbb635c3 SHA512 f6d7c86c4e2a443fabb4f7ec44ce798187152c79d8a666158bc6ca7cdad7eebb0113b5a0e52a5d4e57876678b182cc44b55f687be9e174c85e73aa283c1fcbf4 WHIRLPOOL 5de0ee00f615ba80ecede9cc64742b26115e9b7fedc93644a32012ef6936b0bb1502ed6e269086db1d9e5b7d4cbf4e05a26479123ea5dfe5b53adefb8c5f1f63
+MISC ChangeLog 336 SHA256 782d5e1516ee57c69c715597f9b07ba54c75ebedf82c4f6b0d112e5499b51f7a SHA512 144d5656cf08f131ae03839c287a6a2493abfcf0b89bce36cc820775380b3ec51e4f47a84fb9507cfe928f96b9eeadcef59d9e5463ebd7b8bee564266c1edcc4 WHIRLPOOL 86f356bc099121c5ddf37b8b95fe18314f15494712e8ebf2e423376db604450fad35ed0b27e285bc52e31c6fe4f6f43ab47157028b1d3b28506e2fc805aac4db
+MISC metadata.xml 683 SHA256 6eefdd6ad85a2b0c933271e1df6badaf02a90ce36024fb846e6d139a94eced57 SHA512 363fdfda89ba17abb084a05c874ec46e0634e4a7d482ae7e9fb06c867c032f74084886f07e908ecd9212f7cd9393cb80057a70c38bbcf245d784d928551fd653 WHIRLPOOL 4ffff06f14938edbb423b73ad499b9d0f5d4f2ebb023f6cd9638b7b192da9258717da13c5beff8b20bede2ed375d8252b42fffd7a7aa4bf21eecb84fcdc92698
diff --git a/games-sports/dustrac/files/dustrac-1.6.2-cmake.patch b/games-sports/dustrac/files/dustrac-1.6.2-cmake.patch
new file mode 100644
index 000000000000..335fd46accf6
--- /dev/null
+++ b/games-sports/dustrac/files/dustrac-1.6.2-cmake.patch
@@ -0,0 +1,79 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Dec 25 22:55:09 UTC 2013
+Subject: respect flags, fix installation
+
+--- dustrac-1.6.2/CMakeLists.txt
++++ dustrac-1.6.2/CMakeLists.txt
+@@ -43,7 +43,7 @@
+ endif()
+
+ set(CMAKE_VERBOSE_MAKEFILE OFF)
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall -O3 -pedantic")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fomit-frame-pointer -finline-functions -ffast-math")
+
+ set(GAME_BINARY_NAME "dustrac-game")
+--- dustrac-1.6.2/src/game/CMakeLists.txt
++++ dustrac-1.6.2/src/game/CMakeLists.txt
+@@ -128,16 +128,11 @@
+
+ # Copy desktop file
+ if(ReleaseBuild AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+- set(DesktopFileSourcePath)
+ if(USC)
+- set(DesktopFileSourcePath ${CMAKE_SOURCE_DIR}/src/dustrac-game.desktop.opt.in)
++ configure_file(${CMAKE_SOURCE_DIR}/src/dustrac-game.desktop.opt.in ${CMAKE_BINARY_DIR}/src/dustrac-game.desktop)
+ else()
+- set(DesktopFileSourcePath ${CMAKE_SOURCE_DIR}/src/dustrac-game.desktop.in)
++ configure_file(${CMAKE_SOURCE_DIR}/src/dustrac-game.desktop.in ${CMAKE_BINARY_DIR}/src/dustrac-game.desktop)
+ endif()
+- add_custom_target(desktop-file-game ALL
+- COMMAND cmake -E copy ${DesktopFileSourcePath}
+- ${CMAKE_BINARY_DIR}/dustrac-game.desktop
+- DEPENDS ${GAME_BINARY_NAME})
+ endif()
+
+ # Resource compilation for MinGW
+--- dustrac-1.6.2/src/editor/CMakeLists.txt
++++ dustrac-1.6.2/src/editor/CMakeLists.txt
+@@ -76,16 +76,11 @@
+
+ # Copy desktop file
+ if(ReleaseBuild AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+- set(DesktopFileSourcePath)
+ if(USC)
+- set(DesktopFileSourcePath ${CMAKE_SOURCE_DIR}/src/dustrac-editor.desktop.opt.in)
++ configure_file(${CMAKE_SOURCE_DIR}/src/dustrac-editor.desktop.opt.in ${CMAKE_BINARY_DIR}/src/dustrac-editor.desktop)
+ else()
+- set(DesktopFileSourcePath ${CMAKE_SOURCE_DIR}/src/dustrac-editor.desktop.in)
++ configure_file(${CMAKE_SOURCE_DIR}/src/dustrac-editor.desktop.in ${CMAKE_BINARY_DIR}/src/dustrac-editor.desktop)
+ endif()
+- add_custom_target(desktop-file-editor ALL
+- COMMAND cmake -E copy ${DesktopFileSourcePath}
+- ${CMAKE_BINARY_DIR}/dustrac-editor.desktop
+- DEPENDS ${EDITOR_BINARY_NAME})
+ endif()
+
+ # Add the executable
+--- dustrac-1.6.2/InstallLinux.cmake
++++ dustrac-1.6.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")
+@@ -69,8 +69,8 @@
+
+ if(ReleaseBuild)
+ # Install .desktop files
+- install(FILES dustrac-game.desktop DESTINATION share/applications)
+- install(FILES dustrac-editor.desktop DESTINATION share/applications)
++ install(FILES ${CMAKE_BINARY_DIR}/src/dustrac-game.desktop DESTINATION share/applications)
++ install(FILES ${CMAKE_BINARY_DIR}/src/dustrac-editor.desktop DESTINATION share/applications)
+
+ # Install icons
+ install(FILES data/icons/dustrac-game.png DESTINATION share/pixmaps)
diff --git a/games-sports/dustrac/files/dustrac-1.6.2-desktopfile.patch b/games-sports/dustrac/files/dustrac-1.6.2-desktopfile.patch
new file mode 100644
index 000000000000..a09edc194ecd
--- /dev/null
+++ b/games-sports/dustrac/files/dustrac-1.6.2-desktopfile.patch
@@ -0,0 +1,40 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Dec 25 23:21:50 UTC 2013
+Subject: fix desktop files
+
+--- dustrac-1.6.2/src/dustrac-editor.desktop.in
++++ dustrac-1.6.2/src/dustrac-editor.desktop.in
+@@ -4,5 +4,5 @@
+ Exec=dustrac-editor
+ Icon=dustrac-editor
+ Type=Application
+-Categories=Game
++Categories=Game;
+ StartupNotify=true
+--- dustrac-1.6.2/src/dustrac-editor.desktop.opt.in
++++ dustrac-1.6.2/src/dustrac-editor.desktop.opt.in
+@@ -4,5 +4,5 @@
+ Exec=/opt/dustrac/dustrac-editor
+ Icon=dustrac-editor
+ Type=Application
+-Categories=Game
++Categories=Game;
+ StartupNotify=true
+--- dustrac-1.6.2/src/dustrac-game.desktop.in
++++ dustrac-1.6.2/src/dustrac-game.desktop.in
+@@ -4,5 +4,5 @@
+ Exec=dustrac-game
+ Icon=dustrac-game
+ Type=Application
+-Categories=Game
++Categories=Game;
+ StartupNotify=true
+--- dustrac-1.6.2/src/dustrac-game.desktop.opt.in
++++ dustrac-1.6.2/src/dustrac-game.desktop.opt.in
+@@ -4,5 +4,5 @@
+ Exec=/opt/dustrac/dustrac-game
+ Icon=dustrac-game
+ Type=Application
+-Categories=Game
++Categories=Game;
+ StartupNotify=true