diff options
author | 2015-05-26 21:24:30 +0000 | |
---|---|---|
committer | 2015-05-26 21:24:30 +0000 | |
commit | 2d7ee8cb30f9a1303280d91796b0b77919bcdebc (patch) | |
tree | 8d8d79c7d27663bbc595e365d49374f1ad0d7716 /games-sports | |
parent | Version bump: bug #550344 by Marcin Mirosław. (diff) | |
download | historical-2d7ee8cb30f9a1303280d91796b0b77919bcdebc.tar.gz historical-2d7ee8cb30f9a1303280d91796b0b77919bcdebc.tar.bz2 historical-2d7ee8cb30f9a1303280d91796b0b77919bcdebc.zip |
version bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/dustrac/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/dustrac/Manifest | 7 | ||||
-rw-r--r-- | games-sports/dustrac/dustrac-1.11.0.ebuild | 70 | ||||
-rw-r--r-- | games-sports/dustrac/files/dustrac-1.11.0-cmake.patch | 23 | ||||
-rw-r--r-- | games-sports/dustrac/files/dustrac-1.9.2-cmake.patch | 10 |
5 files changed, 109 insertions, 9 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog index ff66950871dc..174ebbd81a94 100644 --- a/games-sports/dustrac/ChangeLog +++ b/games-sports/dustrac/ChangeLog @@ -1,6 +1,12 @@ # 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.10 2015/03/27 18:37:43 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.11 2015/05/26 21:24:24 mr_bones_ Exp $ + +*dustrac-1.11.0 (26 May 2015) + + 26 May 2015; Michael Sterrett <mr_bones_@gentoo.org> +dustrac-1.11.0.ebuild, + +files/dustrac-1.11.0-cmake.patch, files/dustrac-1.9.2-cmake.patch: + version bump 27 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org> dustrac-1.9.2.ebuild: add qttest dep (bug #544546) diff --git a/games-sports/dustrac/Manifest b/games-sports/dustrac/Manifest index 90890d23a499..88ce2f330bc0 100644 --- a/games-sports/dustrac/Manifest +++ b/games-sports/dustrac/Manifest @@ -1,5 +1,8 @@ -AUX dustrac-1.9.2-cmake.patch 1531 SHA256 f33ad565f7f4869234a1cf88458255c6f72b030d6fbe04be00f5e05f5fb3a883 SHA512 8b0479a1d2567798bc6c756a1e860dc10a53754ae8ba560be3dec9872152cb0ac6696083ddc42ea56674c875f564e9139942664a5a643face49347810c33efa0 WHIRLPOOL 95b759819de699aa4904d740eb3eac734f95fd7712c1c7f0fea4c61a2530e2f7bcfb1fdc0b04c1583d27978001c5bfd76fb1c9c96eab9515cb6ce1aa05ef524a +AUX dustrac-1.11.0-cmake.patch 1194 SHA256 60e7ae2f85864d10f10969b29ed8704475e9118a5f7321cba9cdf5225df311a6 SHA512 e614de1c2e0fdd8880876831ec39d525c5cd8c9bcc7bb90b95313aa8c394abd1120c139bb3a73691aa168d5e4ac537511227660b5e6b28515aa3a52e36377aba WHIRLPOOL 45df30f8dff71ece8b756c062d30c9d880a27118b9b076d653b9ed262e4dec7231828818d37baa94e72e0501d65fc3149d016784458195549eb5414be13590c1 +AUX dustrac-1.9.2-cmake.patch 1235 SHA256 81fee1b553ca6f21ee80eb2a0b14c26239c0c61f0b2631954734805adc38a026 SHA512 9794c8c3dcf7bb19489ee2ea671bc3cbf1313aaee6260de0c12734d37029a2a2b754455b0627f23748b9df555b046aa67da7f52efe8764a061849b8bda28fbdb WHIRLPOOL 84386f35e5a4ca00b7b86926dca716602fcc8a496f2ae254d0a76dc095b3a4351e6725002e9d0545e411738e1555d843b320bbbdcac30c553bf26af80b64d4ee +DIST dustrac-1.11.0.tar.gz 27505282 SHA256 3f1cca3d431152eb2e7702c772f744a216a47c4e0f44fa193aa62ba227e15e43 SHA512 af67b76a815543d41cf8e5681ede11bfd63a2d6be7e4a21986d495d77b2673f5a145bb1c9cd5237d2caf64a4e77f221ae48b97a38a883dcd4e5bb0ef8c55f839 WHIRLPOOL fb9dea84a5d2b771124d5ac933646fbc228078916a29cffd9330f39cb31a825379d5a40000a96909e270c739ceea5725b8798969eff3193142897e1ba659526a DIST dustrac-1.9.2.tar.gz 25892050 SHA256 6254bc0d6db7f16393ba2d9a8f41d0e3ac33448b5e806e641e859a9105b8eb85 SHA512 6b0f51304918d84447c4489171d86a5b951c804f9fb4a09ecb7de1335a8c8eacae85c9faed0da1a985aa6e721a604e6cdc320019b1f9306878c31b556ac07ae8 WHIRLPOOL 0cf41b1bc92c9eb04fe7541be76024d22daf8dd95660ba8c16153940f10883e8110d46f4a6adf16d41cf24c36c6b0d14c8343d63f22ee55e142d2fc35baa1167 +EBUILD dustrac-1.11.0.ebuild 1583 SHA256 fcc548ae504404ea493ed72c85b05f721cc2982418441c33a584a5188fb94a64 SHA512 d60a9d3a4fef7f357903afd0ff9d1edef0623dbc17655583b65fdf6a6b17e3dca4ea4d1a0ae7b88103eb8b152bb28c84e82ad9f768350e65f53575263ac670b7 WHIRLPOOL 1d3c2c2a6e5c83be1aaad6b7492d4c2356f444e686600bb92a5038c2446ebcd2125214aed9ae4eddec15fda8cbfef422c2dbb2fce3f942b3ed7f6f6e821af362 EBUILD dustrac-1.9.2.ebuild 1582 SHA256 94732b97ae1fc135d5b5208fc9330c4e102adb53f87a5645c29f2354aebac642 SHA512 3ff275652fd0a531679ded9fce35adaf4924ae8a8a4285c41ca45c13e1357984dda26672b47926c96ec18942560c1dedb2f6e2260191a43c6df53d502771390a WHIRLPOOL 3312a56bf87f4540df71db69ebabe64ff5921d0e5d1244747089f438c891455308139ff6c95aaa89f049a5756827fa1e260fd578e01122a94a0f56fda2726567 -MISC ChangeLog 1977 SHA256 79ba0f6cf666e96d0a74ac176c5e58be12e77164c5076d5723cbe7d9f4cfe902 SHA512 8e8adc62fcea5b79e26f50bb050b3db348913b7537b3a8a3f4a535ff530878c2acafbb67c3cc41a46e0b7a7cd7b7e67ade5b505d0fc13d5bc70de6bb8c706aa7 WHIRLPOOL 8b19a4050c85e05d1ab3037736e18bbe5c20fcb747fc98ad769b840dfdda4f79d3f5eef78fd7939d2b4ad32af9098773fc65e9a84ecabaf7907488d2482f6896 +MISC ChangeLog 2173 SHA256 78cc6ccc4f6afd13388842629733cfba815a02f9ee6473121fb2feadb20809f3 SHA512 90e2915287aec4b48076536d4e8afd5cd47482ae3890803bfb34df1f541585fb2747952719390229d5b504d744b33ef8f5b15c2a7f3a1d2f0ac864b7fc8302c6 WHIRLPOOL 3549e0c160ea1a68446190f212874c65bf715d7f10c157718fd3e18e948144cb196aefb94f95c5150d92e0fb9ed859a89124bcc563ff356b41381bbd6d2f94d8 MISC metadata.xml 588 SHA256 2b82ba4a293f88bd051dba58a6645ab356e927de1885fc866233cb9e5a7b2c45 SHA512 061751925bd00f50225168ef23f1b3ebbaae9a0bd071207407db2fb227fdebedf7e2ab36c89d80109b92d4686ecee70bc5c17c5702fd3dceccda920abbb37555 WHIRLPOOL 046d707009bd186428f0ff3689872df2f23d86519ffe866082e91a3f8db0aa83bee0e03332673df4b26f341ef325966722730b6c13804251ec638a77528b8bd5 diff --git a/games-sports/dustrac/dustrac-1.11.0.ebuild b/games-sports/dustrac/dustrac-1.11.0.ebuild new file mode 100644 index 000000000000..f5e2bf0a02b4 --- /dev/null +++ b/games-sports/dustrac/dustrac-1.11.0.ebuild @@ -0,0 +1,70 @@ +# 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.11.0.ebuild,v 1.1 2015/05/26 21:24:24 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.11.0-cmake.patch b/games-sports/dustrac/files/dustrac-1.11.0-cmake.patch new file mode 100644 index 000000000000..6f497e4969ef --- /dev/null +++ b/games-sports/dustrac/files/dustrac-1.11.0-cmake.patch @@ -0,0 +1,23 @@ +--- dustrac-1.11.0.orig/CMakeLists.txt ++++ dustrac-1.11.0/CMakeLists.txt +@@ -68,8 +68,7 @@ + endif() + + if(CMAKE_COMPILER_IS_GNUCXX OR MINGW OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +- add_compile_options(-std=c++11 -W -Wall -O3 -pedantic) +- add_compile_options(-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.11.0.orig/InstallLinux.cmake ++++ dustrac-1.11.0/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/surfaces.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") diff --git a/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch b/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch index c287ac3401e6..a90f7079ece1 100644 --- a/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch +++ b/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch @@ -1,6 +1,5 @@ -diff -ru dustrac-1.9.2.orig/CMakeLists.txt dustrac-1.9.2/CMakeLists.txt ---- dustrac-1.9.2.orig/CMakeLists.txt 2015-01-18 15:25:19.000000000 -0500 -+++ dustrac-1.9.2/CMakeLists.txt 2015-02-26 12:28:00.270875467 -0500 +--- dustrac-1.9.2.orig/CMakeLists.txt ++++ dustrac-1.9.2/CMakeLists.txt @@ -68,8 +68,7 @@ endif() @@ -11,9 +10,8 @@ diff -ru dustrac-1.9.2.orig/CMakeLists.txt dustrac-1.9.2/CMakeLists.txt elseif(MSVC) add_definitions(-DNOMINMAX) endif() -diff -ru dustrac-1.9.2.orig/InstallLinux.cmake dustrac-1.9.2/InstallLinux.cmake ---- dustrac-1.9.2.orig/InstallLinux.cmake 2015-01-18 15:25:19.000000000 -0500 -+++ dustrac-1.9.2/InstallLinux.cmake 2015-02-26 12:28:27.246817132 -0500 +--- 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}) |