summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-01-26 23:15:16 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-01-26 23:15:16 +0000
commite7cefb6a668c0125805a9f0ae806a2e66efb6fb3 (patch)
tree9b4fc10fff3799958c57bfb9eeb05ba62926f6ee /games-sports/dustrac
parentversion bump (diff)
downloadhistorical-e7cefb6a668c0125805a9f0ae806a2e66efb6fb3.tar.gz
historical-e7cefb6a668c0125805a9f0ae806a2e66efb6fb3.tar.bz2
historical-e7cefb6a668c0125805a9f0ae806a2e66efb6fb3.zip
version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-sports/dustrac')
-rw-r--r--games-sports/dustrac/ChangeLog11
-rw-r--r--games-sports/dustrac/Manifest20
-rw-r--r--games-sports/dustrac/dustrac-1.6.3.ebuild68
-rw-r--r--games-sports/dustrac/files/dustrac-1.6.3-cmake.patch79
-rw-r--r--games-sports/dustrac/files/dustrac-1.6.3-desktopfile.patch40
5 files changed, 207 insertions, 11 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog
index d27b90f0ac38..5b2a274dbef5 100644
--- a/games-sports/dustrac/ChangeLog
+++ b/games-sports/dustrac/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# 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 $
+
+*dustrac-1.6.3 (26 Jan 2014)
+
+ 26 Jan 2014; Julian Ospald <hasufell@gentoo.org> +dustrac-1.6.3.ebuild,
+ +files/dustrac-1.6.3-cmake.patch, +files/dustrac-1.6.3-desktopfile.patch:
+ version bump
*dustrac-1.6.2 (26 Dec 2013)
@@ -8,4 +14,3 @@
+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
index a3fa53ad7dae..ac57ba2e0807 100644
--- a/games-sports/dustrac/Manifest
+++ b/games-sports/dustrac/Manifest
@@ -3,18 +3,22 @@ Hash: SHA256
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
+AUX dustrac-1.6.3-cmake.patch 3576 SHA256 a95010263528175fac49d37685c03adf02977db12194a13295d5918af6152005 SHA512 4711a0b2cf52423d166a262ae11bd875f581e9f3a203e23b5294e377c2fb6391964beb3ceba8662cd42e2121eda1004a9c13ae93b98fde6e109d8cf96836d831 WHIRLPOOL 794affd4e3ed061b201ffb02bb54391fbeb6a6574213cf520315996f21236cb890702e5ad60139ae0a7d9687db58b31a84f20963ed576166c3e8d6b8679d1303
+AUX dustrac-1.6.3-desktopfile.patch 1039 SHA256 1629ff528295d4bceda2927cb0686b5c356c3a507e82c0bacf8cc8060bfbca3d SHA512 160fcfdc356e7a6b37b2652359011a4ea2b27cddf3612316f274d3442139c301dc164f5e73f1d40a0516dfd87eeb4e67b6060163d7724232eaf06239a4693852 WHIRLPOOL b7157c79e2fee71c0632536520d23bd536c735e78a8185f82a8421d00192af1aa0ec4df4565e972615575dbe4ea09314febd43e551603a3dd7308e74fafc2031
DIST dustrac-1.6.2.tar.gz 21623207 SHA256 21949f179d39b8d3dd98323105b321ccbe406cbad24e3ec970719236d4a78bc5 SHA512 c04f227ed95f6fca7014e3d2ad8f2b40801f02e4aef83e6435b01d95965da3f0f6326fe889ab5d1621131c7c5d0f2135231f280daa3559a291570015ec10ce1a WHIRLPOOL 366d97e349f7990e0b8343b360d9589f90ebe87db201b378b506f6c8a73567f36c67a09a51ecc1fbeabda83bc839467e77751ef7fc0147c4c9fbeefe592e3eac
+DIST dustrac-1.6.3.tar.gz 21625967 SHA256 caccf1a80e674a762d33cba68f8e125d478b0dd270549a6aeb86f91bd3c3e7ee SHA512 634ae5bf4d1978afd4442bcb25eef081fe8d72fcf2d57a6dac2325e41a4704014c96c87a395660bf50d06c1033144aab3a233856d51d5ea01ee092147323b7d8 WHIRLPOOL 9a2bd3871f4b83c05cb7df007ec7c2681f48b2a89d2f06a05779ae4e8c72237239e2d91939b40809d21294e5b762551b82986bcf798f3f20f0eab6d6bbdc8e64
EBUILD dustrac-1.6.2.ebuild 1242 SHA256 2f747ddcdc3610c6730200b933b57016c246c529dc2d9bd8fd4328e516c1d270 SHA512 3e91fe1caa3d40d1204d45ca4bf3d8faebf3fa105992a7269069061b303510f13b94dc3e417ff531acb6ada1eb69e9f0e6c6b959e9e7ab8f755550d5174b6fc6 WHIRLPOOL d40dc7aba1b72c184882f91182fd5d11f8da13b7d38799c3943c931a358e2d3d1203599eaf3880b782a11a8581e6cea0130a3ee4815e63a25241345021dbef57
-MISC ChangeLog 430 SHA256 bae30d2199709ddbf5be962702890fa60975bc455f2b9b9043be5a3eeb1a3fb7 SHA512 7fba22fcc568d84dcbcc2b795228abb12be90927f0e72caf1fb499393a21ce3afde1c8af2ef9d141912d61f334fa5ac8e4a2e1bb7fbbe4c31ea5ff4ebeb178e1 WHIRLPOOL 3fa7f1cab7f76070ef14de16589e2c9e19ed697fe540aa6e3d74581bf41bdf482bf0464a48ce0072c3929dc8d86ee4152d568192353ab37f9bdcf2c5dd2e956a
+EBUILD dustrac-1.6.3.ebuild 1296 SHA256 6452ad2228b1f6542050acc1d18db452387d7baa3d41593cb5a6f270bbf2b1a9 SHA512 b175f4b695b839499ee224c0d155cc7c2bb899ae3d562e8d1628eeff86f3f1302afb4ffb69873c59b21a289ed17bec8affe543b344145fa536fe9babc5eb588d WHIRLPOOL 98e74725e9a522da85461e417e794baf00b754817ec850c3ba45b61ebbc6d22f13350fcb1ed05977fac996780beee5ea891d29c4d8aae819ec479c5d480fea90
+MISC ChangeLog 625 SHA256 f722346cce72edce1e372216f4567849a90ac873711935287030c39f009e13db SHA512 3d0902afcb20a0e7d1d3ea19a23071114d358e61e384c728211230db904c038a164801f9d71a649a878581bbe32f4249a5c881d8a68a488b33497af9f7010e9f WHIRLPOOL be4e6886b2abbc0f3a168643cda75cfaf6a055d281306855e8ac85c2febe8371b2461af556a448381d63d8c862522ea8fc0438d4158c746aff36b95fc605abf9
MISC metadata.xml 683 SHA256 6eefdd6ad85a2b0c933271e1df6badaf02a90ce36024fb846e6d139a94eced57 SHA512 363fdfda89ba17abb084a05c874ec46e0634e4a7d482ae7e9fb06c867c032f74084886f07e908ecd9212f7cd9393cb80057a70c38bbcf245d784d928551fd653 WHIRLPOOL 4ffff06f14938edbb423b73ad499b9d0f5d4f2ebb023f6cd9638b7b192da9258717da13c5beff8b20bede2ed375d8252b42fffd7a7aa4bf21eecb84fcdc92698
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSvDTzAAoJEFpvPKfnPDWzwdsH/R/XS7+u/G0rsRwSSV66+Qgn
-xxZHZIBwpTG1GYMxD5rtK4sX2aWDUctrNXWjsaEGmZVOaMZsPcwq75Tohs2aUQvV
-0GP+dTxtFcK0NrB//sMCuaUZAMeWszTbYWFAPQ9e9PuMihB6siD08ecpQwPzHVd5
-X62TBnX6IU8keIqk3gCIhtARZolBJFru/96ORn32CgbywBgEBbVW84CAl+h5fZxz
-qAQOxrvU8OGUvkMK8WmidWSeR/Y24vJ5I2+oeZsukKhrNZFjjq0tITXOskosoZqn
-4SEqbZczfPFxXkn5T+n8d2K/eQWQEmj4LrP1PDzRxu3KghmgmicwDQPsTbsAgrE=
-=gBX8
+iQEcBAEBCAAGBQJS5ZcEAAoJEFpvPKfnPDWzhP0H+gPrGzfmuDuKp/TXaMPWRLQq
+ZLcHVjASXfyqbZkBY8E1aKkTc7mbRQ8H+WXNFYHjIeGi5ezDM+EgM1/HtTOGdWig
+ShMPM8H2EJdv0A9tFGerMogpox62e3rV5oiF7xVrViPJ63/gRzeDERnIhaDgo6mk
++eynJD4ac3ZAsmKNOFXmVpIT3/M4gJdpPrZLjsJlO/8pIt1BfugEBPORMEaV5hYu
+tEyndmiqbPki1g7P25HKYCYR8zawZ/7QNHIh/6iftFYPvkLTAq8sUfsFzCJdsKNx
+S4mMkXNm67+ROhITll8fXu+Thw+m7d9GG4Qno0/FdYUwSW9/whG1o/0cv9sBW98=
+=dMcu
-----END PGP SIGNATURE-----
diff --git a/games-sports/dustrac/dustrac-1.6.3.ebuild b/games-sports/dustrac/dustrac-1.6.3.ebuild
new file mode 100644
index 000000000000..6afadcaedaa0
--- /dev/null
+++ b/games-sports/dustrac/dustrac-1.6.3.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.6.3.ebuild,v 1.1 2014/01/26 23:15:10 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}"/${P}-cmake.patch \
+ "${FILESDIR}"/${P}-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
+}
diff --git a/games-sports/dustrac/files/dustrac-1.6.3-cmake.patch b/games-sports/dustrac/files/dustrac-1.6.3-cmake.patch
new file mode 100644
index 000000000000..335fd46accf6
--- /dev/null
+++ b/games-sports/dustrac/files/dustrac-1.6.3-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.3-desktopfile.patch b/games-sports/dustrac/files/dustrac-1.6.3-desktopfile.patch
new file mode 100644
index 000000000000..a09edc194ecd
--- /dev/null
+++ b/games-sports/dustrac/files/dustrac-1.6.3-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