diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-27 17:43:04 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-27 17:43:04 +0000 |
commit | 47ec9b0ee0eb4a0c8c8aaf1904a5d105d41cdea0 (patch) | |
tree | 4bf7c49bdf125585c9f51c462d0deb966e9f7125 /games-sports | |
parent | Version bump (bug #541514). (diff) | |
download | historical-47ec9b0ee0eb4a0c8c8aaf1904a5d105d41cdea0.tar.gz historical-47ec9b0ee0eb4a0c8c8aaf1904a5d105d41cdea0.tar.bz2 historical-47ec9b0ee0eb4a0c8c8aaf1904a5d105d41cdea0.zip |
version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/dustrac/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/dustrac/Manifest | 5 | ||||
-rw-r--r-- | games-sports/dustrac/dustrac-1.9.2.ebuild | 69 | ||||
-rw-r--r-- | games-sports/dustrac/files/dustrac-1.9.2-cmake.patch | 25 |
4 files changed, 105 insertions, 2 deletions
diff --git a/games-sports/dustrac/ChangeLog b/games-sports/dustrac/ChangeLog index 50fa58acd8ac..ce4fdc88bc71 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.7 2015/01/26 22:10:14 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/dustrac/ChangeLog,v 1.8 2015/02/27 17:42:58 mr_bones_ Exp $ + +*dustrac-1.9.2 (27 Feb 2015) + + 27 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> +dustrac-1.9.2.ebuild, + +files/dustrac-1.9.2-cmake.patch: + version bump 26 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org> +files/dustrac-1.7.3-desktopfile.patch, -dustrac-1.7.2.ebuild, diff --git a/games-sports/dustrac/Manifest b/games-sports/dustrac/Manifest index b583bbad59a5..2ea7bc8147ba 100644 --- a/games-sports/dustrac/Manifest +++ b/games-sports/dustrac/Manifest @@ -1,6 +1,9 @@ AUX dustrac-1.7.3-cmake.patch 3516 SHA256 8393c8b31a770ce1e34c64988292a0e735b881426025a15d02cb6df36cc0c15e SHA512 de2962e2ae3660727f7e9ff9475b4886efae4d61c3c00304403da7e73e899406c3fc295f65d9ee48d14ba5a4c4e4a498714309fa423b2bc1ffd8edb00acc16b9 WHIRLPOOL e0f532451d0f90a63225ec0bf1bf94516ed3d3a6842e0ed35ba4146293182b703027af886d7fa8a7d549b86a20cd744605c6d81ab0a114453d67123d9a76ec54 AUX dustrac-1.7.3-desktopfile.patch 1039 SHA256 1629ff528295d4bceda2927cb0686b5c356c3a507e82c0bacf8cc8060bfbca3d SHA512 160fcfdc356e7a6b37b2652359011a4ea2b27cddf3612316f274d3442139c301dc164f5e73f1d40a0516dfd87eeb4e67b6060163d7724232eaf06239a4693852 WHIRLPOOL b7157c79e2fee71c0632536520d23bd536c735e78a8185f82a8421d00192af1aa0ec4df4565e972615575dbe4ea09314febd43e551603a3dd7308e74fafc2031 +AUX dustrac-1.9.2-cmake.patch 1531 SHA256 f33ad565f7f4869234a1cf88458255c6f72b030d6fbe04be00f5e05f5fb3a883 SHA512 8b0479a1d2567798bc6c756a1e860dc10a53754ae8ba560be3dec9872152cb0ac6696083ddc42ea56674c875f564e9139942664a5a643face49347810c33efa0 WHIRLPOOL 95b759819de699aa4904d740eb3eac734f95fd7712c1c7f0fea4c61a2530e2f7bcfb1fdc0b04c1583d27978001c5bfd76fb1c9c96eab9515cb6ce1aa05ef524a DIST dustrac-1.7.3.tar.gz 25824731 SHA256 1ab0f2575d85be68bdb4463346a6815b60c7e2c055a6759dd1025a7333ee722d SHA512 daade9e0cd3501167da5a0fddf51a6d352665fd6348ba4931640e7bbbdeda3a43e25c93bc9ba569a5e0388097c342bd6c9aaafc39d9ab1b328e6db1672657c06 WHIRLPOOL ccfa9e12300323e302b73e073f4b52ccee285697cd7725b5440bcdc4d96cdc95d610816a9cb0b4532472a3268ddd59625936daba4badc6d43519dd5bec01519b +DIST dustrac-1.9.2.tar.gz 25892050 SHA256 6254bc0d6db7f16393ba2d9a8f41d0e3ac33448b5e806e641e859a9105b8eb85 SHA512 6b0f51304918d84447c4489171d86a5b951c804f9fb4a09ecb7de1335a8c8eacae85c9faed0da1a985aa6e721a604e6cdc320019b1f9306878c31b556ac07ae8 WHIRLPOOL 0cf41b1bc92c9eb04fe7541be76024d22daf8dd95660ba8c16153940f10883e8110d46f4a6adf16d41cf24c36c6b0d14c8343d63f22ee55e142d2fc35baa1167 EBUILD dustrac-1.7.3.ebuild 1293 SHA256 a89d9319c4662bc7c4c8f418d60226185067d09ca94867fea2313e0993dcffec SHA512 6cd98967fd070b22674d67f3e234397b834281703b23808cf7c6cfaa2361501d884f0ece73b304d39a4d9c98d93d919671a7d6056bccadf3fac6bb1130743b72 WHIRLPOOL 4f26c2ff4d2f932c357dff8a79570c169ed88772b4326a958cb7eac66d22545fff550a5f24c12ad42e7410a90b543bc8ccb2f78d6d9f3b7699f81af094516480 -MISC ChangeLog 1546 SHA256 aae124870901115bf60e72c7781e4b3a2a11173b88434048ed8aaaa7ed346b44 SHA512 fb86a67e35d7bcd5455378dbc8c8a17f470fe1be604e120fb00d9f807ee47e99c12e284ef86933113ea4ec2516be12ff12748504c84b14c74c5b745e55c3db6e WHIRLPOOL 49973e87684150170020b1aabb877359ab9c44ae846c81eefa5bf597d872de35c7d8a972a91c1b49e3df91f470e3370c17189593507a6a42a92fbe241fd94087 +EBUILD dustrac-1.9.2.ebuild 1565 SHA256 da96b3e020814c49d2cdd09387f5cc7be813410ac2e95bf76498c11cc3dcb8b5 SHA512 6df0ae7c1afc1a6a6f7d3f772fe4143b9369c3437b717a5ec230efff3c37011ed27616c268b4306a8da7bba78b54fc2e3c6d36d20436932362254f836d52739a WHIRLPOOL 115f72951d4d5c163f2ca72b81389834dda9e72b78b6b6c2f63b13260cf1839299aabbef815605b9e6cc38fb9ee7e138237858781523b32e6ad23bc632f4b6dd +MISC ChangeLog 1706 SHA256 2a07c747b628f8b1d78c79d58443a86af146e32533232515b288026783e2dde7 SHA512 a6bbd1bea1197f6323560f494cb7c01e15a97a46fc184918bfcd35cb75a6ada7a4209ea70c0b189922bce6f58e3f0346a561ef150cf011934633fecd80c41ec3 WHIRLPOOL b2345b51c1728f4aa2efae5abd5979b41cea913ea314fc500e5abce8d139ecfb84019e62b0b5430a88133c1fd390728239fc211bd19a703804578680766f4cc3 MISC metadata.xml 588 SHA256 2b82ba4a293f88bd051dba58a6645ab356e927de1885fc866233cb9e5a7b2c45 SHA512 061751925bd00f50225168ef23f1b3ebbaae9a0bd071207407db2fb227fdebedf7e2ab36c89d80109b92d4686ecee70bc5c17c5702fd3dceccda920abbb37555 WHIRLPOOL 046d707009bd186428f0ff3689872df2f23d86519ffe866082e91a3f8db0aa83bee0e03332673df4b26f341ef325966722730b6c13804251ec638a77528b8bd5 diff --git a/games-sports/dustrac/dustrac-1.9.2.ebuild b/games-sports/dustrac/dustrac-1.9.2.ebuild new file mode 100644 index 000000000000..dd4e4558b331 --- /dev/null +++ b/games-sports/dustrac/dustrac-1.9.2.ebuild @@ -0,0 +1,69 @@ +# 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.1 2015/02/27 17:42:58 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} + 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 new file mode 100644 index 000000000000..c287ac3401e6 --- /dev/null +++ b/games-sports/dustrac/files/dustrac-1.9.2-cmake.patch @@ -0,0 +1,25 @@ +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 +@@ -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() +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 +@@ -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") |