diff options
Diffstat (limited to 'games-util')
197 files changed, 5276 insertions, 0 deletions
diff --git a/games-util/antimicro/Manifest b/games-util/antimicro/Manifest new file mode 100644 index 000000000000..c3aa5eb7cddb --- /dev/null +++ b/games-util/antimicro/Manifest @@ -0,0 +1,5 @@ +DIST antimicro-2.20.2.tar.gz 1069469 SHA256 9e845debb4629cdbc3deedd02821196e27e177724492d937aa966a09f99b70ac SHA512 09847c804b6a1d022f2990d269c9124cfdfab821e0fd1cb1ab5e27e4c6a3bd250fab5977ca614f03c46456ca6e1c7111135b9b4d8f75e54c435e0b712653e282 WHIRLPOOL 6c5f7029c87e5bcf94d39de83fec2e1923d714288d59bd227819c0817a20d46f98673189781a266ec85430ec05a4b5d496ea1892f6a37e8c8c6455090f5831b5 +EBUILD antimicro-2.20.2.ebuild 705 SHA256 4906ea784aeb5de586c7d6c2f2dddc3a6e9f9ac226e8725eb01764b6aa706fc0 SHA512 b96b7fa1b1216b1cef37923a33f456199ccb6077602ec05f2c81669e2bec042dd0197d21c9daa62e478fafcc534f44aeaab7f023341465173a324d0b7066cb48 WHIRLPOOL c977e493077734cf72ee281fae3bc912f7274a0a36603a7176e1528d9b29a2fc832fdadb4cea6b8e5ba54fa97fbd4b3f42a61e089bff5ec97fa5a8376d40e4d8 +MISC ChangeLog 3740 SHA256 360bc05c61e8a23c8ebe220f5863c38b631e14a521c819aed9a23482b6a6feba SHA512 7aeb9d859765455337891b16d8405dca4fd1517e9431a6d3a807091bb0cd6060cc44690ca3954f91f5d1e298249f031d18b453373fd3998edb88bb4e34220b32 WHIRLPOOL 7a3dfd94df2f0fae5a03682b27997be093aa8204be999f90b504299daa1c51844daef45395a32f32e28e2b76503678b8a98773ae2c8704f7e02ccc823bfc6286 +MISC ChangeLog-2015 2509 SHA256 455206ad3f9c2dd4d47368d86786fda52351111080883333ec8802684ec39e84 SHA512 c094c441ef7bde5811ca6d9e099440c685aa29c9395b1ece7f853e182dbd48ee2271fbc4b4e4ca45d15750142e5980e862a984cda59a52057e8de5948ded6756 WHIRLPOOL 8bc744706f89d18a9b9ae83844d36625182c00aadec208e76d961d52b73dd4dba84b4fa51b6799dcbf0a0c70f30dbf462814c47a66da39ba7287b1cf89fa3a0f +MISC metadata.xml 336 SHA256 b429abd78b54c4e4362c3297e68ea38418a7623b4481ec88999ad4d1f9b972df SHA512 6df67abd609cd6d4e29875695481bca8857c6a1d1c8f4803c40d584cacd47a46ed3f9fdaa6a7369950a795ce07cc61ad47fa096ea35a463a6594916ae52a4968 WHIRLPOOL 84dc3fba81fa6986f3d65bc3d704fca4c6f6ca750c405e496b49edfa589673316d3f0bb2eeb85829b06742b72815bae39cfe06ef574e6dae96b68a42f2827267 diff --git a/games-util/antimicro/antimicro-2.20.2.ebuild b/games-util/antimicro/antimicro-2.20.2.ebuild new file mode 100644 index 000000000000..e847d89f734e --- /dev/null +++ b/games-util/antimicro/antimicro-2.20.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils cmake-utils + +DESCRIPTION="Map keyboard and mouse buttons to gamepad buttons" +HOMEPAGE="https://github.com/Ryochan7/antimicro" +SRC_URI="https://github.com/Ryochan7/antimicro/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 + media-libs/libsdl2[X,joystick] + x11-libs/libX11 + x11-libs/libXtst" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DUSE_SDL_2=ON + ) + + QT_SELECT=5 cmake-utils_src_configure +} diff --git a/games-util/antimicro/metadata.xml b/games-util/antimicro/metadata.xml new file mode 100644 index 000000000000..68a912826f90 --- /dev/null +++ b/games-util/antimicro/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="github">Ryochan7/antimicro</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/atlas/Manifest b/games-util/atlas/Manifest new file mode 100644 index 000000000000..57613182d77d --- /dev/null +++ b/games-util/atlas/Manifest @@ -0,0 +1,6 @@ +AUX atlas-0.5.1_beta_pre20160907-simgear-compilation.patch 8125 SHA256 1799fc78c900d65dee5ee7b05e4a87c70cc4e5396a691f82675d86149cc16cfb SHA512 871e576cb95565b658379d76c285067c820f591f97bd1826a11f396742651aa7e783f85b9278039ab4bd2c8e6f9f0268323185a8219408c8f01fa67db65f856f WHIRLPOOL 65dab346ecc9600e3e53848d8b21f43258e71ca54676f0c264791674cc66fd8fa119bd97d4d49e6ce1c615b7b5c3bc187150c0b68c3ac127d0d32a7cb214d17d +DIST atlas-hgcode-e183e3b3a0412b504edcb3664445b3e04fd484a2.zip 530005 SHA256 216661375ac69ec809da959e525cb6d88ed9bcdde0591e0beaead0a8e4d402e5 SHA512 5f4453c81b01451ce69f4f1340a7c34736be3a9ecf638aa340455d0bb0af7a5d1a7e05d0b51e8b75f5c3acef4787d208ace75d4c686e8be7eafb8f81c71df360 WHIRLPOOL 030f10cd5be4ef59020b7bd0b2078910ef5e9740c05ec9a7b200229c8a50474b40272fde3e004dd2f8af8269ef3aa0c67f8130fb1da69e75463b5c2fcddffeba +EBUILD atlas-0.5.1_beta_pre20160907.ebuild 1395 SHA256 64f903483f5e3e74fb2aa15592abdb3601c7e1e226a68f7536f00a3ba84880e9 SHA512 c5393fad83170e30b70d7f5f1d37d54192dc1a539b7172c88fa5b472f90300b2dadc166fb642817db110bdee393a109c1dcf796cd3fda947a9c0a852c7e814fd WHIRLPOOL 18a5013fba1e136d361d151b7aeae9086dafe0b3b19d34dd53341938f329a849b45f02f07b0732924c729929cad29bb3d84bdd0e70089fb96c8d9720725aa320 +MISC ChangeLog 3405 SHA256 9b6a0b3c03ebcb971d276f1f04f6a55054991c51a37d0571e891630b624f6218 SHA512 92eb29bb20d5350151fb1656a5ba85b238dda709c4a08c14272110f358383a9cd7013eeda06333b938c6c9a41ab4a759d70d0d0745481ed06a8ed6ad026976ee WHIRLPOOL ede565142c442fdeb8126fad934570cec1ed79909d9aff865d60a0e313fa74ff2a70810927a292a3f67b19e1aa42a8acb9a1dac2a3ac81ee34fecd2b0acc8fc6 +MISC ChangeLog-2015 4504 SHA256 aa352c4954ba51453c1a44b4929191440b7ca5212fc9008c82639f1af225ef1f SHA512 297e18a6c2a58bea5c4e103eeedba48cc49e67a6d27a0bf10a536fd5786e48b24115cddd1809077177f3cd50b5998ec5842d3fa566a5740a40ecb3feb0f3e6bf WHIRLPOOL 94a5e87700c00cbcd959a5503c73e3e2ba4619cf41cb9f19e54939ad866ac088d30207dd775a99b5dcb08ac21fcfb18de200211fdce6949405f63376a080a2b8 +MISC metadata.xml 440 SHA256 c10917d8baaba4cf49f418ba08dfd029ed3570526536268bc0fae0a176a0d7a5 SHA512 761058431181d1ca1367ef68e464e7ee1a19a69576b46768a652be280ce7d161bcdf8f5d8b993a7d8a7ababe4a8e436f11ff3ee4ad1661b50e8a8c6edbf62158 WHIRLPOOL c89b4d0407828a0c61e3c921f752ce1fab89d2326637f8e43e677dc3b63d958da73aa5e8c79b0ff3cd30a25b5cc92f7c9da0a04685ef551b617cd3551d788527 diff --git a/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild b/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild new file mode 100644 index 000000000000..5d915b192896 --- /dev/null +++ b/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_PN=atlas-hgcode +MY_PV=e183e3b3a0412b504edcb3664445b3e04fd484a2 +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Chart Program to use with Flightgear Flight Simulator" +HOMEPAGE="http://atlas.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~reavertm/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=" + media-libs/freeglut + media-libs/glew:0= + media-libs/libpng:0= + net-misc/curl + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl +" +DEPEND="${COMMON_DEPEND} + >=dev-games/simgear-3.0.0 + media-libs/plib +" +RDEPEND="${COMMON_DEPEND} + >=games-simulation/flightgear-3.0.0 +" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${P}-simgear-compilation.patch" +) + +src_prepare() { + default + + # -Wnarrowing failure, #612986 + sed -i -e 's:0x:(char)0x:g' src/tiles.h || die + + eautoreconf +} + +src_configure() { + econf \ + --datadir="${EPREFIX}"/usr/share/flightgear \ + --enable-simgear-shared \ + --with-fgbase="${EPREFIX}"/usr/share/flightgear +} + +pkg_postinst() { + elog "To run Atlas concurrently with FlightGear use the following:" + elog "Atlas --path=[path of map images] --udp=[port number]" + elog "and start fgfs with the following switch (or in .fgfsrc):" + elog "--nmea=socket,out,0.5,[host that you run Atlas on],[port number],udp" +} diff --git a/games-util/atlas/files/atlas-0.5.1_beta_pre20160907-simgear-compilation.patch b/games-util/atlas/files/atlas-0.5.1_beta_pre20160907-simgear-compilation.patch new file mode 100644 index 000000000000..f6e4d58bf3b2 --- /dev/null +++ b/games-util/atlas/files/atlas-0.5.1_beta_pre20160907-simgear-compilation.patch @@ -0,0 +1,273 @@ +diff -r e183e3b3a041 configure.ac +--- a/configure.ac Tue Sep 06 22:12:05 2016 -0700 ++++ b/configure.ac Sat Mar 18 05:09:04 2017 +0100 +@@ -10,6 +10,8 @@ + AC_PREREQ(2.52) + AM_INIT_AUTOMAKE + ++CXXFLAGS="-std=c++11" ++ + dnl Checks for programs. + AC_PROG_MAKE_SET + AC_PROG_CC +diff -r e183e3b3a041 src/FlightTrack.cxx +--- a/src/FlightTrack.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/FlightTrack.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -81,7 +81,7 @@ + throw runtime_error("flight file open failure"); + } + +- _file.set(filePath); ++ _file = SGPath(filePath); + + _port = -1; + _device = ""; +@@ -101,7 +101,7 @@ + _input_channel = new SGSocket("", portStr.str(), "udp"); + _input_channel->open(SG_IO_IN); + +- _file.set(""); ++ _file = SGPath(); + + _port = port; + _device = ""; +@@ -123,7 +123,7 @@ + _input_channel = new SGSerial(device, baudStr.str()); + _input_channel->open(SG_IO_IN); + +- _file.set(""); ++ _file = SGPath(); + + _port = -1; + _device = device; +@@ -399,11 +399,11 @@ + return _name.str(); + } + +-void FlightTrack::setFilePath(char *path) ++void FlightTrack::setFilePath(const char *path) + { + // EYE - check for existing name? overwriting? + // EYE - call this (and other accessors) from constructors? +- _file.set(path); ++ _file = SGPath(path); + // We count this as a change. + _version++; + _versionAtLastSave = 0; +diff -r e183e3b3a041 src/FlightTrack.hxx +--- a/src/FlightTrack.hxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/FlightTrack.hxx Sat Mar 18 05:09:04 2017 +0100 +@@ -141,7 +141,7 @@ + const char *fileName(); // File name + const char *filePath(); // Full path, including file + const char *niceName(); // Nicely formatted name +- void setFilePath(char *path); ++ void setFilePath(const char *path); + void save(); + bool modified(); + +diff -r e183e3b3a041 src/Geographics.cxx +--- a/src/Geographics.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Geographics.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -25,6 +25,7 @@ + #include "Geographics.hxx" + + // C++ system files ++#include <cmath> + #include <stdexcept> + + // Our project's include files +@@ -431,11 +432,11 @@ + bool AtlasCoord::_geodValid() const + { + // Note: this has to agree with the value set in invalidate()! +- return !isnan(_geod.getLatitudeDeg()); ++ return !std::isnan(_geod.getLatitudeDeg()); + } + + bool AtlasCoord::_cartValid() const + { + // Note: this has to agree with the value set in invalidate()! +- return !isnan(_cart.x()); ++ return !std::isnan(_cart.x()); + } +diff -r e183e3b3a041 src/Map.cxx +--- a/src/Map.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Map.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -168,13 +168,13 @@ + bool parse_arg(char* arg) + { + if (strncmp(arg, "--fg-root=", 10) == 0) { +- fg_root.set(arg + 10); ++ fg_root = SGPath(arg + 10); + } else if (strncmp(arg, "--fg-scenery=", 13) == 0) { +- scenery.set(arg + 13); ++ scenery = SGPath(arg + 13); + } else if (strncmp(arg, "--atlas=", 8) == 0) { +- atlas.set(arg + 8); ++ atlas = SGPath(arg + 8); + } else if (strncmp(arg, "--palette=", 10) == 0) { +- palette.set(arg + 10); ++ palette = SGPath(arg + 10); + } else if (strcmp(arg, "--png") == 0) { + imageType = TileMapper::PNG; + } else if (strcmp(arg, "--jpeg") == 0) { +@@ -272,23 +272,14 @@ + // Read the FG_ROOT and FG_SCENERY environment variables before + // processing .atlasmaprc and command args, so that we can + // override them if necessary. +- char *env = getenv("FG_ROOT"); +- if (env == NULL) { +- // EYE - is it possible for this to not be defined? +- fg_root.set(FGBASE_DIR); +- } else { +- fg_root.set(env); +- } + +- env = getenv("FG_SCENERY"); +- if (env == NULL) { +- fg_scenery.set(fg_root.str() + "/Scenery"); +- } else { +- fg_scenery.set(env); +- } ++ // EYE - is it possible for this to not be defined? ++ fg_root = SGPath::fromEnv("FG_ROOT", SGPath(FGBASE_DIR)); ++ ++ fg_scenery = SGPath::fromEnv("FG_SCENERY", fg_root.str() + "/Scenery"); + + // Set a default palette. +- palette.set("default.ap"); ++ palette = SGPath("default.ap"); + + // Process ~/.atlasmaprc. + char* homedir = getenv("HOME"); +@@ -332,10 +323,10 @@ + // 'scenery'. We're done. + } else if (!fg_scenery.str().empty()) { + // From FG_SCENERY +- scenery.set(fg_scenery.str()); ++ scenery = SGPath(fg_scenery.str()); + } else if (!fg_root.str().empty()) { + // Default: $FG_ROOT/Scenery +- scenery.set(fg_root.str()); ++ scenery = SGPath(fg_root.str()); + scenery.append("Scenery"); + } else { + fprintf(stderr, "%s: No scenery directory specified.", appName); +@@ -356,7 +347,7 @@ + } else if (!fg_root.str().empty()) { + // EYE - make default $HOME/Atlas? + // Default: $FG_ROOT/Atlas +- atlas.set(fg_root.str()); ++ atlas = SGPath(fg_root.str()); + atlas.append("Atlas"); + } else { + fprintf(stderr, "%s: No map directory specified.", appName); +@@ -394,11 +385,11 @@ + SGPath palettePath; + palettePath.append(palette.str()); + if ((atlasPalette = loadPalette(palettePath.c_str())) == NULL) { +- palettePath.set(atlas.str()); ++ palettePath = SGPath(atlas.str()); + palettePath.append("Palettes"); + palettePath.append(palette.str()); + if ((atlasPalette = loadPalette(palettePath.c_str())) == NULL) { +- palettePath.set(fg_root.str()); ++ palettePath = SGPath(fg_root.str()); + palettePath.append("Atlas"); + palettePath.append("Palettes"); + palettePath.append(palette.str()); +diff -r e183e3b3a041 src/Preferences.cxx +--- a/src/Preferences.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Preferences.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -317,7 +317,7 @@ + { + string buf; + is >> buf; +- p.set(buf); ++ p = SGPath(buf); + + return is; + } +@@ -638,7 +638,7 @@ + // EYE - just get()? + SGPath p(fg_root.get(Pref::FACTORY)); + if (p.isNull()) { +- p.set(FGBASE_DIR); ++ p = SGPath(FGBASE_DIR); + } + p.append("Atlas"); + path.set(p, Pref::FACTORY); +@@ -770,10 +770,10 @@ + char* homedir = getenv("HOME"); + SGPath rcpath; + if (homedir != NULL) { +- rcpath.set(homedir); ++ rcpath = SGPath(homedir); + rcpath.append(atlasrc); + } else { +- rcpath.set(atlasrc); ++ rcpath = SGPath(atlasrc); + } + + ifstream rc(rcpath.c_str()); +@@ -946,7 +946,7 @@ + } + SGPath p; + while (optind < argc) { +- p.set(argv[optind++]); ++ p = SGPath(argv[optind++]); + flightFiles.push_back(p); + } + +diff -r e183e3b3a041 src/Scenery.cxx +--- a/src/Scenery.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Scenery.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -198,7 +198,7 @@ + data = (GLubyte *)loadJPEG(f.c_str(), &width, &height, &depth, + maximumElevation); + if (!data) { +- f.set(f.base()); ++ f = SGPath(f.base()); + f.concat(".png"); + data = (GLubyte *)loadPNG(f.c_str(), &width, &height, &depth, + maximumElevation); +diff -r e183e3b3a041 src/Subbucket.cxx +--- a/src/Subbucket.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Subbucket.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -346,10 +346,10 @@ + // http://wiki.flightgear.org/index.php/BTG_File_Format + + SGBinObject btg; +- if (!btg.read_bin(_path.c_str())) { +- // EYE - throw an error? +- // EYE - will the cache continue to call load() then? +- return false; ++ if (!btg.read_bin(SGPath(_path))) { ++ // EYE - throw an error? ++ // EYE - will the cache continue to call load() then? ++ return false; + } + + ////////////////////////////////////////////////////////////////////// +diff -r e183e3b3a041 src/Tiles.cxx +--- a/src/Tiles.cxx Tue Sep 06 22:12:05 2016 -0700 ++++ b/src/Tiles.cxx Sat Mar 18 05:09:04 2017 +0100 +@@ -464,7 +464,7 @@ + const SGPath& TileManager::mapPath(unsigned int level) + { + static SGPath result; +- result.set(_maps.str()); ++ result = SGPath(_maps.str()); + + char str[3]; + snprintf(str, 3, "%d", level); +@@ -821,7 +821,7 @@ + const SGPath& Tile::sceneryDir() + { + if (_sceneryIndex == TileManager::NaPI) { +- __sceneryPath = ""; ++ __sceneryPath = SGPath(); + } else { + __sceneryPath = _tm->sceneryPaths()[_sceneryIndex]; + __sceneryPath.append(chunk()->name()); diff --git a/games-util/atlas/metadata.xml b/games-util/atlas/metadata.xml new file mode 100644 index 000000000000..2b6588a24cac --- /dev/null +++ b/games-util/atlas/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>reavertm@gentoo.org</email> + <name>Maciej Mrozowski</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">atlas</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/biounzip/Manifest b/games-util/biounzip/Manifest new file mode 100644 index 000000000000..b4a4c3368d7e --- /dev/null +++ b/games-util/biounzip/Manifest @@ -0,0 +1,6 @@ +AUX biounzip-1.1a-64bit.patch 462 SHA256 fed15408ab640f7a6c9da0ca60590f334f0192648ada229de28ad13353fcf59c SHA512 751078079fb663f7f229ccfbbb8e8ea2f779f6739144a75415d73937559ef08886156c8a9ae6e354269b4e0363b34b06bd2979400d671c6c4f7c646abc2b5328 WHIRLPOOL f88bf84bdc7730d0df09c8c808f0a5faf067d2f26f56abf2ae4b104f0b8f31d3be370e8045a29b37fb2ddab6480fb96b12204f940b6e6c9dc0205127798f5a79 +DIST biounzip-1.1a.tar.bz2 9894 SHA256 8f6960e4a281f6ce352e499d91de71ccd74536619000a4dfd37d2eb92c740273 SHA512 4eaea5459cf6edaf289951f9048123496a4eb83fcfc39b3efcd2a81894f877d5db843d7448e2c0e3b797b09a70f6f3c133c53525d4f83408306089bd37796a8c WHIRLPOOL 7a0222298cadd1643f4e91cc9a4bced961692ff566eaccbe5d4b37c16453e8c119f5921b536a81eba088e4c35e7dd789d8fc9a36e93ba39de22f83372882eb06 +EBUILD biounzip-1.1a.ebuild 586 SHA256 900ed2f2a5f81206df9c71ad74e84746db9a4de19a4d6ddc6c53cab7f409e7a5 SHA512 c4e46b50a1f116e0f3de505950cb632cb75ea74cd9039b15022593847b74d871c8d1d477a7fdc36d87d9dd46636ff242a605c96ca184bc9db88efcfa4d385438 WHIRLPOOL 1e160efdee8886556f2b6dd254ceadbe2ccc285e51e91dd86afddff8a45593793bfa48d4422261f22ec278ca1aca8574c42218c9a2f91e129a5a53abc5bb79a9 +MISC ChangeLog 2464 SHA256 33a23054042c99e6e5e5f2a72709d6633af2ed9ae47b352291ba46ed3e6f0f9c SHA512 522867f0eaad61fde9e25655d4b96eaa15df38725912fbf68159006fa0ed0f1748944867ad7461e64d38854b544bc0addbca263a9b65758ad6e1412e807fe90c WHIRLPOOL eff5b8d5262b13ebc59b4a44f15e5566a0f3e8b50fd50c5e53f39a5dccb8d608519374069a25dd8b1c4585a72a9cfc52634985d4f745b150fe92363b57c320b0 +MISC ChangeLog-2015 1094 SHA256 4c4b6df01403be155dbddbd843eed9b8a5328877888b614342373da2f627484d SHA512 295ec406f87e5c062f56125e1d69c7c8ee25c50c685565da12f7965254d9a4648808d7cfe839274a313f911571a6b687b535b79a1c4973b0c1ad6a353047b342 WHIRLPOOL d8ef1300338bcb2f58827478357ae9ddb1e0fec71d8ca61ef9b09acab6a45a166da9eced281c53178cd4284336ddf326e2e35e93614fb7b69191a0f48b5b0e8a +MISC metadata.xml 331 SHA256 23e539dc9050d90aaa1b56b52d592d21aa7cf4ed7492932e37b5fefdd7ea2df2 SHA512 2cb5bc86ab42d6bacdf6a1991c9c54cb3c313dd3a7dd8a2aee4d25ab899dd20d88c5db6a340e2c56e21dc1725fc6b24c55ba212e23ec2ca03230e9a6ac023b53 WHIRLPOOL b6b10e9d0e3652585d2dfa357d05d63741f01af57471927655bc0b2f84ebdf92495f3a0c7b825f5408582a8e18d1e661fb0e6d34e7c50d79b65f1e20a738a2d9 diff --git a/games-util/biounzip/biounzip-1.1a.ebuild b/games-util/biounzip/biounzip-1.1a.ebuild new file mode 100644 index 000000000000..f664c6d9bf14 --- /dev/null +++ b/games-util/biounzip/biounzip-1.1a.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Unpacks BioZip archives" +HOMEPAGE="http://biounzip.sourceforge.net/" +SRC_URI="mirror://sourceforge/biounzip/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-libs/zlib" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P/a/} + +src_prepare() { + epatch "${FILESDIR}"/${P}-64bit.patch +} + +src_compile() { + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} *.c -lz || die +} + +src_install() { + dobin ${PN} + dodoc biozip.txt +} diff --git a/games-util/biounzip/files/biounzip-1.1a-64bit.patch b/games-util/biounzip/files/biounzip-1.1a-64bit.patch new file mode 100644 index 000000000000..a8522189d31f --- /dev/null +++ b/games-util/biounzip/files/biounzip-1.1a-64bit.patch @@ -0,0 +1,11 @@ +--- biounzip-1.1-old/biounzip.c 2007-03-08 02:06:16.000000000 +0200 ++++ biounzip-1.1/biounzip.c 2007-03-08 02:06:50.000000000 +0200 +@@ -127,7 +127,7 @@ + void writefile(bzfile *ptr, FILE *fp, char *destdir) + { + int startpos,returnval,n,debug=0; +- unsigned long size_uncompressed,size_compressed; ++ unsigned long size_uncompressed = 0, size_compressed = 0; + char *fname,*dirname,*fullname,*fullpath; + unsigned char *srcbuffer,*dstbuffer; + FILE *outfile; diff --git a/games-util/biounzip/metadata.xml b/games-util/biounzip/metadata.xml new file mode 100644 index 000000000000..0fb77f58b247 --- /dev/null +++ b/games-util/biounzip/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">biounzip</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/catcodec/Manifest b/games-util/catcodec/Manifest new file mode 100644 index 000000000000..f7bca30cb912 --- /dev/null +++ b/games-util/catcodec/Manifest @@ -0,0 +1,8 @@ +AUX catcodec-1.0.3-gcc47.patch 603 SHA256 b2d7c82cd5173fb3e663e9083b1dd6d60c875ef725c8367f047774eb6a2c08f0 SHA512 ae68368340907b001f62ef2d7c989551b07633fc595fc6ed325de924568c239e03c101581e65d72dd1a66290b7e366e31c6b02c0d488d3539adc8fa1e36ea1b5 WHIRLPOOL 29b2c14afc208321d93899100d2682c7588657cbc0f9703dfcedd106270d4153da12183d289e2e06495a61daaa0d3966550ab868ba480d11ab87e00d65c8c7e9 +DIST catcodec-1.0.3-source.tar.bz2 18536 SHA256 b6a9fe31cf736b1432d84fd86ba7441159e3707c0387bb732eeb717f7d8aa9bb SHA512 406476ecc57b87355d0eca4672c8ccb067d80a0bde217a8332d1014dce983f62dd4f134d0736da806d21a375a9e053d61a79bb7ca9848f83ff2cd49fdf220360 WHIRLPOOL 3f1f8528c47f31929c68bebf6052e7a73d7a2942085ab02744e31e7560fc1b7a0498eeafabc8a01acb9edf6b7a2527af66410e2371b7e42d7a5b0313a555d3c2 +DIST catcodec-1.0.5-source.tar.xz 17952 SHA256 47ff4e6d663e19d529960c76f1e1bda5fe4cad97e2628381ec3a894ba260e0e1 SHA512 e6e17da17f2449ff5d3a18c34ba3125d475a481ef1dc73ba03dac32fc8523a8929d2cbdfda5f647a0226aa007a217fc90c85ec4cc46937f75e15a596277e0db5 WHIRLPOOL c08d1eba4ada09f5b896456accfc82830319d8985ab7640fc4347bde4bdd1be0806765e1488ddf6e9927a43c66e2d7699c12e3bcead0797ca3b6ab5b2e8fe569 +EBUILD catcodec-1.0.3.ebuild 615 SHA256 27b8375b268978cd380bbfc5ad9504f923bc276c40c64f6ccff85664ce73a762 SHA512 3bbfc4b34574965681b148930a85accead21958148474bdc012e6c3909498f91f640a8001dbee173eb4c1daec46855e5bcd24736cae4c6c468075e30fa71e057 WHIRLPOOL a1f3c732a480f77409bf5c0ef4709506139f286ce749c16faa7a9c0f2c2df960d051933891398aa546152ccf37ca9acabbbf1fa0b88897fa82bc3feb9446654b +EBUILD catcodec-1.0.5.ebuild 587 SHA256 495b46f08628ec8f4e4f4fab58eebec3d6fc22bf5de552f0e81900bd504cd7ab SHA512 d65a512c965cc716411ed1e5644b7f2f8c0910a0d4bf8e2fe6247796ff49b9dde4da02656f0bdc957fdae006e4f0734e8ce192eb82ef9490de432f12800e045a WHIRLPOOL 06127264cdfa6579c8811f264e5033d1984bc815fc7e3c8e854a22044501e8049560e5517dfb921a60f158e542ecdaf13a2a68acb2b8eae0155e380546203e33 +MISC ChangeLog 2467 SHA256 f8f83c38ce9de2fa32071ef519665ca5d64bc29a960273b440bde8270b562df2 SHA512 06b068e9f804cd741059dbcd330e735038c749609ea4bb6684903017a8d4053270cceeba40dddb4e8d439d47148133070d47b94df2ec670e9af33ca1818d8b2a WHIRLPOOL ea61ad1b5f3697e6b7153aada747898d90cf7775f6063b4710d2992a6add7820cca9a3f4d4191a06779229b13b787ee242f35c6e72570e39877004d7dac52e23 +MISC ChangeLog-2015 1709 SHA256 92be766db3f33f4592ac08ebca074231e0538ea2207eaf8e32349566a36317c7 SHA512 362f5e3a2197039b4eff8e0614624057f7c9569257e4b2044af05e38e2ea87edcae0cea2cff57c6a32c7fd91fef3e78cd593d5c41ab588861fef8597ab092018 WHIRLPOOL caf53f202a744c0648ea9f3f1aee2bf8bfe6f6f8678f32e4dc26f2c722aef740b9a3ef98907c7a36742e363d44443f4c53b5e50c4e4d725f84d720b36c2f31a4 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/catcodec/catcodec-1.0.3.ebuild b/games-util/catcodec/catcodec-1.0.3.ebuild new file mode 100644 index 000000000000..e16ad8a4d9f0 --- /dev/null +++ b/games-util/catcodec/catcodec-1.0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Decodes and encodes sample catalogues for OpenTTD" +HOMEPAGE="http://www.openttd.org/en/download-catcodec" +SRC_URI="http://binaries.openttd.org/extra/catcodec/${PV}/${P}-source.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86" +IUSE="" + +src_prepare() { + tc-export CXX + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_compile() { + emake VERBOSE=1 +} + +src_install() { + dobin catcodec + dodoc changelog.txt docs/readme.txt + doman docs/catcodec.1 +} diff --git a/games-util/catcodec/catcodec-1.0.5.ebuild b/games-util/catcodec/catcodec-1.0.5.ebuild new file mode 100644 index 000000000000..3f5828e10959 --- /dev/null +++ b/games-util/catcodec/catcodec-1.0.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="Decodes and encodes sample catalogues for OpenTTD" +HOMEPAGE="http://www.openttd.org/en/download-catcodec" +SRC_URI="http://binaries.openttd.org/extra/catcodec/${PV}/${P}-source.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="" + +src_prepare() { + default + tc-export CXX +} + +src_compile() { + emake VERBOSE=1 +} + +src_install() { + dobin catcodec + dodoc changelog.txt docs/readme.txt + doman docs/catcodec.1 +} diff --git a/games-util/catcodec/files/catcodec-1.0.3-gcc47.patch b/games-util/catcodec/files/catcodec-1.0.3-gcc47.patch new file mode 100644 index 000000000000..a36546a43aab --- /dev/null +++ b/games-util/catcodec/files/catcodec-1.0.3-gcc47.patch @@ -0,0 +1,24 @@ +diff -ruN src/io.cpp.orig src/io.cpp +--- src/io.cpp.orig 2012-05-19 20:48:05.930777509 +0200 ++++ src/io.cpp 2012-05-19 20:49:04.303822711 +0200 +@@ -20,6 +20,8 @@ + + /** @file io.cpp Implementation of reading/writing to files */ + ++#include <unistd.h> ++ + #include "stdafx.h" + #include "io.hpp" + +diff -ruN src/catcodec.cpp.orig src/catcodec.cpp +--- src/catcodec.cpp.orig 2012-05-19 20:47:55.847255343 +0200 ++++ src/catcodec.cpp 2012-05-19 20:48:38.937144091 +0200 +@@ -22,6 +22,7 @@ + + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + + #include "stdafx.h" + #include "io.hpp" + diff --git a/games-util/catcodec/metadata.xml b/games-util/catcodec/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/catcodec/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/datutil/Manifest b/games-util/datutil/Manifest new file mode 100644 index 000000000000..c33e042d0cc2 --- /dev/null +++ b/games-util/datutil/Manifest @@ -0,0 +1,6 @@ +DIST datlib236.zip 109484 SHA256 9ff474ed30047f2bbb2a0942077a63dd2b0825c08b061cb4b36dd168d9014bb3 SHA512 0c601fe243c8ea4186abb6181cf70e749226a5eed871d7391b3686e7eb58195d1aab40305d498d1419c6fa49bf56c59fb74d032642822045cc7e36f8a5fe96b4 WHIRLPOOL a8a3c41900b4d4ef1837dcc5e5df65949bedf5209e47b604ec29b0134b800888166642607ac8e47a70db936d150267c9e0d6611003a5be495d0b042e84b3a59a +DIST dutil246.zip 209577 SHA256 171fd5f30a31973e1a49f484fbd475c518a3234aa41e97d45904dc8ccbf67f56 SHA512 f9e55eac41894681caaee7d6e3247d4e4d053ac6985d42708623fad415afeb8ece588dd728edc31cbd31bf6df1d9a06ec80f1b45979b0f77763c12e6627434b2 WHIRLPOOL 33095f026f05fee1d8b6f3b3ba5fec4e75ceb51c864889b7670c7461a67a9dcaf265fcaf271fe37e593bc6908cd44dd3ce2ce22b97f4848c21ff29b12de8a3c2 +EBUILD datutil-2.46.ebuild 1091 SHA256 595555deb2c7f9ecc976e41940263fb2a9e202082336f3d1a44688f1bf3a1b72 SHA512 000d9b349a113de4fef004b866f2bb1886fae7d999aaad2ad92847b4c634edc98891dc43f07e41aea884fa051bccfa67f0e4a55c336f01ba3edd27d20675b3a3 WHIRLPOOL 419fa41da2de3ff682230c6dbd06b757fd69a0e98d5210759b7567d6a28f35ee9ada1303eca9eb9aa2e832d22093404c19a57f5891e85485abab237b25eca278 +MISC ChangeLog 2427 SHA256 2011cfc56265f4a4ba33476322d454732cb813fda34339677d85f306150517cc SHA512 6680ed106963ae3c5f36352310e3a99a77a80bcfe219cba31937e5df7288b165b0b62a3cafeb764af31ae4f4684a442de1de38b5373d72b0ad1844375d220ae4 WHIRLPOOL 8bc62919f129ea072a0271a384447f54fcb49d4e0da578ec9991a79a64b6708774c299024505e833092fce6e6cdd813b3ce2a2bbbd849a9b646caa5cd98b3acf +MISC ChangeLog-2015 1451 SHA256 fc8b171b72d78ad9520d2f5debe3e278746e439488002116d732c1cf6624d946 SHA512 7f729b91f1832e0f65e77a65cb8f6362abe635901ecbcc395ce9c676ee5c0940dfd4a42742e2289200077943bd35aa11f82ff7231b6da03bc7b723ffe4131f03 WHIRLPOOL 44827a72d1d66cc8ba097ae3c46e3b4ac9db8a176346e6851b25d05c1fb18f23fd992796918fabbba029593bbff34ee4aea24807ccc40949e39daada0f689d68 +MISC metadata.xml 577 SHA256 9e0bb9f7a5c6ec4062f6c464ae7e97aa589434eace69a38f1b4c9f77d73dae87 SHA512 30770c001a7d5a072a6db5d913f010cbed6ae0cbe24b2ada950d14585fb1d5c9d4675023e491b6a43130dfcacaf24e4061c2a330d2a9e97fb4324f94e248861d WHIRLPOOL 4ee93a0973b8d161050478f44634bebbcf6fd5b4e41a24ab4ce0911ad9aeeeabe5d6c575529684ecacadeb905a347736ba489a1bdfdb3d05f625c1bc06b7e59d diff --git a/games-util/datutil/datutil-2.46.ebuild b/games-util/datutil/datutil-2.46.ebuild new file mode 100644 index 000000000000..6c3b8059294b --- /dev/null +++ b/games-util/datutil/datutil-2.46.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DL_PV=2.36 +DESCRIPTION="Converter for dat files for Rom Managers" +HOMEPAGE="http://www.logiqx.com/Tools/DatUtil/" +SRC_URI="http://www.logiqx.com/Tools/DatUtil/dutil${PV//.}.zip + http://www.logiqx.com/Tools/DatLib/datlib${DL_PV//.}.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" +RESTRICT="mirror bindist" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack dutil${PV//.}.zip + cd "${S}" + mkdir -p dev/datlib + cd dev/datlib + unpack datlib${DL_PV//.}.zip +} + +src_compile() { + # Parallel make issue, see bug #244879 (so make the dirs first) + emake -j1 CC="$(tc-getCC)" LD="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ + CFLAGS="${CFLAGS} -Idev" LOGIQX=. EXT= UPX=@# dlmaketree maketree || die "emake failed" + emake CC="$(tc-getCC)" LD="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ + CFLAGS="${CFLAGS} -Idev" LOGIQX=. EXT= UPX=@# || die "emake failed" +} + +src_install() { + dobin datutil + dodoc readme.txt whatsnew.txt +} diff --git a/games-util/datutil/metadata.xml b/games-util/datutil/metadata.xml new file mode 100644 index 000000000000..8840fa601df7 --- /dev/null +++ b/games-util/datutil/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +<longdescription lang="en"> +DatUtil was created to aid in the creation of dat files for Rom Managers such as +ClrMamePro and RomCenter (Roman Scherzer / Eric Bole-Feysot). It can convert +between formats, extract individual games (and optionally their clones) and +cleanse dats. It supports a variety of formats +</longdescription> +</pkgmetadata> diff --git a/games-util/deutex/Manifest b/games-util/deutex/Manifest new file mode 100644 index 000000000000..037f0a380a12 --- /dev/null +++ b/games-util/deutex/Manifest @@ -0,0 +1,8 @@ +AUX deutex-4.4.0-64bit.patch 524 SHA256 5bf04877f1fa12695b260d535bc5dc4a318be9e74e13b52787eeec4a6abe687f SHA512 c9ea2a50e5f3fe0cedfd1fb2494a3d4ab11a0d2d4505a9bcbc262ae8934db29f15ec2342d45d812e582380f3831b5f825c293b8bedb529373a903ea0393e88cd WHIRLPOOL 691311d5861031120e35789753487f14ab64ecbc45332b46af7a8ccb973eb7a561d5c65a1059371a1d560cf77faca97424cc53870d249d6885a695f219ecd3f6 +AUX deutex-4.4.0-makefile.patch 621 SHA256 23051fb9f4d32c6b4961e6622a99c9ebb973cf9b14aa49493d7f2fd3c5343e6d SHA512 57872ee7c41f50db0d62385af10c1c27b6460050520c1403db075ea7e8b418000f2356f7db5b7393071708936e78728d5d23aea782dfa72a9ca355214f24fc6a WHIRLPOOL d8333b988e27eaf961a687cae23124e59144b328770fcad1a3b795211da8c45eb7f52e317e5d54d448164cb0c0a5aff04f2408b1c40e9324a011eb684fd16ef1 +AUX deutex-4.4.0-ovflfix.patch 695 SHA256 35908168be73896dd1bee1e21fcac96a61d24732cd96e79a1bd26b83e6949c37 SHA512 25e7930b422a565e732da80b183cb3270e7072ae77858319dde657c9439f0854c175f7fe93b4ca3627eda52b4e433a62369163537db396a1c8412c8678fc07e4 WHIRLPOOL ce297d85d6055cbf9d8e3266f0fcf79959f7fd9d2387793cdf9b01d79a2d17f36a4e608e3463fcdc322977d3ac5ac0d19d85704c02ee558b3681d381eab8a308 +DIST deutex-4.4.0.tar.gz 215945 SHA256 e87ff2984c6555f30408ee7aa4e6461aac6f1d3d0a1e21b4e12a797a057ba3b7 SHA512 fc9aaf399bc9d8ea812102decdf6b3c6d5f4c4a69e925e02fe0e75fa8dc9e54ad36afc352e83819ba13b9ae5dda90bb65c1856825c3ee17c7bd370909b866fb5 WHIRLPOOL c3e86d74a55a65ca0645e9a1ca9de9f580eee3176e5fdff889964b7e34cda2662a43cf1586829b50277bde6cd03584b8dbf38e5b56c4af3e7d7ee39f41257320 +EBUILD deutex-4.4.0.ebuild 646 SHA256 632420ce51c213231dfaf51dea2a139058cf794aafda13153233e0a0c994ed7f SHA512 b4f3396a0b5e6ee2c2adc6feccc6460f6bb27a6107212b1eb80451664a404dd7e0fa4ac6379d04e7e4cda32dfc3a36b296bababae8df49c66161147eec53fa6a WHIRLPOOL d86cf6ccb6e57545c86c4eb07d65e7ab04e25c72941c0ab7c3683dc43c8c28b8b6ebcdb2bf3e40b45505cba1702db76f769bc944e96839d729dc007b6d6e3f92 +MISC ChangeLog 2532 SHA256 33bd689a280469b693bb04ffe6005f81ce585642f8b4ef0e784a3ecf737c7172 SHA512 408ad1c7d4f7d339867d5ef2965fc022ca9f2feb09776cf2502f2a4d8746f377844cb08cad8f6ab3758911e8a6ce8ab107b640baa96463d89b4e623b0c90efea WHIRLPOOL 0fc3b09c4c19d64e50ef49d237d38bfe8ff369b63ed26b68d64153c56c1b10a6060621674dd49338b62d993298326e172fb39f3d054a45a307cb638d841daef9 +MISC ChangeLog-2015 1530 SHA256 50b75fc2c097e441fa00e571d2a7ac4179cfe360d5b4625dca2e1a975fb0b663 SHA512 9713e458af94bccb876642da50f4fc1d7dcc365d3d6a772fea68e8905e28a714b74235f76838d21d99ebf126eba24930213140af08ea7673e531d5e27dceffd6 WHIRLPOOL 176189ef50b557cee008bcf601b74308cafd643bfeb8ff4f36bd2694cc8a1ce5f5c6472310c3cb62c3a70e00b8a583321fc0bac76bc1238b25508d00d0468d2d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/deutex/deutex-4.4.0.ebuild b/games-util/deutex/deutex-4.4.0.ebuild new file mode 100644 index 000000000000..bad39df7b9b7 --- /dev/null +++ b/games-util/deutex/deutex-4.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs eutils + +DESCRIPTION="A wad composer for Doom, Heretic, Hexen and Strife" +HOMEPAGE="http://www.teaser.fr/~amajorel/deutex/" +SRC_URI="http://www.teaser.fr/~amajorel/deutex/${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+ HPND" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-64bit.patch \ + "${FILESDIR}"/${P}-ovflfix.patch + tc-export CC +} + +src_install() { + dobin deusf deutex + doman deutex.6 + dodoc CHANGES README TODO +} diff --git a/games-util/deutex/files/deutex-4.4.0-64bit.patch b/games-util/deutex/files/deutex-4.4.0-64bit.patch new file mode 100644 index 000000000000..b5028cd4ffbd --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-64bit.patch @@ -0,0 +1,13 @@ +diff --git a/src/deutex.h b/src/deutex.h +index 0a26df5..7af321c 100644 +--- a/src/deutex.h ++++ b/src/deutex.h +@@ -31,7 +31,7 @@ Place, Suite 330, Boston, MA 02111-1307, USA. + #define DeuSF for DOS .EXE Unix Linux OS/2 + *********************************************/ + +-#if defined (__alpha) /*__ALPHA__ for Alpha processor?*/ ++#if defined (__alpha) || defined (__x86_64__) /*__ALPHA__ for Alpha processor?*/ + /*long = int64 on a 64bit processor*/ + typedef char Int8; + typedef short Int16; diff --git a/games-util/deutex/files/deutex-4.4.0-makefile.patch b/games-util/deutex/files/deutex-4.4.0-makefile.patch new file mode 100644 index 000000000000..49265e14f3fb --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-makefile.patch @@ -0,0 +1,29 @@ +diff -ru deutex-4.4.0.orig/Makefile deutex-4.4.0/Makefile +--- deutex-4.4.0.orig/Makefile 1999-12-24 07:50:16.000000000 -0500 ++++ deutex-4.4.0/Makefile 2010-03-05 14:53:23.763604022 -0500 +@@ -16,11 +16,6 @@ + + PREFIX=/usr/local + +-# Compiled by users +-CFLAGS = -O2 +-CC = cc +-LDFLAGS = +- + # Compiled by developers + DCFLAGS = -g -Wall -Wpointer-arith -Wstrict-prototypes + DCC = gcc +@@ -182,11 +177,11 @@ + (sleep 1; mkdir -p tmp; touch tmp/_deusf) & + + tmp/_deutex: +- -mkdir tmp ++ @mkdir tmp 2> /dev/null || true + touch $@ + + tmp/_deusf: +- -mkdir tmp ++ @mkdir tmp 2> /dev/null || true + touch $@ + + install: diff --git a/games-util/deutex/files/deutex-4.4.0-ovflfix.patch b/games-util/deutex/files/deutex-4.4.0-ovflfix.patch new file mode 100644 index 000000000000..32a7dce0d97c --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-ovflfix.patch @@ -0,0 +1,11 @@ +--- src/sound.c.old 2010-10-27 12:32:28.000000000 +0200 ++++ src/sound.c 2010-10-27 12:32:52.000000000 +0200 +@@ -309,7 +309,7 @@ + if(fread(&headv,sizeof(struct VOCHEAD),1,fp)!=1) ProgError("VOC: can't read header"); + if(strncmp(VocId,headv.ident,VOCIDLEN)!=0) ProgError("VOC: bad header"); + if(fseek(fp,headv.block1,SEEK_SET)) ProgError("VOC: bad header"); +- if(fread(&blockv,sizeof(struct VOCHEAD),1,fp)!=1) ProgError("VOC: can't read block"); ++ if(fread(&blockv,sizeof(struct VOCBLOCK1),1,fp)!=1) ProgError("VOC: can't read block"); + if(blockv.type!=1) ProgError("VOC: first block is not sound"); + datasize= ((blockv.sizeU)<<16)&0xFF0000L; + datasize+=((blockv.sizeM)<<8)&0xFF00L; diff --git a/games-util/deutex/metadata.xml b/games-util/deutex/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/deutex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/dfarc/Manifest b/games-util/dfarc/Manifest new file mode 100644 index 000000000000..f39e8322c8f5 --- /dev/null +++ b/games-util/dfarc/Manifest @@ -0,0 +1,6 @@ +AUX dfarc-3.12-nowindres.patch 721 SHA256 37c98ad24b663c55f8a2f904e1026b366295688dc1b3bca52d3c0ed9a3c5d228 SHA512 c5f0f00b6ae313238ac59560b1af0bd890051263c9b1ae97e803c3d4e9d6dad6b83895ee103342ad4b237a93a0756838e04d98a15c33f93f81aa73c58196d754 WHIRLPOOL 979d78f502d8328063bc33eae9b886edebf41446963201e26fa6817f58352e52b589dde15168f0650c119c66533022b98c5e17d0e9ade499c8fc0411363f3695 +DIST dfarc-3.12.tar.gz 329925 SHA256 222a84cc91967abce4d86fb4ed8ba43455b818aecdb8487b0fe52d76ade29a83 SHA512 e87e89e67e383c3d25a6620edc38c6ab6f90b9df52b84d6e6de20af1ac3b50588b3037575f2f89a14c90c14151053c08a7bb97143f24471e33326f3f2d2574ab WHIRLPOOL af2c4646de591d3c09e3e2e8a7cd94a070e6086a977fc3d819077a6b812d638ba79762e7c0dde8dba1df7d1004c31005f02c5ba5de8710f5038f7b8e5b9c39d2 +EBUILD dfarc-3.12.ebuild 1037 SHA256 816c3964ef022b12e39349c25fb99b36f09af533adf2518fab1c90faed681a25 SHA512 60d7dad1b7b4fbe2718c3564bd4630dcb4c7330b6e160817eefdd54abafc8609f6de742e9154e48e0530aa30c83ba07deaf3fbf6d63a1dd843eab801ee9b440e WHIRLPOOL 2cb9b46e7f6624c3afb4f49bf97eefd87d0ad83ccef224a8f14daf9e85279404a2373470cd5eafd17d1e56121a3c7a10a874ed3a524e0f0433f64fa0814e1030 +MISC ChangeLog 2852 SHA256 1ff43bc052e096ee5184a1490d0305ee71bc29d93c09f489648b6dac83e403fd SHA512 78dd73e14de6154ce42996e8001fccbd3fa8e681c4935244aed40d717747387e5d765aa34f6a498ae16d88363861b3d41e2b8ec692ae38b4a72233a9f3f3a8fc WHIRLPOOL 79aa845232f04644b2ab10f8dd058296e669f3b814ddbe2796608b9b17eb4d2eb9570c2e155508bb5a6109c619a2fbf6793a4c35526c9fc7867ca6baddeca54c +MISC ChangeLog-2015 1140 SHA256 63c6b71093e2cf2e219fce463ac84ab96335674098d8669a27d629149bc44af2 SHA512 cd0c7aec9d9dd70e4b02a7498742505b23f2fbb5c3d712ff10141bcb9262c778b6ecc706a25c97ea89877a20428cc9f156d0681dab6da4c4732647a3cce13ebb WHIRLPOOL 96e4255de0ae76de1be2410ffac7cd4c6787b4a4936a2d771075f82fa54b8328a3b381cfb97d2b75c337ff21489b7d649402e225c8464c11daf7e580e54e56eb +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-util/dfarc/dfarc-3.12.ebuild b/games-util/dfarc/dfarc-3.12.ebuild new file mode 100644 index 000000000000..44accf8c3690 --- /dev/null +++ b/games-util/dfarc/dfarc-3.12.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +WX_GTK_VER="3.0" +inherit eutils gnome2-utils fdo-mime wxwidgets games + +DESCRIPTION="Frontend and .dmod installer for GNU FreeDink" +HOMEPAGE="http://www.freedink.org/" +SRC_URI="mirror://gnu/freedink/${P}.tar.gz" + +LICENSE="GPL-3 BZIP2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=" + app-arch/bzip2 + x11-misc/xdg-utils + x11-libs/wxGTK:${WX_GTK_VER}[X]" +DEPEND="${RDEPEND} + nls? ( >=dev-util/intltool-0.31 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-nowindres.patch +} + +src_configure() { + egamesconf \ + $(use_enable nls) \ + --disable-desktopfiles +} + +src_install() { + default + dodoc TRANSLATIONS.txt + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} diff --git a/games-util/dfarc/files/dfarc-3.12-nowindres.patch b/games-util/dfarc/files/dfarc-3.12-nowindres.patch new file mode 100644 index 000000000000..78b71096973c --- /dev/null +++ b/games-util/dfarc/files/dfarc-3.12-nowindres.patch @@ -0,0 +1,18 @@ +--- src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400 ++++ src/Makefile.in 2016-04-05 12:50:42.058496766 -0400 +@@ -100,7 +100,6 @@ + Package.$(OBJEXT) RecursiveDelete.$(OBJEXT) Tar.$(OBJEXT) \ + DFArcFrame_Base.$(OBJEXT) Options_Base.$(OBJEXT) \ + Package_Base.$(OBJEXT) InstallVerifyFrame_Base.$(OBJEXT) +-@HAVE_WINDRES_TRUE@nodist_dfarc_OBJECTS = woeres.$(OBJEXT) + dfarc_OBJECTS = $(am_dfarc_OBJECTS) $(nodist_dfarc_OBJECTS) + dfarc_LDADD = $(LDADD) + AM_V_P = $(am__v_P_@AM_V@) +@@ -346,7 +345,6 @@ + InstallVerifyFrame_Base.wxg dink.ico + + # How do we handle resources embedded in the executable binary? +-@HAVE_WINDRES_TRUE@nodist_dfarc_SOURCES = woeres.rc + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + diff --git a/games-util/dfarc/metadata.xml b/games-util/dfarc/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-util/dfarc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/dzip/Manifest b/games-util/dzip/Manifest new file mode 100644 index 000000000000..4be38ae08d70 --- /dev/null +++ b/games-util/dzip/Manifest @@ -0,0 +1,8 @@ +AUX dzip-2.9-scrub-names.patch 1816 SHA256 a55eed49939cb4b5b2b8268562081d8ed4a4365424ad43482ebd3db7a573bebb SHA512 94fceecee4538bb0d0aac460d864ebb4bbbb3ad3aa6be7593115bc850e19b1630bceb2df9268e569a30457e8b2483b3678199629b78d192dcdf3bee0b00178c8 WHIRLPOOL bc97b25f329d1c03743fc682592be96be57288d43f33f1ef01080eca8a0952efa8f79e17e1c0920cc0e5cc7c765410d976e7cb4b3514eeb0d6f26067c2c692f0 +AUX dzip-2.9-system-zlib-r2.patch 1844 SHA256 50fa4c9de1f8db7242cb75876d368bb410b32f627dc824186117af5f98739f3c SHA512 04e95334b03b1590bfd73cd5905186a8ba28a36655b9c829dcd913842c0f2c2802133d453134080f3a4664ec106e7693482b43981c5849ecc1a781a7f37b0625 WHIRLPOOL a10994958a025cc3e3f66f8370a03d0a9330d07f86ebcb0e6f2cc706668827a0842a37b2dca976e0103aab75d0209f5bf6b861a859015c13b0523e23fbcd7734 +AUX dzip-amd64.diff 643 SHA256 099f28dc7fbbb0f91ebf43f1264eb56e5d924b5f7bda55b7a9b2d1a4882088d9 SHA512 30a381f95807cc61b8c393f3e5fb5c1f250e4578b1601f5ee8944c7b94a3d3f983478075cee3c76858b5d0df768b6bd3e91578e6679f443fb8d6f7fa30b48f18 WHIRLPOOL 3214d4bee58f6dc784542859275722962cd29606db8f761e25a41e68d2a10c2d37be01ce0df0fb96f15aeb4546ae7a11e2befa347a8e30cdde0f65d0190a7af7 +DIST dz29src.zip 100354 SHA256 de858f6a811096ebd099301cb4acd21eaf9eb1b3f95c1b21ec9e910bcf6f0f17 SHA512 3e1071da6ae5c9064b7222f1bb553b787ded4acbfe8463a7a94f17e60748b68cdfc17672ef7220deddd394c6709efe632e53e61508fd48bfa9001e43a37e788f WHIRLPOOL 550585852d2c950a5bc893ca134d4cc96c896b5960d8d37235d77a8fa8e31496f7e1634ae4c5e5d3c8709e9fcace1319652aa7b306634a3e7fcaa2451581b3b0 +EBUILD dzip-2.9-r3.ebuild 647 SHA256 ca9f318f86ff2079bd082ff20adc4eb7e4b2d3ae1956d7f5d15f26c9a51668af SHA512 76bbba4ddfa4c473535591e80d486e2ff27043b639b76fb8f090df1ddec1cf9375e025df1eafbfc100ccef4069501a99098d01af4eb7f663e56d5856b065ae01 WHIRLPOOL 062b2ea1853db5e97c3944c2cf47c1917010ddff41ce9bcd9cecaf64a3014a187fa48495943214b4bfab02598e595a85a94a52ef0226208bfb44f37d8f749bd2 +MISC ChangeLog 2967 SHA256 17a6301c355ff67ee023f1efa3a9a0b10a9c3a55eb460c2d85411c3197539acc SHA512 92af7c1a72815ce91e0935fd1497fd3534ea6bf269f4a55afeea2627dcd14929f58fbbf72223d4d2c5862fcb740ebdc6b6d374cd1d31d9d27c7a652d03f72f2f WHIRLPOOL 3c650cadfc6f492053bada767676b9d78f9a53fe602c77f0598ec75d5a0cb173f249dedbd2833ff763743d68b56f91c79f162f09dffb2e2dcf683fcf87981c38 +MISC ChangeLog-2015 1898 SHA256 77199bfc2a721ce60d62a1bcd4310cc9c5291c304d3ba52b5a1c5e3a61238664 SHA512 579e54b4df8b4fddd75bb8cc7e80d95719a73efe5de6f6a87a6c923f8328130e996550e552723201472fb93261d4d6e7f59ab73924b84453640c634911dc33d9 WHIRLPOOL f59eb52ccc9c7e91131cd6cd64cfd2d2501291cffb9138451e591e82781ae853a3ddd936af8dd85afc43b142541f70ff824d25e93301150c1f900c8bb632e76e +MISC metadata.xml 326 SHA256 467f437a486aa477f6ec9e6865eca1655c9dac66e1a31380ed6c5cca5c9caaa8 SHA512 a1550e2953010f4593e3c7cbe54783f4e0a5859f58e756b6cde50c0d404ca10f8eb0f43df223c6f7df454429d90f496a99aee08f68c8830a1aa396e1febcbe7c WHIRLPOOL e1f6e8375e6bee4a4639fef9f8e0ea2f9558aeb1798c0ba4695c667d4832cb3c6c2144be0022eb985df9a42eb5206ee1336f30353f07adce4e98f5edc39d49b0 diff --git a/games-util/dzip/dzip-2.9-r3.ebuild b/games-util/dzip/dzip-2.9-r3.ebuild new file mode 100644 index 000000000000..ded35f14665d --- /dev/null +++ b/games-util/dzip/dzip-2.9-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="compressor/uncompressor for demo recordings from id's Quake" +HOMEPAGE="http://speeddemosarchive.com/dzip/" +SRC_URI="http://speeddemosarchive.com/dzip/dz${PV/./}src.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-system-zlib-r2.patch + epatch "${FILESDIR}"/${P}-scrub-names.patch #93079 + epatch "${FILESDIR}/dzip-amd64.diff" + mv -f Makefile{.linux,} +} + +src_install () { + dobin dzip + dodoc Readme +} diff --git a/games-util/dzip/files/dzip-2.9-scrub-names.patch b/games-util/dzip/files/dzip-2.9-scrub-names.patch new file mode 100644 index 000000000000..079fae3fd070 --- /dev/null +++ b/games-util/dzip/files/dzip-2.9-scrub-names.patch @@ -0,0 +1,88 @@ +Fix directory traversals issues. + +Since .dz files normally just have relative directory trees: +pak/ +pak/file +pak/subdir/file + +we strip out all the components which ascend in the directory tree + +http://bugs.gentoo.org/93079 + +--- main.c ++++ main.c +@@ -77,6 +77,48 @@ int dzRead (int inlen) + return 1;
+ } +
++#define IS_SEP(c) (c == '/' || c == ':' || c == '\\') ++void scrub_name(char *smee) ++{ ++ char *paths[] = { "../", "..\\", "..:", NULL}; ++ size_t p, i, len; ++ char scrubit, scrubbed; ++ ++ scrubbed = 0; ++ len = strlen(smee); ++ i = 0; ++ scrubit = 1; ++ ++ /* search the path and scrub out all relative paths */ ++ while (i + 3 < len) { ++ for (p = 0; paths[p]; ++p) { ++ if (scrubit && !strncmp(paths[p], smee+i, 3)) { ++ scrubbed = 1; ++ memset(smee+i, '\0', 3); ++ i += 2; ++ break; ++ } ++ } ++ scrubit = IS_SEP(smee[i]) || smee[i] == '\0'; ++ ++i; ++ } ++ ++ if (!scrubbed) ++ return; ++ ++ /* condense the string over all the scrubbed bits */ ++ p = 0; ++ for (i = 0; i < len; ++i) { ++ while (p < len && smee[p] == '\0') ++ ++p; ++ if (p == len) { ++ smee[i] = '\0'; ++ break; ++ } ++ smee[i] = smee[p++]; ++ } ++} ++
+ int dzReadDirectoryEntry (direntry_t *de) + { + char *s; +@@ -102,6 +144,7 @@ int dzReadDirectoryEntry (direntry_t *de + s = Dzip_malloc(de->len);
+ dzFile_Read(s, de->len);
+ de->name = s; ++ scrub_name(de->name); + if (de->pak && de->type != TYPE_PAK) + return 1; /* dont mess with dirchar inside pakfiles */ + do +--- v1code.c ++++ v1code.c +@@ -201,6 +201,7 @@ void demv1_dxentities(void) + + } +
++extern void scrub_name(char *smee); + void dzUncompressV1 (int testing)
+ {
+ int i, inlen = 0;
+@@ -221,6 +222,7 @@ void dzUncompressV1 (int testing)
+ {
+ de = directory + i;
+ crcval = INITCRC;
++ scrub_name(de->name); + printf("%s %s",action,de->name);
+ fflush(stdout);
+
diff --git a/games-util/dzip/files/dzip-2.9-system-zlib-r2.patch b/games-util/dzip/files/dzip-2.9-system-zlib-r2.patch new file mode 100644 index 000000000000..4bf10f8b98f6 --- /dev/null +++ b/games-util/dzip/files/dzip-2.9-system-zlib-r2.patch @@ -0,0 +1,72 @@ +--- dzip.h ++++ dzip.h +@@ -2,7 +2,7 @@ + #include <stdlib.h>
+ #include <string.h>
+
+-#include "zlib/zlib.h"
++#include <zlib.h>
+
+ typedef unsigned char uchar;
+
+@@ -177,4 +177,4 @@ + #else
+ #define DIRCHAR '/'
+ #define WRONGCHAR '\\'
+-#endif +\ No newline at end of file ++#endif
+--- Makefile.linux ++++ Makefile.linux +@@ -1,18 +1,17 @@ + # Makefile for linux
+
+-CC = gcc
+-CFLAGS = -Wall -O3
++CC ?= gcc
++CFLAGS ?= -O3
++CFLAGS += -Wall
+ TARGET = dzip
+ OBJECTS = main.o compress.o uncompress.o list.o crc32.o \
+- encode.o decode.o v1code.o conmain.o delete.o \
+- zlib/adler32.o zlib/deflate.o zlib/trees.o \
+- zlib/inflate.o zlib/infblock.o zlib/inftrees.o zlib/infcodes.o \
+- zlib/infutil.o zlib/inffast.o
++ encode.o decode.o v1code.o conmain.o delete.o
++LIBS = -lz
+
+ TMPFILES = gmon.out frag*
+
+ $(TARGET): $(OBJECTS)
+- $(CC) $(CFLAGS) $(OBJECTS) -o $(TARGET) $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
+
+ clean:
+ rm -f $(TARGET) $(OBJECTS) $(TMPFILES)
+@@ -24,4 +23,4 @@ + encode.o: encode.c dzip.h
+ list.o: list.c dzip.h dzipcon.h
+ decode.o: decode.c dzip.h dzipcon.h
+-v1code.o: v1code.c dzip.h dzipcon.h +\ No newline at end of file ++v1code.o: v1code.c dzip.h dzipcon.h
+--- conmain.c.orig 2010-01-17 15:10:20.938605770 +0000 ++++ conmain.c 2010-01-17 15:10:34.180603846 +0000 +@@ -507,8 +507,8 @@ + if (!strcmp(argv[i],"-o")) i++;
+ }
+
+- zs.zalloc = Dzip_calloc;
+- zs.zfree = free;
++ zs.zalloc = Z_NULL; // Dzip_calloc; <- wrong number of arguments, reverting to default
++ zs.zfree = Z_NULL; // free; <- wrong number of arguments, reverting to default
+
+ if (flag[SW_LIST] || flag[SW_EXTRACT] || flag[SW_VERIFY])
+ {
+@@ -618,4 +618,4 @@ + dzDeleteFiles_MakeList(files + 1, fileargs - 1);
+ free(files);
+ exit(0);
+-} +\ No newline at end of file ++}
diff --git a/games-util/dzip/files/dzip-amd64.diff b/games-util/dzip/files/dzip-amd64.diff new file mode 100644 index 000000000000..ef49ff330570 --- /dev/null +++ b/games-util/dzip/files/dzip-amd64.diff @@ -0,0 +1,30 @@ +--- dzip/crc32.c 2002-07-12 06:07:54.000000000 +0200 ++++ dz/crc32.c 2010-01-20 23:23:43.000000000 +0100 +@@ -1,10 +1,12 @@ ++#include <stdint.h> ++ + unsigned long crcval; + unsigned long crctable[256]; + +-unsigned long crc_reflect(unsigned long x, int bits) +-{
+- int i; +- unsigned long v = 0, b = 1 << (bits - 1); ++unsigned long crc_reflect(uint32_t x, int bits) ++{ ++ uint32_t i; ++ uint32_t v = 0, b = 1 << (bits - 1); + + for (i = 0; i < bits; i++) + { +@@ -16,8 +18,8 @@ + + void crc_init(void) + { +- unsigned long crcpol = 0x04c11db7; +- unsigned long i, j, k; ++ uint32_t crcpol = 0x04c11db7; ++ uint32_t i, j, k; + + for (i = 0; i < 256; i++) + { diff --git a/games-util/dzip/metadata.xml b/games-util/dzip/metadata.xml new file mode 100644 index 000000000000..d3c0508f60cd --- /dev/null +++ b/games-util/dzip/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>hanno@gentoo.org</email> +</maintainer> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/etswitch/Manifest b/games-util/etswitch/Manifest new file mode 100644 index 000000000000..f58d31428d09 --- /dev/null +++ b/games-util/etswitch/Manifest @@ -0,0 +1,8 @@ +AUX etswitch-0.1.14-desktop-entry.patch 464 SHA256 5190d4f254b520ff928b30881d78ed1619e864fdcc0d9daf347315c21ed70746 SHA512 aa21d15ce672f51903e8cd86df3d8794231037d8eb8cb97a8313dc6f3c7212b7bb89d8f78ecc249a589ad03b38ef41f5d346f41dc9f929d130eb83794b19b9ec WHIRLPOOL 25942c53cfc593e6c6314e706c783230b86da987b2fa1dc180b28d3cc643563ad09147b7002290a98d307e4f3e98488d017a56076ba630d2ae33bcbcfb94a251 +AUX etswitch-0.1.14-glibc.patch 628 SHA256 c6f3565cf252e05c97aac0444e8808f006901ba53ce80c5616c823cb9204d43e SHA512 27249584033beb4cf81b37e387a814a7b213d4108f530bc21494196916fe395c15767e384c62257dd3abb1d04eb104c0863b7e2d80cfae4927912a836b181019 WHIRLPOOL 8402018aec68f163da62cdc93eee429af135b805e1106a78e56c867b47c4b7c7e10485ff81c43154533232937bac110a128e2e79364b4b576d671e4da6d37f0f +DIST etswitch-0.1.14.tar.gz 165811 SHA256 8519b2e913704eab0535bbb3693b186cb16f69536fae5ccec371d2a3e4407399 SHA512 15447e728b8c6783e663bb76dd64a03b57ecfea6845991f4deca73ee5c5b8c2f87e92d842a46948e48468898eb036f17cbaf365887ea30c1b724db9133f9620c WHIRLPOOL a95175fbcc3a2a08669da11f74c740b6678869831209566998ed6ad94e3fcad456c44d799d934799d935ef0511b606dd9d10a6d92d15009ba4bf58ab96997cec +EBUILD etswitch-0.1.14-r1.ebuild 645 SHA256 35c65fc7966f6c6669938afcac8a55f62695a85c9a3355041e3010fa1f3fcbbd SHA512 dadcf61b3a8e2683f48a5665fc3c6712ecf0d51ca039645d8cb3cbf41a8075fac279dd9866e9135893e3db799cfe005e6f909977c4425a00b916da50766c3264 WHIRLPOOL 6cbd1c114ddf1591cf3679c42206fb0e9aa883ffe74f74a5c712b2dff5a94fc4ad5bc4a58f37ea03eec821ff61d546c321cdb4b82fca17c7ad46d9a03d2a209a +EBUILD etswitch-0.1.14.ebuild 730 SHA256 2b2dff0d5aa4ec1446dc30a66b92b4aeca1fda082ac7bfbaee0f9dfb8daf5a7a SHA512 f8ead84a757f9dc73a0c81299604f88307283bf027db796e4e090215b2d1b17cbb9962b66635654d33f465be93adf5760cc85923c14f8cc9181ba0ddd5e12aac WHIRLPOOL a96a7d5c36bac75ca4e19ac4635492dd051cd0babb3918e4a18f98136e5998edacd4f34f5d1571328b4dfe5fde3b24ddfff3c2afa88fad9f20f0612946547f58 +MISC ChangeLog 2818 SHA256 841ca8828cc873f0ccecb525eb929008d0470f18b7566707a196389888e49d0e SHA512 4a6686301da9f6530865f5537bb3ccd607932b5a3766af2a7e944fa257a5388a8b134dfdc903e2b9d9b7cdfe58ce2bb7cfd062e674c5cedbc915f3102b80486c WHIRLPOOL 567fe55a9fc299793804e30c287a665085d83dc4ecd8d4c4e1413f75be84b3c530027b897b44a2a7641f575a7c8d827fab064a9e7a747f955822c6b9522dda7e +MISC ChangeLog-2015 1027 SHA256 040d66f3f0080a3108e55428b8b8655a162a80a6464aa76891ac0690f613a716 SHA512 6cfe65c8fb4bc979edbd54e9721d71c3ffde61be7b33a5ee58e39a148ac8608a3b729539810802e8643cbf677fce28a19d421fd942175003f5cdc517320fd21d WHIRLPOOL 954130958937cba7be221157eb3b57b42933ccec01f7f90dabca115ed4feabbef600e038545de4976ab8dba4cfb8ff773b135cf27ebde422ab0a1c32a88c2093 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-util/etswitch/etswitch-0.1.14-r1.ebuild b/games-util/etswitch/etswitch-0.1.14-r1.ebuild new file mode 100644 index 000000000000..b8ac2cb5b6f9 --- /dev/null +++ b/games-util/etswitch/etswitch-0.1.14-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="*nix minimizer for a few games" +HOMEPAGE="http://hem.bredband.net/b400150/" +SRC_URI="http://hem.bredband.net/b400150/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXxf86vm + x11-libs/libXmu + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-libs/libXt + x11-proto/recordproto + x11-proto/xf86vidmodeproto + x11-proto/xproto" + +PATCHES=( + "${FILESDIR}"/${P}-desktop-entry.patch + "${FILESDIR}"/${P}-glibc.patch +) + +src_configure() { + econf --datadir=/usr/share +} diff --git a/games-util/etswitch/etswitch-0.1.14.ebuild b/games-util/etswitch/etswitch-0.1.14.ebuild new file mode 100644 index 000000000000..0b179daf30aa --- /dev/null +++ b/games-util/etswitch/etswitch-0.1.14.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="*nix minimizer for a few games" +HOMEPAGE="http://hem.bredband.net/b400150/" +SRC_URI="http://hem.bredband.net/b400150/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libXpm + x11-libs/libXxf86vm + x11-libs/libXmu + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-libs/libXt + x11-proto/xproto + x11-proto/recordproto + x11-proto/xf86vidmodeproto" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-desktop-entry.patch \ + "${FILESDIR}"/${P}-glibc.patch +} + +src_configure() { + egamesconf --datadir=/usr/share +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch b/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch new file mode 100644 index 000000000000..f3e6b5dcd805 --- /dev/null +++ b/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch @@ -0,0 +1,20 @@ +--- a/etswitch.desktop.in 2008-02-02 10:54:51.000000000 -0500 ++++ b/etswitch.desktop.in 2008-02-02 11:17:40.000000000 -0500 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Version=1.0 + + Name=ETSwitch +@@ -15,9 +14,9 @@ + Comment[fi_FI]=ETSwitch versio @VERSION@ + + Exec=etswitch --no-delay +-Icon=etswitch.png ++Icon=etswitch + Terminal=false + Type=Application +-Categories=Application;Game;Tool ++Categories=Game;Utility; + StartupNotify=true + StartupWMClass=ETSwitch diff --git a/games-util/etswitch/files/etswitch-0.1.14-glibc.patch b/games-util/etswitch/files/etswitch-0.1.14-glibc.patch new file mode 100644 index 000000000000..a51862d6722d --- /dev/null +++ b/games-util/etswitch/files/etswitch-0.1.14-glibc.patch @@ -0,0 +1,12 @@ +diff -dupr etswitch-old/src/etswitch.c etswitch-0.1.14/src/etswitch.c +--- etswitch-old/src/etswitch.c 2009-02-24 11:20:29.594339029 +0100 ++++ etswitch-0.1.14/src/etswitch.c 2009-02-24 11:28:12.100463404 +0100 +@@ -461,7 +461,7 @@ int main(int argc, char *argv[]){ + /* setup lock, fixme */ + /* use temp var */ + lock_file = "/tmp/.etswitch.pid"; /* now this isnt failsafe but at least something */ +- lock_fd = open(lock_file, O_CREAT | O_RDWR); ++ lock_fd = open(lock_file, O_CREAT | O_RDWR, 0600); + if (lock_fd < 0) { + #ifdef DEBUG + fprintf(stdout, "'%s' allready exits, will try to open.\n",lock_file); diff --git a/games-util/etswitch/metadata.xml b/games-util/etswitch/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-util/etswitch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/fteqcc/Manifest b/games-util/fteqcc/Manifest new file mode 100644 index 000000000000..652a46d7c4c3 --- /dev/null +++ b/games-util/fteqcc/Manifest @@ -0,0 +1,6 @@ +AUX fteqcc-2501-cleanup-source.patch 2655 SHA256 c0be1d593a2231db83477041a7122672b3ad9cea166395fccd2f029a5564d0df SHA512 978f3fc8238383ba63be4095fb7ebe30b0a6a0220b2d0f28033ab61ed23251de3757414fecdda2d987996094e3953797d0d89f3b4cc812c4ce7e15335f06035c WHIRLPOOL 6f488a4840b7e1f99cc7012816251d531d0867de1480fab3eeb2ec239849f9721831c1ef2d421ff0d4e7f2ef3c3f5ddc4f11a59088a191aa60fdfc32e3649191 +DIST qclibsrc2501.zip 204047 SHA256 2de9e022996a6758b31390db8133a1af8a161ea2e962a9f7a12564139848d305 SHA512 60740e55c470dcb8deb235b49b5e8bd56f3c932fd9290808224b4d0ff2d6d8eb95302fdd1c972f36c992ac046fdbbc6a34c6de2fc67e1e7de54f23fd10de89d7 WHIRLPOOL 33ff136d20a4042d25a82ba7dbdc1c9a9883d409ffdd347d64d9001c5a186ca3495cd4b49b460dedb0140a3d8250f9f68d4a41dad299685c74e167770dcb2653 +EBUILD fteqcc-2501.ebuild 768 SHA256 f4d4962ad96f05584017fb501fbcfc768d4aa0ce160b169cc440a6c17ff896b6 SHA512 d17048cd1c9737d82c026d0beeb30f75bbdf5a3b68f60403ea060d193cab486e3bae9a60602bc912078f39abff6c3e60b86ca153fbb7ad53a1e5b182c6af04dc WHIRLPOOL fe185024be7c95a665ad32a665b16288ea1f7e785cfea711a764d5b7ab2544f2bc6370c63be5096066a825ec4db01e432946399ebfea4c02e222e301701fd89d +MISC ChangeLog 2465 SHA256 81670c33d3637ea641ee424cc6c38b94b7bb804c631fbe63905ee6902b2cfb36 SHA512 519fe877bbe2a226e6230e9d155880d013761e5feb489531f0a79f1a202b438f9b02d15ee7e6fa94d8aa8280baddf805b37f4202a87fea1cbcb24ea9f1eea18d WHIRLPOOL a92457ce7c2c919daefe9e804ffe6339fdd58e55265b266bb2eb3340413c74e1341f9216fcf4fe78e26bd0c1595cf29db82f8eb7c69f616880f7b9f6876bb308 +MISC ChangeLog-2015 835 SHA256 4609a11cc3c75e6a58b9a676c4d42dac9f65b5eb80f791aff95aa6c08f37349e SHA512 b81aa98832dc38c5693283384dad1f08bdf42abfb6c6e30f07e8dcee82aa04a246f3ef3f0118e887f290a9598d1ccf2b2e2a9351218b6b665e56f7f48eb99af7 WHIRLPOOL 11e7b4f73b7ec85bb57791154e8a42f1f81066dba1e23d196ce15a5956e689c1174e94b0008d490420c1f0f29e11ce1bbdb6ce1847c32138d978e8f8082d2cf5 +MISC metadata.xml 328 SHA256 88cf54e4ff84e1d8fcf2228c8958ebdc640accf682aad380312be30dc39edd81 SHA512 9a114bb9f7d3e6d5995830c71662bc58b78bee8a1d104399b9f7a53efaf3410a6da94486e8a5a9a2b25677eb79327b1fad4b135c8ed63429e21fee500853a78f WHIRLPOOL 7ecffb25293e5950ef6ae9c75a8869cc8e1a91ed65aca523b0179f74513be51c210a11a5da47f6cb54560324c08b93398ea33bb44faadb03ae34f46971301dc5 diff --git a/games-util/fteqcc/files/fteqcc-2501-cleanup-source.patch b/games-util/fteqcc/files/fteqcc-2501-cleanup-source.patch new file mode 100644 index 000000000000..35f3dcf100ae --- /dev/null +++ b/games-util/fteqcc/files/fteqcc-2501-cleanup-source.patch @@ -0,0 +1,93 @@ +--- qcc_pr_comp.c ++++ qcc_pr_comp.c +@@ -7322,7 +7322,7 @@ + QCC_def_t *def, *d;
+ QCC_function_t *f;
+ QCC_dfunction_t *df;
+- int i;
++ int i = 0;
+ pbool shared=false;
+ pbool externfnc=false;
+ pbool isconstant = false;
+@@ -8541,8 +8545,6 @@ + struct qcc_includechunk_s *oldcurrentchunk;
+ extern struct qcc_includechunk_s *currentchunk;
+
+- extern char qccmsourcedir[];
+-
+ ocompilingfile = compilingfile;
+ os_file = s_file;
+ os_file2 = s_file2;
+--- hash.h ++++ hash.h +@@ -19,12 +19,12 @@ + int Hash_Key(char *name, int modulus);
+ void *Hash_Get(hashtable_t *table, char *name);
+ void *Hash_GetInsensative(hashtable_t *table, char *name);
+-void *Hash_GetKey(hashtable_t *table, int key);
++void *Hash_GetKey(hashtable_t *table, long key);
+ void *Hash_GetNext(hashtable_t *table, char *name, void *old);
+ void *Hash_GetNextInsensative(hashtable_t *table, char *name, void *old);
+ void *Hash_Add(hashtable_t *table, char *name, void *data, bucket_t *buck);
+ void *Hash_AddInsensative(hashtable_t *table, char *name, void *data, bucket_t *buck);
+ void Hash_Remove(hashtable_t *table, char *name);
+ void Hash_RemoveData(hashtable_t *table, char *name, void *data);
+-void Hash_RemoveKey(hashtable_t *table, int key);
+-void *Hash_AddKey(hashtable_t *table, int key, void *data, bucket_t *buck);
++void Hash_RemoveKey(hashtable_t *table, long key);
++void *Hash_AddKey(hashtable_t *table, long key, void *data, bucket_t *buck);
+--- hash.c ++++ hash.c +@@ -68,7 +68,7 @@ + }
+ return NULL;
+ }
+-void *Hash_GetKey(hashtable_t *table, int key)
++void *Hash_GetKey(hashtable_t *table, long key)
+ {
+ int bucknum = key%table->numbuckets;
+ bucket_t *buck;
+@@ -77,7 +77,7 @@ +
+ while(buck)
+ {
+- if ((int)buck->keystring == key)
++ if ((long)buck->keystring == key)
+ return buck->data;
+
+ buck = buck->next;
+@@ -168,7 +168,7 @@ +
+ return buck;
+ }
+-void *Hash_AddKey(hashtable_t *table, int key, void *data, bucket_t *buck)
++void *Hash_AddKey(hashtable_t *table, long key, void *data, bucket_t *buck)
+ {
+ int bucknum = key%table->numbuckets;
+
+@@ -237,14 +237,14 @@ + }
+
+
+-void Hash_RemoveKey(hashtable_t *table, int key)
++void Hash_RemoveKey(hashtable_t *table, long key)
+ {
+ int bucknum = key%table->numbuckets;
+ bucket_t *buck;
+
+ buck = table->bucket[bucknum];
+
+- if ((int)buck->keystring == key)
++ if ((long)buck->keystring == key)
+ {
+ table->bucket[bucknum] = buck->next;
+ return;
+@@ -253,7 +253,7 @@ +
+ while(buck->next)
+ {
+- if ((int)buck->next->keystring == key)
++ if ((long)buck->next->keystring == key)
+ {
+ buck->next = buck->next->next;
+ return;
diff --git a/games-util/fteqcc/fteqcc-2501.ebuild b/games-util/fteqcc/fteqcc-2501.ebuild new file mode 100644 index 000000000000..5fd9c7e2f5c3 --- /dev/null +++ b/games-util/fteqcc/fteqcc-2501.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic + +DESCRIPTION="QC compiler" +HOMEPAGE="http://fteqw.sourceforge.net/" +SRC_URI="mirror://sourceforge/fteqw/qclibsrc${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="test" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cleanup-source.patch + sed -i \ + -e '/^CC/d' \ + -e "s: -O3 : :g" \ + -e "s: -s : :g" \ + -e 's/-o fteqcc.bin/$(LDFLAGS) -o fteqcc.bin/' \ + Makefile || die "sed failed" + edos2unix readme.txt + append-flags -DQCCONLY +} + +src_compile() { + emake BASE_CFLAGS="${CFLAGS} -Wall" +} + +src_install() { + newbin fteqcc.bin fteqcc + dodoc readme.txt +} diff --git a/games-util/fteqcc/metadata.xml b/games-util/fteqcc/metadata.xml new file mode 100644 index 000000000000..c93ba6816bc6 --- /dev/null +++ b/games-util/fteqcc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">fteqw</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/gamepick/Manifest b/games-util/gamepick/Manifest new file mode 100644 index 000000000000..3d62082fb1b0 --- /dev/null +++ b/games-util/gamepick/Manifest @@ -0,0 +1,6 @@ +DIST gamepick-0.35.tar.gz 156725 SHA256 82e7e6126bd7917ebf65a561c8170075ae0c34502ef018b1663ad49b5e562039 SHA512 bd77d6584cb9bb5c358179226d20a1995badd7603332bde6692ecca6c30f26fe06e6ea202e04bd40c006e9f43ae8fcd885a09bcb696227be3da823dd68d5053c WHIRLPOOL 485fcba1421fa92039ea35314f28705372af5ed44c0c1caf5c992e71462dd658685b4e371c561c00ea9251ff82c6f5fd1f23415250a96c4432150f9b556fb4db +EBUILD gamepick-0.35-r1.ebuild 597 SHA256 812a77f4aa21f4bb91d56d3b301cbe4cedc2d4b7c7f59e1dbfa814f03317095f SHA512 fd48d4116fe444201f7065406063b31f37399f121f60971f7e9c48a49e752d4222c4e7b6ea5483e5b0713de54514d5fb0b4671f1503a50a9dff74c2f34877dcb WHIRLPOOL eaffba223c54868fffac1ff78d0e947b6ac10346e19b3428d4fbcbe34872fd7a00e0571d0e616ceb71459fb7fa0d136e99b5921131623cc43db588b25173a816 +EBUILD gamepick-0.35.ebuild 759 SHA256 16f7cb8221c4fa8bf78da1f04e4fa86d7ac9f5540aebc938272708ebf0a6fd30 SHA512 a59298059ac664f282f9c0fcf33e38789dab6a6541a2c3e2154b7466ed744623d26b5ba61a17c8d1e006783da18071e17679f5177dcf911952ea88314336bb12 WHIRLPOOL 0f925001d3fe207d46b7c7a665b184d36478d3e88c803668a5164f945658ad446b2851c985807fcefeb8ef9d0366137a633498bf1c76a35cdd91d19289e39935 +MISC ChangeLog 2685 SHA256 edd75f08c86456e76aa1df9d1c64a1e86e5f699a48a4eaa8375ce7e7d194c7c1 SHA512 477adf475fc365c7982245669379a3591083f5c457a560a21a7e2a0dd7a458a9c1a133a56a5905cb8f952be29841de4e915a8767be8ba1eae88881f002a31857 WHIRLPOOL fae04b98734767ca28775b924940a78bbab1c917e28eaf73d07a60c2304663dab4d5504d4667387dd8cacad6187670df4023f750a8d6a3d3fc7310ddbe9f8246 +MISC ChangeLog-2015 1867 SHA256 1f14d667ea80863eea9d35da9c8b4226cab058d7aa3d5affd09e6063d9d4e058 SHA512 067be697456d5876c91c59d35e8a2fd96c5fcb88165c7c57fe76dc8030e39d244efec07646012bf1d99009458faf5643e0468eb54012e81167c23cde6c5ad93a WHIRLPOOL 53d6ae4bbf24e1fcfee231f6f683a9f6139a8838e35e2785e0b8192d92ef392328c3d26064e8967997036b3e5e6c9ce2c996f2da94a0c14ef7169d11f5b64d6e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/gamepick/gamepick-0.35-r1.ebuild b/games-util/gamepick/gamepick-0.35-r1.ebuild new file mode 100644 index 000000000000..0929757f8c47 --- /dev/null +++ b/games-util/gamepick/gamepick-0.35-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Launch opengl games with custom graphic settings" +HOMEPAGE="http://www.rillion.net/gamepick/index.html" +SRC_URI="http://www.rillion.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + sed -i \ + -e 's/-O2//' \ + src/Makefile.in || die +} + +src_install() { + default + newicon ${PN}-48x48.xpm ${PN}.xpm + make_desktop_entry ${PN} ${PN} +} diff --git a/games-util/gamepick/gamepick-0.35.ebuild b/games-util/gamepick/gamepick-0.35.ebuild new file mode 100644 index 000000000000..c1cf48431545 --- /dev/null +++ b/games-util/gamepick/gamepick-0.35.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Launch opengl games with custom graphic settings" +HOMEPAGE="http://www.rillion.net/gamepick/index.html" +SRC_URI="http://www.rillion.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "s:/etc:${GAMES_SYSCONFDIR}:" \ + src/gamepick.h || die + + sed -i \ + -e 's/-O2//' \ + src/Makefile.in || die +} + +src_install() { + default + + dodir "${GAMES_SYSCONFDIR}" + touch "${D}/${GAMES_SYSCONFDIR}"/${PN}.conf + + newicon gamepick-48x48.xpm ${PN}.xpm + make_desktop_entry ${PN} ${PN} + + prepgamesdirs +} diff --git a/games-util/gamepick/metadata.xml b/games-util/gamepick/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/gamepick/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/glbsp/Manifest b/games-util/glbsp/Manifest new file mode 100644 index 000000000000..761a636a1a02 --- /dev/null +++ b/games-util/glbsp/Manifest @@ -0,0 +1,6 @@ +AUX glbsp-2.24-ldflags.patch 737 SHA256 5eb6dec09423ac2a2d47267948390a0404d267c32afe2df3ace92cc6773d9822 SHA512 78425825ea6049299afae48c2de89e9fa3e8f4994f176b7a42785eb3fcff625c69a2b3230f5aa624987fa4290f83eb9cf298d397b74171a2b0d94b70ab446d4f WHIRLPOOL 4b7c89a360299f0da3d80e985e58350bfbb345a101bb6832bc403c0db930865c76678b2a7bfb76ef2fe9fe520392c3838a24721ec9db9b5dc4802c0174d0332b +DIST glbsp_src_224.tar.gz 230977 SHA256 e3b7c4bce21c2f9b77732a9b5920b6877e884b31dd1ed9273776538dba48a75c SHA512 562201093b69ae1db113479f8dd71e474d2d4ea7798b5e156dc096660e0b725a16ba44e8d2bfd332eba89b66d07ac2a1ddd803e75802c8fb3739a420701b2e1a WHIRLPOOL a2ba794848d9cdfceae6a929ac51fbfa230b5df14b4fea717877008ad5a1fd024cfd84dbd5a23be9bae505d368e5004511fca7281d44f60e36ad328c7998322d +EBUILD glbsp-2.24.ebuild 1522 SHA256 c979288515f8a4b969a9a63307353dd86abf375c8cc7e064cae9f7b52bb44840 SHA512 9f8d039be2cb929f56c0322854289c6e00a30e20a9f1538fe848e65c97fe9cc18e183d9b37cb8208aa6b7c707e77b48da383bd683bd929120f7fdc1a5bf30015 WHIRLPOOL 60f4025ffaeedf198e032f203b7c5da5eab82d2b0f52b8f39e56c07176264e95a2f14b4d2cdf45c50ebed2f0ed73d2289bcbf7d894655ac38be830f395061173 +MISC ChangeLog 2645 SHA256 a6289fa931f02df16fd5734158241c747c16f75a795c6099610107d663df2331 SHA512 3b1e9a91a9517bb4f742c12f7f8c06d3d522cd53c7de19f5af48040d4e30405e1a22fc88e2c22e4769a122e6f253be86197c35b691aedaf4b17742747e9ad9dc WHIRLPOOL 91e83a8727d5b0fbb774d0cfc76e9c0074d7bb527997b4cb04a1b0fb845d65e9c87aa85ad3ef1b07c6857217aee2a16b55194656fc9bc06f0bd3d7cbf2d309d8 +MISC ChangeLog-2015 2079 SHA256 a631aa1bef644831c8216cb1da01d6da2c0c7115db71f44e999d191681615a2a SHA512 c28be6b3d05230a2414f0bc5e59de58b4aaf4ca8e3d821299e37b13de2d0645c7a84496bd62c5c8aedbde216008123db3e85d68570687b55fbafee6390281019 WHIRLPOOL 51d58819febbb7fc98904444b119e01f81760da44dcac4845e6b78d6f45294717bf8883724678ad166413051940d0de1f82ecf208bc6cf25fea1e7fa16138f94 +MISC metadata.xml 328 SHA256 5b076388c8d164bcd618f572b2796239c797bdd5cc86ad671a7f2304eda502c5 SHA512 ec7fab9de36fc312330b2e8251da6909a7d6ec1350145a7ef9681085993173f8ff8da796d4c868605c4391c7ad8ea4a11fb40e00b4fde754711dd060e0486347 WHIRLPOOL 09c162af09b983c0d7a26f1b37cf0badc9b836c1bcae25d76068ad541d5aee414ab80545af0271dc7d50625333a9644bd085f7fd384cc495ba9f0cd24f039399 diff --git a/games-util/glbsp/files/glbsp-2.24-ldflags.patch b/games-util/glbsp/files/glbsp-2.24-ldflags.patch new file mode 100644 index 000000000000..e6adb0ff035c --- /dev/null +++ b/games-util/glbsp/files/glbsp-2.24-ldflags.patch @@ -0,0 +1,22 @@ +--- Makefile.unx.old 2010-11-25 11:24:48.000000000 +0100 ++++ Makefile.unx 2010-11-25 11:25:10.000000000 +0100 +@@ -79,8 +79,7 @@ + $(CC) $(CMD_FLAGS) -c $^ -o $@ + + $(CMD_NAME): $(LIB_NAME) $(CMD_OBJS) +- $(CC) $(CMD_FLAGS) $(CMD_OBJS) -o $@ $(LIB_NAME) $(CMD_LIBS) +- $(STRIP) $@ ++ $(CC) $(CMD_FLAGS) $(LDFLAGS) $(CMD_OBJS) -o $@ $(LIB_NAME) $(CMD_LIBS) + + install: $(CMD_NAME) + cp $(CMD_NAME) $(INSTALL_PREFIX)/bin/ +--- Makefile.unx.old 2010-11-25 11:31:27.000000000 +0100 ++++ Makefile.unx 2010-11-25 11:31:31.000000000 +0100 +@@ -125,7 +125,6 @@ + + $(GUI_NAME): $(LIB_NAME) $(GUI_OBJS) + $(CXX) $(GUI_FLAGS) $(GUI_OBJS) -o $@ $(LIB_NAME) $(GUI_LIBS) +- $(STRIP) $@ + + + # ----- DOCUMENTATION --------------------------------------------- diff --git a/games-util/glbsp/glbsp-2.24.ebuild b/games-util/glbsp/glbsp-2.24.ebuild new file mode 100644 index 000000000000..718f03a2911f --- /dev/null +++ b/games-util/glbsp/glbsp-2.24.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs versionator + +MY_PV=$(delete_version_separator 1) +DESCRIPTION="A node builder specially designed for OpenGL ports of the DOOM game engine" +HOMEPAGE="http://glbsp.sourceforge.net/" +SRC_URI="mirror://sourceforge/glbsp/${PN}_src_${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="fltk" + +DEPEND="fltk? ( x11-libs/fltk:1 )" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P}-source + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e "/^CXX=/s:=.*:=$(tc-getCXX):" \ + -e "/^AR=/s:ar:$(tc-getAR):" \ + -e "/^RANLIB=/s:=.*:=$(tc-getRANLIB):" \ + -e "s:-O2:${CFLAGS}:" \ + -e "s:-O -g3:${CFLAGS}:" \ + Makefile.unx \ + nodeview/Makefile.unx || die +} + +src_compile() { + emake -f Makefile.unx + if use fltk ; then + emake -f Makefile.unx glBSPX \ + FLTK_FLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + emake -f Makefile.unx -C nodeview \ + FLTK_CFLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + fi +} + +src_install() { + dobin glbsp + dolib.a libglbsp.a + doman glbsp.1 + dodoc AUTHORS.txt glbsp.txt + insinto "/usr/include" + doins "src/glbsp.h" + + if use fltk ; then + newbin glBSPX glbspx + newicon gui/icon.xpm glbspx.xpm + make_desktop_entry glbspx glBSPX glbspx + + dobin nodeview/nodeview + docinto nodeview + dodoc nodeview/{README,TODO}.txt + fi +} diff --git a/games-util/glbsp/metadata.xml b/games-util/glbsp/metadata.xml new file mode 100644 index 000000000000..e71bd1594768 --- /dev/null +++ b/games-util/glbsp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">glbsp</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/grfcodec/Manifest b/games-util/grfcodec/Manifest new file mode 100644 index 000000000000..d9db2ef788c8 --- /dev/null +++ b/games-util/grfcodec/Manifest @@ -0,0 +1,7 @@ +DIST grfcodec-6.0.5-source.tar.xz 166788 SHA256 db149e98095de107a8d6f715f03376380f201ea158e0cdc53585d9a1b5cbe8a2 SHA512 b578c6d53b69a1d43d59039f26a028e1437536102150fc2bddfff349ef3c7f720ee31e682ccc5df892c2660e167663c2ab12c3fa63c720022ab14d0645d0bf99 WHIRLPOOL d36ea24172724821fdcb10bf80630ba8adf822675b78e6df414395b1b210fa792c864bfb7e11d8c1e9a38e89d33d9aec91ec3f6c4a5951e9f8301f8b3fbacb38 +DIST grfcodec-6.0.6-source.tar.xz 166820 SHA256 53ef18b810114d8f41b87aad8bafea0e98b1df55a6d4c5e27551337cedab4d21 SHA512 543123c794bfdb5b6556f7a897bcd2f3bdd09be8ad6a4ff07b138e0cac62621a4801c732bb20099c1bb383ad5822fc4ade276d49acf2744c811edd10d7699480 WHIRLPOOL 7b374769db83b68e12ff458533eab47072c72d5793d5aa7e40b02e34d5c6e42231c3bac1b21d2970e7314a8118cd102501658f2ced5d06607ca2b5c8b203a43b +EBUILD grfcodec-6.0.5.ebuild 1085 SHA256 29539573e79e60fa9a038ef414587024f74c0029a1c495026164f0e22d148567 SHA512 2bf51aae6a961c2ba831834f63940af3f07994ee6243fbf945a7304babefb8061ff169dead1619d4e7b0b4b92eb8a73c3dfdc79d58f5a90c300d997950ab8489 WHIRLPOOL 42ed4aab26f04d6f550e61c912e4da4c5ada8b3b33c669f0b1a50b88dc4e0159a8e9b20d3cd4e1b08c59d0d0666158d62bb1566465abcd4601d937d87c5a679d +EBUILD grfcodec-6.0.6.ebuild 1061 SHA256 6e4dcbe0bc112999ed0d2f5aa014e484e641262809f9372ee152931e13fe3b55 SHA512 b9dc951b1dd1f6d667ee3f81619077d1b41c4d2a3454d5877c476443dde1ac6e5fc7fd121fee80cf229e9cce66e5cc0488601727370fe069ac5347df59ffe973 WHIRLPOOL 46ea8ab6e7afe8460679d00dcd7157aa929829af92349e006e788989fa063b4812bea9d73694cd222713f57c2ba80ed67f111c1fdfaf9e64125b3bdc843a9a15 +MISC ChangeLog 3287 SHA256 c96002976fd77ea0a9f72a1037c04b0492ef81b988fab9f883b21f16fdd0de45 SHA512 b463d3bb6161a2cc6ddca3bb85e75558ba223dc3e02c233a5e6219b43523dab3171166169f2e76c283de660d727efc8a0548aba7758ee51284b1242f26cc978c WHIRLPOOL 18c27fd75e93c801fa35688f4c391ed99388b06d0284267394a1d87a45b767745c1469700005a83a409cad3d983b8f60ab9ab18afef88da85dd5937c76cfe3f2 +MISC ChangeLog-2015 3287 SHA256 783bcbd9f8cc10d156babf6f54f6164e0296c6b0a4fa78f65880e1cfbf30e49c SHA512 e21827a06be11bd74ffff85c372d6e407b9bf0acb2fb4a56ed6c79da2c80ef4edf9ed75fa3dbd9a6fd95495221e6c520eefe55946bacbfa06d029759dfc0911b WHIRLPOOL 5c1a736f0fbe372787f57d29dcfe033f3946d3b71afe9f0ed6d621ae9fbf8e28076a11b4aac838c6427eca162eab454dd78f0338f94019fb7e63318d99189dd1 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/grfcodec/grfcodec-6.0.5.ebuild b/games-util/grfcodec/grfcodec-6.0.5.ebuild new file mode 100644 index 000000000000..d0c27b0c80e5 --- /dev/null +++ b/games-util/grfcodec/grfcodec-6.0.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=mercurial + EHG_REPO_URI="http://hg.openttdcoop.org/${PN}" +fi + +inherit toolchain-funcs ${SCM} + +DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" +HOMEPAGE="http://dev.openttdcoop.org/projects/grfcodec" +[[ -z ${SCM} ]] && SRC_URI="http://binaries.openttd.org/extra/${PN}/${PV}/${P}-source.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86" +IUSE="" + +[[ -n ${SCM} ]] && S=${WORKDIR}/${PN} + +RDEPEND="media-libs/libpng:0" +DEPEND="${RDEPEND} + !games-util/nforenum + dev-lang/perl + dev-libs/boost" + +src_prepare() { +# Set up Makefile.local so that we respect CXXFLAGS/LDFLAGS +cat > Makefile.local <<-__EOF__ + CXX=$(tc-getCXX) + BOOST_INCLUDE=/usr/include + CXXFLAGS=${CXXFLAGS} + LDOPT=${LDFLAGS} + UPX= + V=1 + FLAGS= + EXE= + __EOF__ + sed -i -e 's/-O2//g' Makefile || die +} + +src_install() { + dobin grfcodec grfid grfstrip nforenum + doman docs/*.1 + dodoc changelog.txt docs/*.txt +} diff --git a/games-util/grfcodec/grfcodec-6.0.6.ebuild b/games-util/grfcodec/grfcodec-6.0.6.ebuild new file mode 100644 index 000000000000..58ce0e2db8d0 --- /dev/null +++ b/games-util/grfcodec/grfcodec-6.0.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=mercurial + EHG_REPO_URI="http://hg.openttdcoop.org/${PN}" +fi + +inherit toolchain-funcs ${SCM} + +DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" +HOMEPAGE="http://dev.openttdcoop.org/projects/grfcodec" +[[ -z ${SCM} ]] && SRC_URI="http://binaries.openttd.org/extra/${PN}/${PV}/${P}-source.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86" +IUSE="" + +RDEPEND="media-libs/libpng:0" +DEPEND=" + ${RDEPEND} + !games-util/nforenum + dev-lang/perl + dev-libs/boost +" + +src_prepare() { + default + + # Set up Makefile.local so that we respect CXXFLAGS/LDFLAGS + cat > Makefile.local <<-__EOF__ + CXX=$(tc-getCXX) + BOOST_INCLUDE=/usr/include + CXXFLAGS=${CXXFLAGS} + LDOPT=${LDFLAGS} + UPX= + V=1 + FLAGS= + EXE= + __EOF__ + sed -i -e 's/-O2//g' Makefile || die +} + +src_install() { + dobin grfcodec grfid grfstrip nforenum + doman docs/*.1 + dodoc changelog.txt docs/*.txt +} diff --git a/games-util/grfcodec/metadata.xml b/games-util/grfcodec/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/grfcodec/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/gslist/Manifest b/games-util/gslist/Manifest new file mode 100644 index 000000000000..2f216c9384ef --- /dev/null +++ b/games-util/gslist/Manifest @@ -0,0 +1,7 @@ +AUX gslist-0.8.11a-build.patch 1178 SHA256 f2144c7de78966ffc73a183508a00a4617db3627f15b8201369b6411542f6732 SHA512 c938ce951c6042baa769019d274583610a9a5506c4ceeb2816ed372cae08bdfd5b228f3027064b6d92a5bf8beac88ad34f5fd8285ea0512baac7fcbbf6ae076c WHIRLPOOL ae130286c8927ad106600c407379c701eb5ab477f55ad5ceb901d3f512ca6065e1275b8ef72e1332c77758060c7917f712ceef298417be0c0d78a89d0bbcf3ad +DIST gslist-0.8.11a.zip 2599227 SHA256 6acd2aecae5b52b6e5c7cb80ab7c607d5fbaa80ce569dc997e24f7458fc63034 SHA512 082cda97bf82ba4763236ce142d65a90b3372a430436cdc9fdccd1101feb5a2741807dff5a00e81fc833048e81468473d90851d23574167e78166beef08d0734 WHIRLPOOL ecd4aca5ac3933c6d117d8d1a091a62a6cc9bde96042f37a95e4ee3a7dbe9211f0a321d1c0fc9847a1f79a08af3af9bab0a8022d2caeb88a0e17f5bf7875df6f +EBUILD gslist-0.8.11a-r1.ebuild 616 SHA256 68f83d236359da78c32946fdbe4719bfd2faa786a4a6575b3f99e48687cc6e34 SHA512 b8c3eddae6b24cc26fd655d45158f9b40c820c96499c4988fe41e617bdcbb6a7b703d072f61d55f150ff7bca1052d9b4a4d0fe920a24b97081285929b68b3251 WHIRLPOOL c74186fda363e955208eb0dda0784af554ea187412fc04852f12ea8fcf960bfe051b58f25ff94229dfd1b20640a95b7b5b32e8c706232dea2c966207dc7297e6 +EBUILD gslist-0.8.11a.ebuild 638 SHA256 07a5e3ebbc58fd094307d0d315819cb17bc51e1ba634a79b577f2cee99b80ff2 SHA512 67297bc5be1ec43b664d628a181667f8ec6493d3d8dfc455b322b45cc085d25ceb3cd73be0a29df85ed654931b176ba52126cf4101dc521dfd21500b8405ea0b WHIRLPOOL a5e4828230f104f2e3cd1891a862b410bccdfcf6551e31cf751c67f5d34fb9eb92806ac6a8ca683d5602d55fd805a31135ac483423cb893e16a026b2fcefd77a +MISC ChangeLog 3115 SHA256 6c81ad78ee8c029e3a7ee90d665aaced5a2e86014c5466d9c22e7dadaee243c2 SHA512 f040806cd6f16e9b9b26c3e26bf9b0dff92e02e72094414d8f9ab6a26b9aa38ee4842526c2d4023a6ed7f5a0351eba1135ec12e2b0dc66831dcec53cc1f289b8 WHIRLPOOL 8f8065ea6c2f22569df7df992636fce3dfac9c7826ac9a6de9c64374d5e979f947b92418f68eace7f34522352f008b2a74d725660e10206fcc2571699e7f6549 +MISC ChangeLog-2015 1955 SHA256 16a06316f24b081ccd964ac12563d426c33aabcee52a2045b2744d2f6378f5d1 SHA512 bf4a66c4dda8407429fcd5ea4f2656066873ed3ab1eedd535b09faedb58ba315212b78f1f7b88f53c8346fb6eda25107148e4da760dec28cddbdfb2aa8be75ad WHIRLPOOL e12ae47b269f056a942eb16831affbdfa2cb3b23b6dd1958fe75dc83850bfa89ae870b433cd9c24ec082cb957e83d9953387e85b4467ca77ee8c35fef428e87e +MISC metadata.xml 319 SHA256 57c13473c4fd8b1b14f888ee8ea4f341a821c2eac0905f39c9fe4385aa4c1076 SHA512 346a94d5d5aac11f3fcbd7ceac55b80462999debf98aa95d17479944873a0c08e1256def22b0e8225ef57b70deb249db0d93fe76a85a8897bb8b9f92750ea43f WHIRLPOOL 5abcc6fc04d52f0cfaea3082f7854015ebc15fa7be592aa13e5583d7c4431e7cbe3d23fa4c43397e5156970ee2c68ad9e3029f92531ede34246515d26c0a3d58 diff --git a/games-util/gslist/files/gslist-0.8.11a-build.patch b/games-util/gslist/files/gslist-0.8.11a-build.patch new file mode 100644 index 000000000000..4ffbfd94e012 --- /dev/null +++ b/games-util/gslist/files/gslist-0.8.11a-build.patch @@ -0,0 +1,41 @@ +--- work.orig/Makefile ++++ work/Makefile +@@ -1,26 +1,30 @@ +-CFLAGS += -O2 -s -fstack-protector-all ++CFLAGS += -Wall -D_GNU_SOURCE + PREFIX = /usr/local + BINDIR = $(PREFIX)/bin + SRC = src/gslist.c src/enctype1_decoder.c src/enctype2_decoder.c src/enctype_shared.c src/mydownlib.c + #LIBS = -lpthread /usr/lib/libGeoIP.a /usr/lib/i386-linux-gnu/libz.a + #SQLIBS = /usr/lib/i386-linux-gnu/libmysqlclient.a /usr/lib/i386-linux-gnu/libm.a -ldl + LIBS = -lpthread -lGeoIP -lz +-SQLIBS = -lmysqlclient + O = $(SRC:.c=.o) + +-all: gslist gslistsql ++ifneq ($(GSWEB),0) ++CFLAGS += -DGSWEB ++endif + +-gslist: +- $(CC) $(SRC) $(CFLAGS) -o gslist $(LIBS) -DGSWEB +- $(CC) $(SRC) $(CFLAGS) -o gslistsql $(SQLIBS) $(LIBS) -DGSWEB -DSQL ++ifneq ($(SQL),0) ++CFLAGS += -DSQL ++LIBS += -lmysqlclient ++endif ++ ++gslist: $(O) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o gslist $(O) $(LIBS) + + clean: +- rm -f gslist gslistsql src/gslist.o src/enctype1_decoder.o src/enctype2_decoder.o src/enctype_shared.o src/enctypex_decoder.o src/mydownlib.o ++ rm -f gslist $(O) + + install: + install -m 755 -d $(BINDIR) + install -m 755 gslist $(BINDIR)/gslist +- install -m 755 gslistsql $(BINDIR)/gslistsql + + .PHONY: + clean install diff --git a/games-util/gslist/gslist-0.8.11a-r1.ebuild b/games-util/gslist/gslist-0.8.11a-r1.ebuild new file mode 100644 index 000000000000..cbe916e10a66 --- /dev/null +++ b/games-util/gslist/gslist-0.8.11a-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A GameSpy server browser" +HOMEPAGE="http://aluigi.altervista.org/papers.htm#gslist" +SRC_URI="mirror://gentoo/${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="web" + +RDEPEND="dev-libs/geoip" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch +) + +src_prepare() { + default + rm -f gslist gslistsql *.exe *.dll || die +} + +src_compile() { + emake SQL=0 $(use web || echo GSWEB=0) +} + +src_install() { + dobin ${PN} + dodoc ${PN}.txt +} diff --git a/games-util/gslist/gslist-0.8.11a.ebuild b/games-util/gslist/gslist-0.8.11a.ebuild new file mode 100644 index 000000000000..669d0050e0cd --- /dev/null +++ b/games-util/gslist/gslist-0.8.11a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A GameSpy server browser" +HOMEPAGE="http://aluigi.altervista.org/papers.htm#gslist" +SRC_URI="mirror://gentoo/${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa x86" +IUSE="web" + +RDEPEND="dev-libs/geoip" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +src_prepare() { + rm -f gslist gslistsql *.exe *.dll || die + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake SQL=0 $(use web || echo GSWEB=0) +} + +src_install() { + dogamesbin ${PN} + dodoc ${PN}.txt + prepgamesdirs +} diff --git a/games-util/gslist/metadata.xml b/games-util/gslist/metadata.xml new file mode 100644 index 000000000000..aea04961416e --- /dev/null +++ b/games-util/gslist/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="web">Enable the web interface</flag> + </use> +</pkgmetadata> diff --git a/games-util/gtkevemon/Manifest b/games-util/gtkevemon/Manifest new file mode 100644 index 000000000000..3b8c278678a7 --- /dev/null +++ b/games-util/gtkevemon/Manifest @@ -0,0 +1,11 @@ +AUX gtkevemon-1.8-portrait.patch 714 SHA256 4e3b591433171449f90e89f1fb33ba63e7365ae2eb95e258c4350fdfe0c76899 SHA512 2843865ed639eb6a8e77ccc91f8b6d571647faef556e2fee3142e4fa7a3f2313d964adb0ae47c11dea77d95438191b836be9982169cdf65f93386be32a8473ff WHIRLPOOL 101661f1264bb54038975338283a6746c13d36a20377d44ecf4adaa42a10d21e7243edc0f8f1cb1b82294762237f690fddaecfa310d13e1a0104148f5ebe50ee +AUX gtkevemon-1.8-pthreads-build-fix.patch 939 SHA256 8e55d667da0f95d868e7ee440ca7dd675121f9d2af502f24fb1bc89363ec68ab SHA512 8d54160f2dfc3dd4d275b7259164dd2900ef1dcff05cdaf627e68208d4c617fbb0fa14c4886cb92422f8b174d9aea6d28ec6e2462e18b0e47612148ac06c8460 WHIRLPOOL 088930a52432fe96837a03399159c8e45af8e3c7ae72dd24087a92d19c0d9b991c548d49d43005c5d3c4e93b6ec680727cde0975a682b5932fd47fec38455c9d +DIST gtkevemon-1.10.tar.gz 240225 SHA256 532d36755f33e2e00cdf8bf7ca52b16c04e4a1c47235b821a93236b493da5239 SHA512 c3fad5ba1947be527adf9c90bfad60eb505fd6b3bb3379f960748ccb529381b34b5c5c653516220d17998c95ce2b53105834f7d79053bc1e8ccc9094c8b974c9 WHIRLPOOL ea319155abe46db1af5ed739eaf2034446d4b8d1f83470c7acccf94030720c8bdc0182e3ed2c803d9f09557a49fe9056c0758de99628d152fce44e8bc4486818 +DIST gtkevemon-1.8-learning.patch.gz 5879 SHA256 ec9951ae91447e4e5f1d1720a35c27a92546760cc2ae76cd269f85cb59766437 SHA512 44d58ce947b27fb623a94e79e2eff6a20aec1bd0a63c3029347099e64bde5fc31080bcfed0da8fd00f70c2f5c88182760ee169729729c39805bee099099d3022 WHIRLPOOL 68342fc1e8aa729f4e6cd3002fbde58ad7c3818dc5d76cddfb4b4d4d05a5f9e55d8244f07a7803c3fc5ddc354546cc20f73c0c6dea58fd1a2303004cd3ce120e +DIST gtkevemon-1.8-source.tar.gz 321226 SHA256 32faf51b5b84f7e055dd47b7c43f722613b5c6cfbd8ec6a47cada75e686300c7 SHA512 483a66bda9f34ae423ce4205eaf5dc3775dab9d8d0074a19d79ffad86bc13974b09927efd1757300233c8e040f42e564ea44f32a5c3c2726db404d43d9fb5736 WHIRLPOOL 60ea958633d6fc9ca2e6b4940f30f9691c95c8d1a43a16763ab3532065be0872e0e6c0fe71a0b36ebd0d74422105cc745ab7d88ce0a5f7a552c9ca22c62f4a85 +EBUILD gtkevemon-1.10.ebuild 955 SHA256 973c4d87c537dd445702bf8ed2a6593c1d6d1715754229eddace6627c6454a17 SHA512 bb86529e37acf59288555ccbf6f9eababa65b485b5d0db10e0e57c7e0f563a756bb7fce7dd38763cfd804ec7cc674cfc448fedd036077b154e425f56d3244590 WHIRLPOOL 2f1cea59d2525806b9d539d392f5543fd22175bdd89efa74c476ad977beab98b7cc1c3c4d633e5718407f8dc8f03e698feb597f973c769b046c3c69d4c09bc3a +EBUILD gtkevemon-1.8-r1.ebuild 1256 SHA256 0dd2dbd721f4a9ff3d14b803dd5801d02a59d6fbdb64c78a48846fd1cbe7391c SHA512 c2d46593751f6182f6bc18e5a815d6b1581a69e4b855e0a98935d5e6d7d4388673334fed74d712fef5aa82e6719048c84c0342f588dbed1df3f6c9df0b1c9d98 WHIRLPOOL 7879fdb022f5e100f3002b58019e82a01f5533467074e181f6595c9e6cb28d967643442281f943c8d3cf5475d878d6130b2f05e70e96097da86c1f1db4ae3c27 +EBUILD gtkevemon-9999.ebuild 917 SHA256 45dd5b133ffbbe484655a8880e5f6499d91fde5208d88b495526d32b3cbdf026 SHA512 cf0a4cf8c347b1d4a552d7c0f9d6dc5b314fc565dd70f5adecd0e90957d60174a43493b937b2af440c91d00c8a59498db74536f33403d6b1c2bd12e2cb4f5243 WHIRLPOOL f475c66f2abded57e4ab633123d44f43f99dab455907ee3f0b54b6201ac47efe29a45d3faaedcc9103a389946035afe956e069320be1f823468d3d16f67a8bd7 +MISC ChangeLog 3597 SHA256 d5b9d859829af57337d11e3745e1ec88a31d7f01cad7b75264a92c2773c97aa7 SHA512 7b0c424f2020ee3b9b3c0645186eb76bdc5eb202f6b26665eda8daf40d85385744d22484572fed620a7ea81874a9a15a68aadb86e936af30f04776bac5bbf3f0 WHIRLPOOL 0bb3e17ed4d911e9087970b18ae10ca67d3d2a7254d20f520257807f110c8e26472ee415ef605bc4e0d34199d7b514529f4ce60b258507affd15c447f8cf9339 +MISC ChangeLog-2015 1192 SHA256 de2f2d136c930cd9d8bfb29c86ef1cc2572c36eb8dd0d88c1a02ae675888059c SHA512 73374c7378c617791bb5be0592e782bd6d7bde241710a92034d269c3ceb1becae97b655a970854a847e8b9b9ae7498736953465bb04e20dbcf6065988330edbd WHIRLPOOL 4dad3eabbea011aa336ccca08b8710d7f93d10a9e87130972d6458db6ce8564042ccccd992586ff74b74db97b1b0b02380a831eced72e5f54fce197316982bc7 +MISC metadata.xml 566 SHA256 9f7fdac1914ba29b44c3d5b35bf8d1c946b69d78d62d7cadc75e7fbbace907d4 SHA512 729d349d1f8a3ef31a3bb6413ecd9ca1069e57fe0e34d98e56fde84cbc2a9a8565a832ad27c07b0a05452fbbb63348ec48c369b02c1367aa2cb487fd1784d0ad WHIRLPOOL b5dabc0b979e0f1215811c3342684967a44ca9d61b5326cb49ab34eb516444be93c419635affb7e77963e8548384f2f149cbfa90cf0be06deab2934edceef8b7 diff --git a/games-util/gtkevemon/files/gtkevemon-1.8-portrait.patch b/games-util/gtkevemon/files/gtkevemon-1.8-portrait.patch new file mode 100644 index 000000000000..8c2f4716ccca --- /dev/null +++ b/games-util/gtkevemon/files/gtkevemon-1.8-portrait.patch @@ -0,0 +1,17 @@ +http://trac.battleclinic.com:8000/gtkevemon/changeset/121/trunk/gtkevemon/src/gtkportrait.cc
+
+Index: trunk/gtkevemon/src/gtkportrait.cc
+===================================================================
+--- trunk/gtkevemon/src/gtkportrait.cc (revision 109)
++++ trunk/gtkevemon/src/gtkportrait.cc (revision 121)
+@@ -107,6 +107,8 @@
+
+ AsyncHttp* http = AsyncHttp::create();;
+- http->set_host("img.eve.is");
+- http->set_path("/serv.asp?s=256&c=" + this->char_id);
++ //http->set_host("img.eve.is");
++ //http->set_path("/serv.asp?s=256&c=" + this->char_id);
++ http->set_host("image.eveonline.com");
++ http->set_path("/Character/" + this->char_id + "_256.jpg");
+ Config::setup_http(http);
+
diff --git a/games-util/gtkevemon/files/gtkevemon-1.8-pthreads-build-fix.patch b/games-util/gtkevemon/files/gtkevemon-1.8-pthreads-build-fix.patch new file mode 100644 index 000000000000..3250680c7aa1 --- /dev/null +++ b/games-util/gtkevemon/files/gtkevemon-1.8-pthreads-build-fix.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/show_bug.cgi?id=423305 +https://bitbucket.org/BattleClinic/gtkevemon/changeset/4c365033418e + +# HG changeset patch +# User ChickenMan <chickenman@exhale.de> +# Date 1341445681 -7200 +# Node ID 4c365033418e2213caff57a0917851cc18c7f1a1 +# Parent 0b8a490b5f491bdd4a36d85918479595c861d3db +Fix compilation on systems using pthreads and gcc 4.7.x + +This fixes issue 1. +Thanks to l0ser140 for reporting and initial patch. + +--- src/thread.h ++++ src/thread.h +@@ -13,7 +13,15 @@ + #ifndef THREAD_HEADER + #define THREAD_HEADER + +-#if defined(_POSIX_THREADS) || defined(__SunOS) ++#if defined(__linux__) \ ++ || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) \ ++ || defined(__DragonFly__) \ ++ || defined(__APPLE__) \ ++ || defined(__SunOS) ++# include <unistd.h> // for _POSIX_THREADS ++#endif ++ ++#if defined(_POSIX_THREADS) + # include "thread_posix.h" + #elif defined(WIN32) + # include "thread_win32.h" diff --git a/games-util/gtkevemon/gtkevemon-1.10.ebuild b/games-util/gtkevemon/gtkevemon-1.10.ebuild new file mode 100644 index 000000000000..c753cae2122b --- /dev/null +++ b/games-util/gtkevemon/gtkevemon-1.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic + +DESCRIPTION="A standalone skill monitoring application for EVE Online" +HOMEPAGE="https://github.com/gtkevemon/gtkevemon" +SRC_URI="https://github.com/gtkevemon/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-cpp/gtkmm:2.4 + dev-libs/libxml2 + dev-libs/openssl:0 +" + +DEPEND="${RDEPEND} + virtual/pkgconfig +" +src_prepare() { + default + + sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \ + -i "icon/${PN}.desktop" \ + || die "failed fix categories in icon/${PN}.desktop" + + # Fixes a QA notice. + sed -i "/^Encoding/d" "icon/${PN}.desktop" \ + || die "failed to remove the Encoding from icon/${PN}.desktop" + + append-cxxflags -std=c++11 +} + +src_install() { + dobin "src/${PN}" + doicon "icon/${PN}.svg" + domenu "icon/${PN}.desktop" + einstalldocs +} diff --git a/games-util/gtkevemon/gtkevemon-1.8-r1.ebuild b/games-util/gtkevemon/gtkevemon-1.8-r1.ebuild new file mode 100644 index 000000000000..9d67984754dd --- /dev/null +++ b/games-util/gtkevemon/gtkevemon-1.8-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic + +IUSE="" +if [[ ${PV} == *9999* ]]; then + inherit subversion + ESVN_REPO_URI="svn://svn.battleclinic.com/GTKEVEMon/trunk/${PN}" + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="http://gtkevemon.battleclinic.com/releases/${P}-source.tar.gz + https://dev.gentoo.org/~wired/distfiles/${P}-learning.patch.gz" +fi + +DESCRIPTION="A standalone skill monitoring application for EVE Online" +HOMEPAGE="http://gtkevemon.battleclinic.com" + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-cpp/gtkmm:2.4 + dev-libs/libxml2 +" +DEPEND="${DEPEND} + virtual/pkgconfig +" + +src_prepare() { + sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \ + -i icon/${PN}.desktop || die "sed failed" + + # upstream fix for new character portrait URL + epatch "${FILESDIR}/${P}-portrait.patch" + # upstream fix for remap calculation after learning skills removal + epatch "${DISTDIR}/${P}-learning.patch.gz" + # pthreads build fix, bug #423305 + epatch "${FILESDIR}/${P}-pthreads-build-fix.patch" + + append-cxxflags -std=c++11 +} + +src_install() { + dobin src/${PN} + doicon icon/${PN}.xpm + domenu icon/${PN}.desktop + dodoc CHANGES README TODO +} diff --git a/games-util/gtkevemon/gtkevemon-9999.ebuild b/games-util/gtkevemon/gtkevemon-9999.ebuild new file mode 100644 index 000000000000..3a8c5bb264d8 --- /dev/null +++ b/games-util/gtkevemon/gtkevemon-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic git-r3 + +DESCRIPTION="A standalone skill monitoring application for EVE Online" +HOMEPAGE="https://github.com/gtkevemon/gtkevemon" +EGIT_REPO_URI="https://github.com/${PN}/${PN}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + dev-cpp/gtkmm:3.0 + dev-libs/libxml2 + net-misc/curl[ssl] +" + +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + + sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \ + -i "icon/${PN}.desktop" \ + || die "failed fix categories in icon/${PN}.desktop" + + # Fixes a QA notice. + sed -i "/^Encoding/d" "icon/${PN}.desktop" \ + || die "failed to remove the Encoding from icon/${PN}.desktop" + + append-cxxflags -std=c++11 +} + +src_install() { + dobin "src/${PN}" + doicon "icon/${PN}.svg" + domenu "icon/${PN}.desktop" + einstalldocs +} diff --git a/games-util/gtkevemon/metadata.xml b/games-util/gtkevemon/metadata.xml new file mode 100644 index 000000000000..d9cd7a74ba33 --- /dev/null +++ b/games-util/gtkevemon/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + GtkEveMon is a standalone skill monitoring application for EVE Online. + It allows monitoring characters' skills and skill training process without + starting EVE Online. It is intended as a lightweight, cross-platform + alternative to EveMon, a popular skill monitoring application for Windows. + </longdescription> + <upstream> + <remote-id type="github">gtkevemon/gtkevemon</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/higan-purify/Manifest b/games-util/higan-purify/Manifest new file mode 100644 index 000000000000..c359f49de145 --- /dev/null +++ b/games-util/higan-purify/Manifest @@ -0,0 +1,6 @@ +AUX higan-purify-03-QA.patch 1404 SHA256 7cb15ae3d40b362afdd72b13aa357d2528c500441562da67dc45633c77ed7ca2 SHA512 31e1fdcd147e75fcaedd1778ef636edc97552fdf520468dd4723112f6557fde0d01a1f476c451e638ca05988543549fa1c76fd83ea70b7f0dbb03a61a4ff02b9 WHIRLPOOL 7fa01c86a7b86044da16ba1c970ac60eef6f221e81f67859c9c663cfe63377fd2a9bf33743809a81c3dc74544e595eb83de659438e9ff0cbd1e115d6cbcbeca0 +DIST purify_v03-source.tar.xz 196924 SHA256 2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38 SHA512 095b62013f5a33e720b87c48f32c41239d8cef4c6ddc2b6d119d15b3f8b92bc15d744afa0b2bc8d7a49ef53f8f3fa7f2247be490499a9b194863534f9c1a4b3d WHIRLPOOL 395c6976d19065c23f084aa452286b81db8068ae46a658172b749f3ef2ee879514c1c64ee2e8ac8b1eaa4ed16ebaa540852b355c0ae42855759d9d3337e185ae +EBUILD higan-purify-03.ebuild 1317 SHA256 043559da93a4c85511d04a26dd2d485bef66be7dc99b0cacc49fba34a475cb4d SHA512 274456177f7ba573f32b8e40b6b71179f5008f48b55b751883a0c0a6acd529cfe7e7cc7a7abb43d804b4e146c368926b710d938e10db8178cdc4358840ed1b85 WHIRLPOOL 4bf921fcbafa0a2ea86c7c802d186c8c0cc8e7a4bd7de20632b6a584013cf1bb3f863cb8b5472832a1b99f96091564a39fe79e6fb944788cba0bb9d6cf967111 +MISC ChangeLog 3029 SHA256 d51afb967da88e97b3ce2f9f5027cbb263f4f6384f0e757a3e9c66da107e6cbe SHA512 fd9eb2621366573a3d6632ce84d4f46c380f39d8ccc5936ed3937284aab89ad02838deececaaa6ca93cf08fa20be112a771dff1d54fda7d8add3d751b42e03d5 WHIRLPOOL 8ca2980787dc6127ef09d09b0e217b71f8eec51685308fd06c08ad829672f4c85752e70c7030660ee997d021a1f5672520451d5085675c2f89e5d44083e00d97 +MISC ChangeLog-2015 1143 SHA256 9f4e34b253255ddaa461dd98b3d6989a0ae2cfa4ce76fd3adbab2ab7758a5af2 SHA512 3bc05acfbd919466adf8c2db37ed398e1ac8fa3b75c7285ce845bd1048c31a784b936950d799c6831f999bd8ae1d5d8d537c9d4ab28c55b74b3d74542b2b8251 WHIRLPOOL 0c3aea6187c9473a91d72848cd5029add046e74c30ad7d51d17297815db8784749e33d2d84a239c36d1c99ac85463459877f6b0f990e1ecd1d4ff8a63ad69ac0 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-util/higan-purify/files/higan-purify-03-QA.patch b/games-util/higan-purify/files/higan-purify-03-QA.patch new file mode 100644 index 000000000000..e523ba4cad95 --- /dev/null +++ b/games-util/higan-purify/files/higan-purify-03-QA.patch @@ -0,0 +1,42 @@ +--- purify_v03-source/purify/Makefile ++++ purify_v03-source/purify/Makefile +@@ -2,8 +2,8 @@ + include phoenix/Makefile + + path := /usr/local/bin +-flags := -I. -O3 -fomit-frame-pointer +-link := -s ++flags := -I. $(CXXFLAGS) ++link := $(LDFLAGS) + objects := obj/phoenix.o obj/purify.o + + ifeq ($(platform),x) +@@ -22,7 +22,7 @@ + + build: $(objects) + ifeq ($(platform),x) +- $(cpp) -pthread $(link) -o purify $(objects) $(phoenixlink) ++ $(cpp) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink) + else ifeq ($(platform),win) + windres phoenix/windows/phoenix.rc obj/phoenix-resource.o + $(cpp) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink) +--- purify_v03-source/purify/phoenix/Makefile ++++ purify_v03-source/purify/phoenix/Makefile +@@ -4,13 +4,13 @@ + endif + + ifeq ($(phoenix),gtk) +- phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0` +- phoenixlink := `pkg-config --libs gtk+-2.0` ++ phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0 x11` ++ phoenixlink := `pkg-config --libs gtk+-2.0 x11` -ldl + endif + + ifeq ($(phoenix),qt) +- phoenixflags := -DPHOENIX_QT `pkg-config --cflags QtCore QtGui` +- phoenixlink := `pkg-config --libs QtCore QtGui` ++ phoenixflags := -DPHOENIX_QT `pkg-config --cflags QtCore QtGui x11` ++ phoenixlink := `pkg-config --libs QtCore QtGui x11` -ldl + endif + else ifeq ($(platform),win) + phoenixflags := -DPHOENIX_WINDOWS diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild new file mode 100644 index 000000000000..f3877e42d767 --- /dev/null +++ b/games-util/higan-purify/higan-purify-03.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs qmake-utils + +MY_P=purify_v${PV}-source + +DESCRIPTION="Rom purifier for higan" +HOMEPAGE="http://byuu.org/higan/" +SRC_URI="https://higan.googlecode.com/files/${MY_P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="qt4" + +RDEPEND=" + dev-games/higan-ananke + x11-libs/libX11 + !qt4? ( x11-libs/gtk+:2 ) + qt4? ( >=dev-qt/qtgui-4.5:4 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P}/purify + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 || $(gcc-major-version) -lt 4 ]] ; then + eerror "You need at least sys-devel/gcc-4.7.0" + die "You need at least sys-devel/gcc-4.7.0" + fi + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-QA.patch + sed -i \ + -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \ + nall/dl.hpp || die + + # regenerate .moc if needed + if use qt4; then + cd phoenix/qt || die + "$(qt4_get_bindir)"/moc -i -I. -o platform.moc platform.moc.hpp || die + fi +} + +src_compile() { + if use qt4; then + mytoolkit="qt" + else + mytoolkit="gtk" + fi + + emake \ + platform="x" \ + compiler="$(tc-getCXX)" \ + phoenix="${mytoolkit}" +} + +src_install() { + dobin purify +} diff --git a/games-util/higan-purify/metadata.xml b/games-util/higan-purify/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-util/higan-purify/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest new file mode 100644 index 000000000000..5a0e2ff6d38b --- /dev/null +++ b/games-util/joystick/Manifest @@ -0,0 +1,13 @@ +AUX joystick-1.4.8-build.patch 998 SHA256 6674638a044d87f47d0f677658c0bf6d4818888e3d1848bde205cdb080732a95 SHA512 0ce8ad1cb863dc1a69283b48e7795beec98919ca4bfa063896531a3a5eda5b9a670ff960b993cf90478e6abadbacb6c1cda8b28b2584fad8b8f1c192ae4e9d33 WHIRLPOOL a447f8063763889e0b3d315a17fa81cbbeca9ce479120735d36f9216ee872032d4ae231528ecdfcc25e8271970708724bf8e87f999be09356f27ba2fc6bbf9cf +AUX joystick-1.4.8-udev.patch 1724 SHA256 985c13000897b18e977cf20dffad3f09d42e12949ba1885b9b9a3b67159c1c80 SHA512 8a00825c9fb293e174eace79b1ce08af9eb2c6e18450daa62ae67b7c6a49ebe6b2490de4ccc7c1177edb300ed361a0920773b14d90c1aae4a34062ca16ad76de WHIRLPOOL 42db48e8e9209266148ad18937aad9d9053e53a6820d2db095d48f6f35e387dfb3ce4856ef56bded2116b3dcf4613c6b3ef7d7f7480f6fd36e478571106ba5c9 +AUX joystick-1.5.1-build.patch 814 SHA256 fa12fb46289b8d52b7765ce7f2289a3f8f6b4a6d110a4f0d386b9226fb7c4bcc SHA512 2537c23a24ead009075cd3bc224a1264ccc300ca4771415d3c20e4ea758c29573765af4ca15cf8cfd599120313a4bcdf4141717b54276eefe08acccbf112a5cf WHIRLPOOL 57135e76e3d78658170a4391bcd17579424d6ee3a6babb9f7344f39e5ac85a5e159863ece11c892a16ada137c501b9a92e56fb4144baea46b3307a4676c591c3 +AUX joystick-1.6.0-build.patch 831 SHA256 617c94606c980506a9ca4fbcdf53d6ff517624b1fa0d963c1d06ef38fe9d5962 SHA512 071b15e16a1688e2d743dbf0bc44c784184ee93698b660394c83bed719d579952c9d73680e3e24754a41d5de69a65559b61255b0366c3437a193fc526c3d6064 WHIRLPOOL c5af99d967cd5b568a9527909593ebce35aee32490f285bc6dd9c8558e7136ea45fda1b42e90c28c7bcfd19e2d89fe49c12c566010424754a64868a593d687ce +DIST linuxconsoletools-1.4.8.tar.bz2 43964 SHA256 23c4ac595f608e25f472d947c4193233f763f37ae0cf6b48141d33443a4cee6a SHA512 ea3a0baa3f163e10a4c76f58977a96d91d91bddb1a75cea5195b0a631c11ca55e40730aaa0d1965404837595c4a7fd8b75c3dd7785fe0e47ee2c90021341f262 WHIRLPOOL c02960d5e171efef3739f440a903ae9b14bec8b6ab4de2181ea691aa78c870f81b291ac98e313d234778fb59c4be8e53242cb46db019f3dffdbd8f26ddcbb113 +DIST linuxconsoletools-1.5.1.tar.bz2 50015 SHA256 0bd07aacea251d63d3d8a458728c7f965f41ae45891d906cefedc3fde0753b1e SHA512 41e306ab8a09c3cf05da683c48628b3ffa73f077375391024b5d2bdc53d3baddcc650fe366dc7a3ec605459440a181013b2eff0921854895ba74cb644d70b5eb WHIRLPOOL ffc06f85125e3f478fa3ded3bbac262fac791314e2548f8ad9dce97167ac0865acf6c4eb5292184eb7725b6145e1438731d5dddb30affcc3cfb4f39de1badd56 +DIST linuxconsoletools-1.6.0.tar.bz2 50563 SHA256 ced2efed00b67b45f82eddc69be07385835d558f658016315ac621fe2eaa8146 SHA512 35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75 WHIRLPOOL d7f658e3edc2936cb68df59bf479519bd631606ec93c2d679690aa901b0279812d0ad316d524e4a866360a5c3f7eb10da1bccbd05693b10072b5a18ea4ee273f +EBUILD joystick-1.4.8.ebuild 697 SHA256 afe489e19eb289f5c4a11b1b22a9974a90827a0435a83661845dec5c2d6de6ca SHA512 3559efa79e3049f9d67df41fc3bb312e8970fad29ab75b7c9fb06c90e5c2599988d91475d6c56f1c8f14e9a7ac8010c92f0367b9bde5f633182b31c3c0cde47c WHIRLPOOL 0b293b7db55b9c723a668b157f12e6b352c06d21a4efdc5fcc34c152479e164898b6788570651ce9aecca869da63de770a4c854dba889f4a78f9cccd157ebbad +EBUILD joystick-1.5.1.ebuild 885 SHA256 be95fb8b8a6f063ddcc717c3348e692017ff34f97d2901b3856b43c05ffaf31c SHA512 dc5ae43ab90688dd3b138526fff7ea5a88adc5989f9dc3c7acfe312ab5ac03b8375a0973503e10bdd6dbd71b678dbde6793b11bc6ce8bf503d397db5969bd3f2 WHIRLPOOL a46a5272aa5b3a18efecd1564f83aa8dffab2c088561c41d25e59c24877966306447003ae76c628cccfd8b7199d6afe711767c3d3f9054bc2a9bcdef48b1acc4 +EBUILD joystick-1.6.0.ebuild 887 SHA256 62077800e703fd523f2235dfc507610fe0fad452809dcd622f2a0a378e321eed SHA512 53c67ffa860135221e573741ca2352fefed4b8284022b906383bf63775ea62b751792218c3f9dd36448c20346683d6ee657d9a91dc7f748506c2827b2db0c3f5 WHIRLPOOL 399ca88b1760c87f7cc8c73d8009b1223c32ab4ea2064070234f1fb2d8b9546401d2c29a8dbd2c81f2c835454e21ee95de8abf058ad2d1791f74098d00e9e481 +MISC ChangeLog 4329 SHA256 aa9776e237ba64cb69484fad997090cebf50f45f07126bead39364e607ba0551 SHA512 45c67398437bcae087f7a51d3c4403be6e6752fd6cfe281ce296115071d37f15a264b1bb5881e62b332564caebc29475a01409d0d59fa8254a0ec44ec8b2880e WHIRLPOOL debec1447c35cbc3df26d9df46854c0efff5929b5376e112f7a5a389bb33728cde062ece443eae2e0f47adf9f9c5dd5e2d1ad9c0ca5ff279cce5d95c4e553125 +MISC ChangeLog-2015 5153 SHA256 aaee982e5bb648d1d0f34a8b990f50cd6dd7af8725a902290fb48671ce6422f5 SHA512 7ad582658eb84ac948544a625b6f5f2291ad31eafa31b697541f39b2208be88b663122132d807d45623b2bada1a352919b6804c91fb4e311a7798557b745d1e4 WHIRLPOOL faf7f8d3e96837abfa7be083cd08cfcbaa8e0835386270173a0e5cc2df529faa01dbb215fddff91724f1bb7e859a91e06154e3134cb23c8df2911f5c709404ef +MISC metadata.xml 335 SHA256 d1cb1b97b4d2a7cf996116061030a43ecfa788d4028eb1ee7ef9e78ac52ffd0b SHA512 6440a6652a98c7439b22df51f22089ddd867be3e07e6c04001aa15b1fc01fd84dc8d3244f106abe4ae89caf7561aa45fe2526f2f9e8e8844a5e44f9f8a51df41 WHIRLPOOL 1735fa31fb423ed0cd9d690aefd6a0ff7f367e963a8bc9a346960f6562391684b281fef698858d003a06cef3d1a56d4c3a73744c88793f3b6ca95402431f53ec diff --git a/games-util/joystick/files/joystick-1.4.8-build.patch b/games-util/joystick/files/joystick-1.4.8-build.patch new file mode 100644 index 000000000000..f888ccd18812 --- /dev/null +++ b/games-util/joystick/files/joystick-1.4.8-build.patch @@ -0,0 +1,39 @@ +--- linuxconsoletools-1.4.4.orig/docs/Makefile ++++ linuxconsoletools-1.4.4/docs/Makefile +@@ -20,13 +20,17 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: + install -d $(DESTDIR)$(PREFIX)/share/man/man1 +- install $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 + + .PHONY: install +--- linuxconsoletools-1.4.4.orig/utils/Makefile ++++ linuxconsoletools-1.4.4/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/files/joystick-1.4.8-udev.patch b/games-util/joystick/files/joystick-1.4.8-udev.patch new file mode 100644 index 000000000000..c0032493ebf7 --- /dev/null +++ b/games-util/joystick/files/joystick-1.4.8-udev.patch @@ -0,0 +1,52 @@ +diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-restore.in linuxconsoletools-1.4.8/utils/jscal-restore.in +--- linuxconsoletools-1.4.8.orig/utils/jscal-restore.in 2011-12-15 10:49:01.000000000 -0500 ++++ linuxconsoletools-1.4.8/utils/jscal-restore.in 2015-05-16 01:54:00.799168225 -0400 +@@ -6,8 +6,13 @@ + exit 1 + fi + +-if [ ! -x /sbin/udevadm ]; then +- echo Restoring joystick configuration requires udev! >&2 ++for f in /sbin/udevadm /bin/udevadm ; ++do ++ [ -x $f ] && UDEVADM=$f ++done ++ ++if [ -z "$UDEVADM" ] ; then ++ echo Storing joystick configuration requires udev! >&2 + exit 1 + fi + +@@ -30,7 +35,7 @@ + # in the NAME value + IFS=$'\x0A' + +-for ATTRIBUTE in $( /sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do ++for ATTRIBUTE in $( ${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident ); do + ID=$( echo "$ATTRIBUTE" | cut -f 1 -d = ) + VALUE=$( echo "$ATTRIBUTE" | cut -f 2 -d \" ) + case $ID in +diff -ru linuxconsoletools-1.4.8.orig/utils/jscal-store.in linuxconsoletools-1.4.8/utils/jscal-store.in +--- linuxconsoletools-1.4.8.orig/utils/jscal-store.in 2011-12-15 10:49:01.000000000 -0500 ++++ linuxconsoletools-1.4.8/utils/jscal-store.in 2015-05-16 01:53:18.725607838 -0400 +@@ -11,14 +11,18 @@ + echo "Stores the device's calibration for future use." + exit 1 + fi ++for f in /sbin/udevadm /bin/udevadm ; ++do ++ [ -x $f ] && UDEVADM=$f ++done + +-if [ ! -x /sbin/udevadm ]; then ++if [ -z "$UDEVADM" ] ; then + echo Storing joystick configuration requires udev! >&2 + exit 1 + fi + + ident=$(mktemp) +-/sbin/udevadm info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident ++${UDEVADM} info -a -n $1 | @@PREFIX@@/share/joystick/ident > $ident + . $ident + rm $ident + diff --git a/games-util/joystick/files/joystick-1.5.1-build.patch b/games-util/joystick/files/joystick-1.5.1-build.patch new file mode 100644 index 000000000000..a9dee205b04f --- /dev/null +++ b/games-util/joystick/files/joystick-1.5.1-build.patch @@ -0,0 +1,34 @@ +--- linuxconsoletools-1.5.1/docs/Makefile ++++ linuxconsoletools-1.5.1/docs/Makefile +@@ -20,9 +20,13 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: +--- linuxconsoletools-1.5.1/utils/Makefile ++++ linuxconsoletools-1.5.1/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store evdev-joystick + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/files/joystick-1.6.0-build.patch b/games-util/joystick/files/joystick-1.6.0-build.patch new file mode 100644 index 000000000000..fa60ec719917 --- /dev/null +++ b/games-util/joystick/files/joystick-1.6.0-build.patch @@ -0,0 +1,34 @@ +--- linuxconsoletools-1.6.0/docs/Makefile ++++ linuxconsoletools-1.6.0/docs/Makefile +@@ -20,9 +20,13 @@ + # 02110-1301 USA. + + MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ +- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ ++ ffset.1 ffcfstress.1 jscal-store.1 \ + jscal-restore.1 evdev-joystick.1 + ++ifneq ($(USE_SDL),no) ++MANPAGES += ffmvforce.1 ++endif ++ + PREFIX ?= /usr/local + + install: +--- linuxconsoletools-1.6.0/utils/Makefile ++++ linuxconsoletools-1.6.0/utils/Makefile +@@ -27,9 +27,13 @@ + + CFLAGS ?= -g -O2 -Wall + +-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ ++PROGRAMS = inputattach jstest jscal fftest ffset \ + ffcfstress jscal-restore jscal-store evdev-joystick + ++ifneq ($(USE_SDL),no) ++PROGRAMS += ffmvforce ++endif ++ + PREFIX ?= /usr/local + + compile: $(PROGRAMS) diff --git a/games-util/joystick/joystick-1.4.8.ebuild b/games-util/joystick/joystick-1.4.8.ebuild new file mode 100644 index 000000000000..2532b6e24de0 --- /dev/null +++ b/games-util/joystick/joystick-1.4.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +MY_P="linuxconsoletools-${PV}" +DESCRIPTION="joystick testing utilities" +HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" +SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm x86" +IUSE="sdl" + +DEPEND="sdl? ( media-libs/libsdl:0[video] ) + !<x11-libs/tslib-1.0-r2" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + export PREFIX=/usr + tc-export CC PKG_CONFIG + export USE_SDL=$(usex sdl) +} diff --git a/games-util/joystick/joystick-1.5.1.ebuild b/games-util/joystick/joystick-1.5.1.ebuild new file mode 100644 index 000000000000..603c1dcad8bc --- /dev/null +++ b/games-util/joystick/joystick-1.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +MY_P="linuxconsoletools-${PV}" +DESCRIPTION="joystick testing utilities" +HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" +SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="sdl udev" + +DEPEND="sdl? ( media-libs/libsdl:0[video] ) + !<x11-libs/tslib-1.0-r2" +RDEPEND="${DEPEND} + udev? ( virtual/udev )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.1-build.patch + "${FILESDIR}"/${PN}-1.4.8-udev.patch +) + +src_prepare() { + default + + export PREFIX=/usr + tc-export CC PKG_CONFIG + export USE_SDL=$(usex sdl) +} + +src_install() { + default + if use !udev ; then + rm "${D}"/usr/bin/jscal-{re,}store || die + fi +} diff --git a/games-util/joystick/joystick-1.6.0.ebuild b/games-util/joystick/joystick-1.6.0.ebuild new file mode 100644 index 000000000000..ce8acc0a4ad6 --- /dev/null +++ b/games-util/joystick/joystick-1.6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +MY_P="linuxconsoletools-${PV}" +DESCRIPTION="joystick testing utilities" +HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" +SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="sdl udev" + +DEPEND="sdl? ( media-libs/libsdl:0[video] ) + !<x11-libs/tslib-1.0-r2" +RDEPEND="${DEPEND} + udev? ( virtual/udev )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-build.patch + "${FILESDIR}"/${PN}-1.4.8-udev.patch +) + +src_prepare() { + default + + export PREFIX=/usr + tc-export CC PKG_CONFIG + export USE_SDL=$(usex sdl) +} + +src_install() { + default + if use !udev ; then + rm "${D}"/usr/bin/jscal-{re,}store || die + fi +} diff --git a/games-util/joystick/metadata.xml b/games-util/joystick/metadata.xml new file mode 100644 index 000000000000..677407539cc4 --- /dev/null +++ b/games-util/joystick/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">linuxconsole</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/lgogdownloader/Manifest b/games-util/lgogdownloader/Manifest new file mode 100644 index 000000000000..f20d2bb685c7 --- /dev/null +++ b/games-util/lgogdownloader/Manifest @@ -0,0 +1,4 @@ +DIST lgogdownloader-3.2.tar.gz 68438 SHA256 9e60af50c18533884ca317778b291152d5f04d93dfd3dc2579f6f965538b2031 SHA512 b1d8d89b303c77e17601b19e09346b8d632bc049d40741442ad88646d8764e4efd3a04edcbcae5a5e098df3251ae88d15d355d06cbb03cf313a8619d3111ff35 WHIRLPOOL f584c1e86d0e867b54d5e3415bcd0403baf783a9feb3d2ed3024c3dbfbe0892ddbf3dc79c535d8692570a8fe9dcab0cace38032ba255d805adb3fd300af3f79a +EBUILD lgogdownloader-3.2.ebuild 617 SHA256 1538bf2d9de1d8b316d26fa7359fb007ef4308fb047d60116c254d15c9bfb11b SHA512 1ba1653d7b228c0d30496209bc422d57cc08af72cb978e69f95e5caebf97ec080b8d2cecc99f491040d54c40c8b0cf507d60b3c70c7ef628e40d2ba98f2d0537 WHIRLPOOL 53d52e33ceda2604719859940b644f80db0f70326261e156d9818145da97a7926ccf2f4fe7863c425a2a6a0ca7876b31bf74ef42da70a3ba9876316aaf5c407f +MISC ChangeLog 669 SHA256 3066d91c9feba07ab22a55637017282f693b406e242809511a611a42bd25ee9e SHA512 ba52eb5db57057e8e76a45a7f73c3bee629ffb20d3237e7b6cfbaecce26e6a34a84ff0eb9f712165ebf7e784f0668c1ed0c7dc76454c507445c4601fcc6ee024 WHIRLPOOL 84613f4095050b12a93d47caa2d08f14390b82c41aaa6baf24ac384b8a06da97816e31ebdf37d962eb4f6188ea2ec0ebf30a59b1f750cc980d151c24b27459b4 +MISC metadata.xml 1024 SHA256 36d0e440edaee17abc14063b2f73b5a747d6d8d65d3fc1282ffbf2daaf420946 SHA512 d430e29ab6fdadf96cb14ba9031888abb964032d9c7e58ebb23b0006620706dbe86bdc7045d4d71c8ab49697bb3249714f7e827873923e0bc2434fb3f6d619da WHIRLPOOL c366e8713769c663a835d7176a70336ef0439725a2b598c5b603995cc534abb93c270b27c695475f9d0ebd26e91e1d1db3bd693e811578b46424b16c0e264696 diff --git a/games-util/lgogdownloader/lgogdownloader-3.2.ebuild b/games-util/lgogdownloader/lgogdownloader-3.2.ebuild new file mode 100644 index 000000000000..0ac33eae5786 --- /dev/null +++ b/games-util/lgogdownloader/lgogdownloader-3.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Unofficial GOG.com downloader for Linux" +HOMEPAGE="https://sites.google.com/site/gogdownloader/" +SRC_URI="https://sites.google.com/site/gogdownloader/${P}.tar.gz" +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+debug" + +RDEPEND=">=app-crypt/rhash-1.3.3-r2:0= + dev-cpp/htmlcxx:0= + dev-libs/boost:0= + >=dev-libs/jsoncpp-1.7:0= + dev-libs/tinyxml2:0= + net-libs/liboauth:0= + >=net-misc/curl-7.32:0=[ssl]" + +DEPEND="${RDEPEND} + sys-apps/help2man + virtual/pkgconfig" diff --git a/games-util/lgogdownloader/metadata.xml b/games-util/lgogdownloader/metadata.xml new file mode 100644 index 000000000000..c85bfde8f4df --- /dev/null +++ b/games-util/lgogdownloader/metadata.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="github">Sude-/lgogdownloader</remote-id> + </upstream> + <longdescription> + LGOGDownloader is open source downloader to GOG.com for Linux + users using the same API as the official GOGDownloader. + + Features: + * List available games + * Resume downloads + * Batch downloading + * Repair downloaded files + * Read/create XML files used by the official GOG Downloader + * Download cover art + * Check for orphaned files + * Check status of files + * Download individual files by id number + * List/download updated files + * Blacklist unwanted files + * Perl regular expressions for filtering games + </longdescription> +</pkgmetadata> diff --git a/games-util/linux-wbfs-manager/Manifest b/games-util/linux-wbfs-manager/Manifest new file mode 100644 index 000000000000..12c8f783801a --- /dev/null +++ b/games-util/linux-wbfs-manager/Manifest @@ -0,0 +1,6 @@ +DIST linux-wbfs-manager-0.1.12.tar.gz 34251 SHA256 45e09fb014bd28ab6181a383fbb74f2979a46b1d8ce8752389a7dc543f287c7c SHA512 58ac4d110e27123d04261d618df8734a0471bcad63171025aa4766a73bcc4a9240fceec59b1ba91fff71230e98f57b5fdd12390d380dc0c41d08740b7076bf6f WHIRLPOOL 65bcb3b44a225caf1dd92bc6487aaea4ff4f248e3b013d3d07eaf000af2d999a50df72f9ec235dcf9e549bcbaddce05bc865d905ca1e4348b50bc17a56b6712d +EBUILD linux-wbfs-manager-0.1.12.ebuild 914 SHA256 868fa88b9de2a7eb0b016d6c58d584886c22140ee4cfe1b7d5b53370be8a7457 SHA512 88b897aea3b8f3fe7de44b64d2b5d90fa3a02a21af5b0ef2836a774b53d2fe5aa3c201267322575cbf869fa5b770e1122f991fc9a62a9e7a6fac3b41466902de WHIRLPOOL 7f6dd851ed030903ce3d1425bc2432ccd025671e7118941fb20f15f574b054a955a1e8d1c11d70546669f71245e46d6983f46b0a661675c4e989584389d215af +EBUILD linux-wbfs-manager-9999.ebuild 916 SHA256 14b619da535efefcfadc9f21c3d8947db93c5579682cc24c8ba2564f9abea0d6 SHA512 a56bb18d7466c517aea67a668bc30b91b8d59773127699963ee5aefc24b706a74751ecfa75fb94b33787ba8979d04bab8980cb7d76c85a2b0652ed065a0b8496 WHIRLPOOL 72d57e157410c93e89e28e9bd792bbafae5bf92447d11e39685fe268bf33bc08fdddf7c9c73cdec066bc4546699bb10da04c41121c269cd0824a08f7c21fd90c +MISC ChangeLog 2948 SHA256 abd70fa261e2bd9bd798577af215acc3718ce359f64fde1fc9c138c2b6f17db9 SHA512 5edc22a51f8ab83a8591a373108ffc5ef1583da82866ae758aca586940f39b4c78ce6892044f272217fb02d781df659396b766c84c89dff30a2cfe828216b1a7 WHIRLPOOL 4654f1257a4179b33e561e2301610635aa34de4f015ad46197bfc1bd2f809d7fdca717bb2abd54e3ee97dc1673cc5c349c4648bb626516c7056b739a0a3d3d2f +MISC ChangeLog-2015 1656 SHA256 1c462a4208519d244abaa78511793942bd99f3aabcbd02c3bd922df4a55f9d30 SHA512 3f9edae960f2553d42f1cdd28f7c21b18500cc1f5cba7591a6712c1e737fae5c9ea8ecf055623548ad87ea49db04332c461632022f78f7ae348c86dea5eb3800 WHIRLPOOL 90fe116b98e73e3ed13a4eff34dc412e9fbde2099874cef9c56d8c52de53808f2180dcf731ddacd0efde445243cb9839e9451f3aaf5ff8e3d7e91962719af80b +MISC metadata.xml 341 SHA256 7a944f4344fa8204fcd8845321d8f6785e9c11eeef3cb1e419781e0a84a450e0 SHA512 46913ec989d81928c2faf97ef1a4e57e19f412189b9acf6de875fea5a9615e808dde58ad29df401fa8d125dd1be232f76800dd2497c60a160db752a13f2ff8cd WHIRLPOOL 28704daf94736db7c854b79fa4f49e6e37ea623d80e19ab806983890bfb8de5882d354f42b5b3566d99675d5afa4794f5dc9db8670658fa24f9b9ba86233b00b diff --git a/games-util/linux-wbfs-manager/linux-wbfs-manager-0.1.12.ebuild b/games-util/linux-wbfs-manager/linux-wbfs-manager-0.1.12.ebuild new file mode 100644 index 000000000000..c7a78635c82d --- /dev/null +++ b/games-util/linux-wbfs-manager/linux-wbfs-manager-0.1.12.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +if [[ "${PV}" == "9999" ]]; then + ESVN_REPO_URI="https://linux-wbfs-manager.googlecode.com/svn/trunk/" + inherit toolchain-funcs subversion + SRC_URI="" + #KEYWORDS="" +else + inherit toolchain-funcs + SRC_URI="https://linux-wbfs-manager.googlecode.com/files/${P}.tar.gz" + KEYWORDS="amd64 x86" +fi; + +DESCRIPTION="WBFS manager for Linux using GTK+" +HOMEPAGE="https://code.google.com/p/linux-wbfs-manager/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/glib:2 + gnome-base/libglade:2.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +if [[ ${PV} == "9999" ]] ; then + S=${WORKDIR}/${ECVS_MODULE} +else + S=${WORKDIR}/${PN} +fi + +src_unpack() { + if [[ ${PV} == "9999" ]]; then + subversion_src_unpack + else + default + fi +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin wbfs_gtk + dodoc README +} diff --git a/games-util/linux-wbfs-manager/linux-wbfs-manager-9999.ebuild b/games-util/linux-wbfs-manager/linux-wbfs-manager-9999.ebuild new file mode 100644 index 000000000000..59c3678a99f2 --- /dev/null +++ b/games-util/linux-wbfs-manager/linux-wbfs-manager-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +if [[ "${PV}" == "9999" ]]; then + ESVN_REPO_URI="https://linux-wbfs-manager.googlecode.com/svn/trunk/" + inherit toolchain-funcs subversion + SRC_URI="" + #KEYWORDS="" +else + inherit toolchain-funcs + SRC_URI="https://linux-wbfs-manager.googlecode.com/files/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi; + +DESCRIPTION="WBFS manager for Linux using GTK+" +HOMEPAGE="https://code.google.com/p/linux-wbfs-manager/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/glib:2 + gnome-base/libglade:2.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +if [[ ${PV} == "9999" ]] ; then + S=${WORKDIR}/${ECVS_MODULE} +else + S=${WORKDIR}/${PN} +fi + +src_unpack() { + if [[ ${PV} == "9999" ]]; then + subversion_src_unpack + else + default + fi +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin wbfs_gtk + dodoc README +} diff --git a/games-util/linux-wbfs-manager/metadata.xml b/games-util/linux-wbfs-manager/metadata.xml new file mode 100644 index 000000000000..42bfc468b26b --- /dev/null +++ b/games-util/linux-wbfs-manager/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="google-code">linux-wbfs-manager</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/loki_patch/Manifest b/games-util/loki_patch/Manifest new file mode 100644 index 000000000000..9e3b7cf2ac4c --- /dev/null +++ b/games-util/loki_patch/Manifest @@ -0,0 +1,8 @@ +AUX loki_patch-20091105-build.patch 4617 SHA256 3d553cd3c7660101f5ae6a5ccf1bd44097da48eb417897bc83c2a5ef14979fc9 SHA512 eabc0db3f6594b99ef76d57e1fdd738c96e4ef45c0bb67127907fa6a19d19002e2a97acc2735e7353915047ecf626bacd6bcdc7bf42446cd42c6b10f79dc6ca7 WHIRLPOOL 563d0787f063bf71f0e7afeff8c920f4c3fbaeec375a94618efbfa9e8d0842dd0ffd56539c974f89218b99fd255f02bdb1c8f923b605cd5c3eae26465113e913 +AUX loki_patch-20091105-patchdata.patch 257 SHA256 a2778ea796929318f34c43a31221da74aa58de59b32d1384aa9b6b22685d53e5 SHA512 e21da8ce772f38c1bc2acb52bedeb96042e5bb2168c76ec3efde995bfd4b113000a20b4c6efba92fc79f7ebc16486cc7871d628bf71494bf4bb8ce7dfd7dfed4 WHIRLPOOL 5a0ac4bcc1e4312bf5bf336aadd73b419eeaf877b7e87bb49c7d8a03f86d3765c99d73b42ffd6d30ab6973772d0d4435948bb5a917116aa27552889044bb2ed6 +DIST loki_patch-20091105.tar.bz2 331725 SHA256 0a46562a9902719a2876e042c2c23b6343f53c68af502928c108d7f5b7a9e573 SHA512 9db40b1746ecf5603c09be3ddf01bf92cfc6b3d1c35ac7153751e1871840175c538af98c22f458658bcbebac65ccddccc1aee92a88300a243b8e68bda13ca323 WHIRLPOOL a3ba0d86fb818fcc7847bbdacbf56c5934c52c79845c445bb722f40ec33ea1c320d9cbdb9e016a5821967b0afe4a8df1b4178c7038911be40a515bae9ad09f01 +DIST loki_setupdb-20091105.tar.bz2 60725 SHA256 34c4c2079b70f47bb4b2f05411b07107ee0d17654bf1977b6bb7d8841a837bc2 SHA512 ba55b24a6e2b2b6268dec9df8ec0581d852461b5c07ca97a24ebee3e55fe5764dffbbcfdb6b18a80677f2fae1e7701df4fbca0f6af8ef8050c662f5a39daf25d WHIRLPOOL 989d63aeaee52eaff7c96cafb6deb53d77e95db805206a448283e64b522f5ab300a515d171d28436b1992137ef9d8bb42a16fed9247a67de68a1115e3e03cc1d +EBUILD loki_patch-20091105.ebuild 872 SHA256 23f37f64f56b81e8f0d56d6a3658085cec6a2aca41e66e553d8cf848788d6675 SHA512 fab0785ff2233f04daae1897b7aaf0380cfad5eee678d96c41d39500c37937b682689bb301e1b7ec8f23c5da6a2e16339aa294410a72510da7656c99262df224 WHIRLPOOL 1e797bd93ae8bfb2500091b47181afc6d637c955e5b6a29da1da9ab7aad1a4555106e4d8db6330282451148720fd529c04d61c8983a6a2894d7308c44f31716f +MISC ChangeLog 2532 SHA256 c00ac8ff6516cb9f8a157900964ba9f866900aadfce840cef8f440972c73422c SHA512 4a5961f0cd4d6d795f58dd7d938ddef3e031d39222348b2c888209fd6556dcdcc8455eb02e7cfa78c7ae71a32f17265ec5fa09e4743202a4027b3372438b19f4 WHIRLPOOL 108d4b3477641777642760424d3f2ecb12fb75f7796a5f1ba6fd027c92ec76dcb80f44cbfc5659407161a53bd33443763f6b410d669b0556fff258103867e631 +MISC ChangeLog-2015 2578 SHA256 44bb2287a95056349f730c0a07544e8f228bffe040cf6c29ac5d6caded3f4a93 SHA512 228bce6a41ad90c7ba1d1d83ea9dbbf774e4cb927bd73c79f2ffdd71f74a3243dae816ed82b8f394e03c5a3c36d82a45516b4f81a80a8b4a1227a99a17449dd0 WHIRLPOOL a051c2ff7e1ae89eba99749ee199d6d2490edb5d9d7a3a712ae553df2788b988459d90aeb09c6191b3cbdb7e2d8eed6ac600ebac9eeaf4c2110e0d386b4dd3c3 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/loki_patch/files/loki_patch-20091105-build.patch b/games-util/loki_patch/files/loki_patch-20091105-build.patch new file mode 100644 index 000000000000..8e2b5bbf1557 --- /dev/null +++ b/games-util/loki_patch/files/loki_patch-20091105-build.patch @@ -0,0 +1,179 @@ +--- loki_patch/configure.in ++++ loki_patch/configure.in +@@ -1,4 +1,4 @@ +-AC_INIT(README) ++AC_INIT(loki_patch, 1.0.2) + + dnl Define the release numbers here + +@@ -10,13 +10,14 @@ + AC_CANONICAL_HOST + AC_CANONICAL_TARGET + ++AM_INIT_AUTOMAKE(foreign no-dependencies) + AC_PROG_CC + AC_PROG_MAKE_SET + AC_PROG_INSTALL + + AC_CHECK_HEADERS(unistd.h) + +-CFLAGS="-fsigned-char -funroll-loops -Wall -g -O2" ++CFLAGS="$CFLAGS -fsigned-char -Wall" + + case "$target" in + *i?86*) +@@ -32,17 +33,12 @@ + OS=`uname -s` + + dnl Look for the XML libraries ++PKG_CHECK_MODULES(XML, libxml-2.0) ++AC_SUBST(XML_LIBS) + +-AC_PATH_PROG(HAVEXML, xml-config, $PATH) +-if test ! -z "$HAVEXML"; then +- XML_CFLAGS=`$HAVEXML --cflags` +- XML_PREFIX=`$HAVEXML --prefix` +- +- CFLAGS="$CFLAGS $XML_CFLAGS" +- LIBS="$LIBS $XML_PREFIX/lib/libxml.a" +-else +- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.]) +-fi ++PKG_CHECK_MODULES(XDELTA, xdelta) ++AC_SUBST(XDELTA_CFLAGS) ++AC_SUBST(XDELTA_LIBS) + + SETUPDB_VERSION=1.0.0 + SETUPDB="`pwd`/../loki_setupdb-$SETUPDB_VERSION" +@@ -57,14 +53,6 @@ + SETUPDB=$with_setupdb + fi + +-dnl Check for correct setupdb installation +- +-if test -f $SETUPDB/$ARCH/libsetupdb.a; then +- AC_MSG_RESULT([SetupDB library found in $SETUPDB/$ARCH]) +-else +- AC_MSG_ERROR([*** Please compile setupdb first!]) +-fi +- + CFLAGS="$CFLAGS -I$SETUPDB" + + AC_SUBST(SETUPDB) +--- loki_patch/loki_xdelta.c ++++ loki_patch/loki_xdelta.c +@@ -49,7 +49,7 @@ + + #define LOKI_PATCH + +-#include "xdelta_inc/xdelta.h" ++#include <xdelta.h> + + static HandleFuncTable xd_handle_table; + +--- loki_patch/Makefile.am ++++ loki_patch/Makefile.am +@@ -0,0 +1,12 @@ ++COMMONSRC = load_patch.c size_patch.c print_patch.c \ ++ loki_xdelta.c mkdirhier.c log_output.c ++ ++bin_PROGRAMS = make_patch loki_patch ++ ++make_patch_SOURCES = $(COMMONSRC) make_patch.c tree_patch.c save_patch.c ++ ++loki_patch_SOURCES = $(COMMONSRC) loki_patch.c apply_patch.c registry.c ++ ++AM_CPPFLAGS = $(XDELTA_CFLAGS) ++ ++LDADD = $(top_builddir)/../loki_setupdb/libsetupdb.a $(XDELTA_LIBS) $(XML_LIBS) -lz +--- loki_setupdb/configure.in ++++ loki_setupdb/configure.in +@@ -1,4 +1,4 @@ +-AC_INIT ++AC_INIT(setupdb, 1.6.5) + AC_CONFIG_HEADER(config.h) + + dnl Define the release numbers here +@@ -12,8 +12,7 @@ + PACKAGE_VERSION="$SETUPDB_VERSION_MAJOR.$SETUPDB_VERSION_MINOR.$SETUPDB_VERSION_RELEASE" + PACKAGE_STRING="$PACKAGE_NAME v$PACKAGE_VERSION" + +-test "x$CFLAGS" = x && CFLAGS="-O2" +-CFLAGS="$CFLAGS -fsigned-char -Wall -g -I." ++CFLAGS="$CFLAGS -fsigned-char -Wall" + REENTRANT="-D_REENTRANT" + + if test -d /usr/codehost/lib; then +@@ -33,9 +32,11 @@ + AC_CANONICAL_HOST + AC_CANONICAL_TARGET + ++AM_INIT_AUTOMAKE(foreign no-dependencies) + AC_PROG_CC + AC_PROG_MAKE_SET + AC_PATH_PROGS(AR, [ar gar]) ++AC_PROG_RANLIB + + AC_CHECK_HEADERS(unistd.h) + AC_CHECK_HEADERS(strings.h) +@@ -128,7 +129,7 @@ + + AC_CHECK_FUNCS(getopt, , GETOPT_C="getopt.c") + AC_CHECK_FUNCS(getopt_long, , GETOPT_C="getopt.c") +-AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS $BSTATIC -lgnugetopt"; GETOPT_C="") ++AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS -lgnugetopt"; GETOPT_C="") + + AC_SUBST(ARCH) + AC_SUBST(STATIC) +@@ -139,37 +140,8 @@ + + dnl Look for the XML libraries + +-XMLVER="" +-AC_ARG_WITH(libxml2, +-[ --with-libxml2 use libxml2 [default=libxml1]], +- , with_libxml2=no) +-if test x$with_libxml2 != xno; then +- XMLVER="2" +-fi +- +-AC_PATH_PROG(HAVEXML, xml${XMLVER}-config, $PATH) +-if test ! -z "$HAVEXML"; then +- XML_CFLAGS=`$HAVEXML --cflags` +- XML_PREFIX=`$HAVEXML --prefix` +- +- if "$HAVEXML" --help|grep libtool-libs > /dev/null; then +- XML_LIBTOOL=`$HAVEXML --libtool-libs` +- if test -f "$XML_LIBTOOL"; then +- . "$XML_LIBTOOL" +- XML_LIBS="$dependency_libs" +- else +- XML_LIBS="-lm" +- fi +- elif "$HAVEXML" --libs | grep thread > /dev/null; then +- XML_LIBS="$PTHREAD -lm" +- fi +- EXTRA_LIBS="$EXTRA_LIBS $XML_LIBS" +- +- CFLAGS="$CFLAGS $XML_CFLAGS" +- LIBS="$LIBS $XML_PREFIX/lib$LIBSUFFIX/libxml${XMLVER}.a $BSTATIC $ZLIB $BDYNAMIC $EXTRA_LIBS" +-else +- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.]) +-fi ++PKG_CHECK_MODULES(XML, libxml-2.0) ++AC_SUBST(XML_CFLAGS) + + AC_ARG_WITH(vendor, + [ --with-vendor with specified vendor prefix [default=loki]], +--- loki_setupdb/Makefile.am ++++ loki_setupdb/Makefile.am +@@ -0,0 +1,9 @@ ++noinst_LIBRARIES = libsetupdb.a ++ ++libsetupdb_a_SOURCES = \ ++ arch.c brandelf.c convert.c md5.c register.c setupdb.c ++ ++libsetupdb_a_CPPFLAGS = \ ++ -DSETUPDB_VERSION_MAJOR=$(SETUPDB_VERSION_MAJOR) \ ++ -DSETUPDB_VERSION_MINOR=$(SETUPDB_VERSION_MINOR) \ ++ $(XML_CFLAGS) diff --git a/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch b/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch new file mode 100644 index 000000000000..74ec3dae7568 --- /dev/null +++ b/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch @@ -0,0 +1,11 @@ +--- loki_patch/load_patch.c ++++ loki_patch/load_patch.c +@@ -8,7 +8,7 @@ + #include "load_patch.h" + #include "log_output.h" + +-#define BASE "patchdata" ++#define BASE "data" + + + int load_add_file(FILE *file, int *line_num, const char *dst, loki_patch *patch) diff --git a/games-util/loki_patch/loki_patch-20091105.ebuild b/games-util/loki_patch/loki_patch-20091105.ebuild new file mode 100644 index 000000000000..db42e7b1435b --- /dev/null +++ b/games-util/loki_patch/loki_patch-20091105.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Loki Software binary patch tool" +HOMEPAGE="http://www.icculus.org/loki_setup/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + mirror://gentoo/loki_setupdb-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-util/xdelta:0 + dev-libs/libxml2 + dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-patchdata.patch + cd loki_setupdb + eautoreconf + cd "${S}"/${PN} + eautoreconf +} + +src_configure() { + cd loki_setupdb + econf + cd "${S}"/${PN} + econf +} + +src_compile() { + emake -C loki_setupdb + emake -C loki_patch +} + +src_install() { + cd ${PN} + dobin loki_patch make_patch + dodoc CHANGES NOTES README TODO +} diff --git a/games-util/loki_patch/metadata.xml b/games-util/loki_patch/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/loki_patch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest new file mode 100644 index 000000000000..78e689e059e6 --- /dev/null +++ b/games-util/lutris/Manifest @@ -0,0 +1,7 @@ +DIST lutris_0.3.6.3.tar.gz 515606 SHA256 a9061403ef8844b2c1443b1c5f15fe98af224d652d66268b47ae8e215e289058 SHA512 548a3a79ffb1c378d923f404634acc3b5eb1055d087ff212cf8a35b7db56650bf616f3b7374ab9fdf996c8f10d80ab602d35d126ef3bb183b9ce55b36d270e97 WHIRLPOOL 9c6e08908a2462f639a89f05b8eea9c212dba103a9c0492d3bd8bba2d2002d718354b4410e6506c7e88c0b4a2bf930d6d05930d0b27d66de0b66b9526f2c2fac +DIST lutris_0.3.8.tar.xz 658408 SHA256 404b8379dbf9dcab6e25bca781b8afe0b3f9cd9b27ff58cba8b8c98f54fb74f4 SHA512 165e9c045e82407dfd6dd35fa73a98b68d095119596b9f0e66867c92071d1178526ddf991fc6b05449446c9d7c1a573ffea564d93d440cebdaa788c61e57fcfe WHIRLPOOL 618c85b3cf0c583d21787161ff44cac4fb2d75072a7d32c3d642026f39fbcb7333f79a4cd2901f552fc70a1f1dd8b6933017d070293813f1facde788701ed67e +EBUILD lutris-0.3.6.3.ebuild 1269 SHA256 fa98378ef2794a9476620b2eac1b3dcee9aa6e28ab7f8097fb56547bc7ac5ddb SHA512 1e25e4da1c4387d756ed2fe8c625687d9cb52fb623719353ac5ecbdcceca20839f44081eb594d3fe2789bb001c54d2cda3dd0b3c05502430008f11ab84c46034 WHIRLPOOL ed92b9519785cd0528f9ca9192f7c69e52d06e897f1766d1c238f6ff8ed7cbadb2fcff6f64b3f12c150a4b67a04517cd9d73d1393d08ec5200ebeab8cb230052 +EBUILD lutris-0.3.8.ebuild 1275 SHA256 99ddb973837dbc6786e5398d27f71e9339453a439361f91bc4a53dc2f6c11842 SHA512 7269b81624093a54b097d3584c6ca16bd7c0dfdc19cadb452fed26a9f3e27c5579ea014efa0f8259d28b0bdd4c173cfc55d79b5e0b712256f7fd982186825f72 WHIRLPOOL 137f8cc9e9bd0278960166a56bc7324dc9e61a81f475dd540f61a14b2a7dac0b844992f97f37f58a27d02e6bd2443c2de903571e8bc84dd2704ef91275c87709 +MISC ChangeLog 2430 SHA256 e5d2d7977f9e5911e545c5a456daa67cb4339bd6d73b15ec6164d5fea40c660a SHA512 0845879a5852ac0ddd9f527ba212598dd8d47eae399b5eab999a1f65821ac0ca6f7d9f17b89ceda37ecb9fd43da1b021db158d97bf980add1a56f86b85268035 WHIRLPOOL 221008a9cc2cb787c96baf05aaafd30471c32c735ba299b3f9741f87c7386d1b4049c004e1da1fb2d3cbbc01ac9fda62bb985f9789deafca3f3882a691663693 +MISC ChangeLog-2015 2674 SHA256 7009888002f9fc78b3d8b0655f398a34863fed82ad69e08603840d9b51ec2b5f SHA512 0f3bf10edeece35df0fefbf0ea142e3a0293bfcd79ccc0058e6e75993e832f20687904e0da60c1dabadeb600dada7f3af840ce4953313ca3a1cbf154ac9aec41 WHIRLPOOL ddbcf6cc70f1d74dd497aa0dc77eeb3e9881369af8b222cff8a99d21f78f3a3f1a12687a0b53317a090df1cd640db5b2a7c3bfa03d6968723588873e0d56fab7 +MISC metadata.xml 661 SHA256 c51ef928c06e76837c13f200238ca35a69cdfd23ed89b233834137897209bf5f SHA512 e5d7a7023e9aa025d8d526457ba61ec9d9ceadf472d3f04f6b799cb3c130543e4300a56ce1830c163650f0554e2a87d705152b3771bb4f7fd9edeba3db16b9a7 WHIRLPOOL cffb070f52bca23cbf9318a1776faeb2b2c8d19e125cb8aa3838b0d1a6d9e2d2ff2c99ce8b8b3f7004adbe0ddf92c3f0e9449662885ef683ce627e887b63db7e diff --git a/games-util/lutris/lutris-0.3.6.3.ebuild b/games-util/lutris/lutris-0.3.6.3.ebuild new file mode 100644 index 000000000000..6655a1a3de68 --- /dev/null +++ b/games-util/lutris/lutris-0.3.6.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite,threads" + +inherit distutils-r1 gnome2-utils games + +DESCRIPTION="Gaming platform for GNU/Linux" +HOMEPAGE="http://lutris.net/" +SRC_URI="http://lutris.net/releases/${PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + gnome-base/gvfs[http] + x11-apps/xrandr + x11-apps/xgamma + x11-misc/xdg-utils" + +# INSTALL contains list of optional deps +DOCS=( AUTHORS README.rst INSTALL ) + +S=${WORKDIR}/${PN} + +python_install() { + distutils-r1_python_install --install-scripts="${GAMES_BINDIR}" +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + gnome2_schemas_update + + elog "For a list of optional deps (runners), see" + elog "/usr/share/doc/${PF}/INSTALL" +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/games-util/lutris/lutris-0.3.8.ebuild b/games-util/lutris/lutris-0.3.8.ebuild new file mode 100644 index 000000000000..da95d81a19e0 --- /dev/null +++ b/games-util/lutris/lutris-0.3.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite,threads" + +inherit distutils-r1 gnome2-utils games + +DESCRIPTION="Gaming platform for GNU/Linux" +HOMEPAGE="http://lutris.net/" +SRC_URI="http://lutris.net/releases/${PN}_${PV}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + gnome-base/gvfs[http] + x11-apps/xrandr + x11-apps/xgamma + x11-misc/xdg-utils" + +# INSTALL contains list of optional deps +DOCS=( AUTHORS README.rst INSTALL.rst ) + +S=${WORKDIR}/${PN} + +python_install() { + distutils-r1_python_install --install-scripts="${GAMES_BINDIR}" +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + gnome2_schemas_update + + elog "For a list of optional deps (runners), see" + elog "/usr/share/doc/${PF}/INSTALL" +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/games-util/lutris/metadata.xml b/games-util/lutris/metadata.xml new file mode 100644 index 000000000000..5d9c019090ea --- /dev/null +++ b/games-util/lutris/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <longdescription lang="en"> + Lutris is a gaming platform for GNU/Linux. Its goal is to make + gaming on Linux as easy as possible by taking care of installing + and setting up the game for the user. The only thing you have to + do is play the game. It aims to support every game that is playable + on Linux. + </longdescription> + <upstream> + <remote-id type="github">lutris/lutris</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/mcrcon/Manifest b/games-util/mcrcon/Manifest new file mode 100644 index 000000000000..933bd385a2ac --- /dev/null +++ b/games-util/mcrcon/Manifest @@ -0,0 +1,6 @@ +DIST mcrcon-0.0.5-src.zip 9748 SHA256 14cdbc00d5e2c4e877ea82fef3aeb94c2e258b3539c47a7f2b015cab12f98a74 SHA512 590da8007d630a9ff5332b5fda9e2498e949b4085e16fd00a4b1f693251980bc2d91736ea8ca7c649ee34b28484d165c8b5f45b1830e9fb661bec3a10af080d2 WHIRLPOOL 5cfb116cdf7c4a600f7cc3475e868081ea4674807edc360e87c27af7777a3423be1763a743d0d655039b4a8b1f0206fa829ecb1adbc9504a68976204b01091f7 +EBUILD mcrcon-0.0.5-r1.ebuild 564 SHA256 203171ad7102e8c10209d4ccfec5aac6f0259fbb5f7df7a3ac8f7088ceb40948 SHA512 9dd2b75ed31a5f16855152e9a8e0c9d92d877e14c9c9963054503adf5ff11fbcc392dd067d89392c6ef8bdd694bccf6abdb763355362711f37399274f8665b09 WHIRLPOOL d5917eb94ac271b4d62c2f7e171591d1c77712d3ddeca69a0453b8520fb76dd3566d1dc8685fdcaeb8aa6291e35b80d81d0ad3946d63510a0cb87121aa34d383 +EBUILD mcrcon-0.0.5.ebuild 584 SHA256 dbf8ae6e6c4d97fd65e8fbfaa8b960c5ba6b1bc2ddf16f602eee8eb8edee071f SHA512 416683aa2a4032b93139ef90514a73bba18885859d908cb87fa5880f2f40d39a8c84db1537db3eb83c24112c683f4c24259058e7fc6425fdb482e44630629dec WHIRLPOOL 20e32672996aba752e0a6bb1a3b3acaa3c9a323c703fa3d0df5e2750dc9a3fcf05cb7f4ac3fb04f30731a8d767ec00cf8ba6cb71522e068ee22f0c27760f6795 +MISC ChangeLog 2563 SHA256 4dbc921fdc263eadf79c1818c3daca648d2b9613f230e0a9d3130e4236bce394 SHA512 779bc4b673d9f39c4ca23406d4e30378133bd3367fd5383671f2b147064928010e85201e2e6b8672fb1dd1c0783f388e7717a783ca795c6d4104cb465fda8f26 WHIRLPOOL b24555da486de76f1a91f612834639d2594591039ad8350e5a850611402b8ec74cb6ca5aa781c21104e3dab18cc5ad7b36ccb750b2b4da03b3afafc4cace4890 +MISC ChangeLog-2015 342 SHA256 e6938abc6c88cf3de82e8fc06f2ce0af7f35aab9ff841084ce23207fee8b472f SHA512 fde42d427043b11c286135692b674b87d8b61e33f17e9139f5e7ecbceebbf632b9d5582e76372d06467185fa00e8505a5aae34d272898736b5ac241577ea330b WHIRLPOOL 90092ef30055073d60573d62e5ba5487ffcda6b0428611957d43a1e9eda30e4e33db389d95ba09d694e6504cf8af7ac92e5810856ea7b0750998de36c94be234 +MISC metadata.xml 641 SHA256 ad1fbb6f2df4ebbe03f1670a5c95d5768462e1213049e13d3d97fe92e43e66ee SHA512 adb906c501126b769de78c11ebb7bc36555327696f9d68ecdf6d8a311b4ddc89fdc370640eea04591349087e9d386e5ed99e95b71bc1380fa04f9a0072387bf4 WHIRLPOOL 815002c8ff343d8297b1e43be63ee86efd2b59b92962aa2e7afbaec3605338ee7252a8ce7e804766b29a9ca818d4d76443ea64c1a9f43fcc52ccef001cd075a2 diff --git a/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild b/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild new file mode 100644 index 000000000000..01c42e501eda --- /dev/null +++ b/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Remote connection client for Minecraft servers" +HOMEPAGE="https://sourceforge.net/projects/mcrcon/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}" + +src_compile() { + # Flags taken from COMPILING.txt. + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -std=gnu11 -pedantic -Wall -Wextra -o "${PN}" "${PN}.c" || die +} + +src_install() { + default + dobin "${PN}" +} diff --git a/games-util/mcrcon/mcrcon-0.0.5.ebuild b/games-util/mcrcon/mcrcon-0.0.5.ebuild new file mode 100644 index 000000000000..ad05389b005a --- /dev/null +++ b/games-util/mcrcon/mcrcon-0.0.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs games + +DESCRIPTION="Remote connection client for Minecraft servers" +HOMEPAGE="https://sourceforge.net/projects/mcrcon/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}" + +src_compile() { + # Flags taken from COMPILING.txt. + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -std=gnu11 -pedantic -Wall -Wextra -o "${PN}" "${PN}.c" || die +} + +src_install() { + dogamesbin "${PN}" + dodoc README.txt +} diff --git a/games-util/mcrcon/metadata.xml b/games-util/mcrcon/metadata.xml new file mode 100644 index 000000000000..e7f8f4b0d06d --- /dev/null +++ b/games-util/mcrcon/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <longdescription>mcrcon is an IPv6 compliant Minecraft rcon client with Bukkit coloring support. It is well suited for remote administration and to be used as part of automated server maintenance scripts. Does not trigger the "IO: Broken pipe" or "IO: Connection reset" spam bug on the server side.</longdescription> + <upstream> + <remote-id type="sourceforge">mcrcon</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/metadata.xml b/games-util/metadata.xml new file mode 100644 index 000000000000..e3106a742d7d --- /dev/null +++ b/games-util/metadata.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The games-util category contains various game-related utilities. + </longdescription> + <longdescription lang="de"> + Die Kategorie games-util enthält verschiede Tools rund um Spiele. + </longdescription> + <longdescription lang="es"> + La categoría games-util contiene varias utilidades relacionadas con + juegos. + </longdescription> + <longdescription lang="ja"> + games-utilカテゴリーにはゲームに関連した様々なユーティリティが含まれています。 + </longdescription> + <longdescription lang="nl"> + De games-util categorie bevat hulpmiddelen voor bepaalde spellen. + </longdescription> + <longdescription lang="vi"> + Nhóm games-util chứa các tiện ích linh tinh liên quan đến các trò chơi. + </longdescription> + <longdescription lang="it"> + La categoria games-util contiene varie utilità per i giochi. + </longdescription> + <longdescription lang="pt"> + A categoria games-util contém vários utilitários relacionados a + jogos. + </longdescription> + <longdescription lang="pl"> + Kategoria games-util zawiera narządzia związane z grami. + </longdescription> +</catmetadata> + diff --git a/games-util/nml/Manifest b/games-util/nml/Manifest new file mode 100644 index 000000000000..39d509c30b99 --- /dev/null +++ b/games-util/nml/Manifest @@ -0,0 +1,10 @@ +AUX nml-0.4.2-pillow3.patch 1409 SHA256 6143ae5eed5e9b371502de86a6bd760439252d57c4736424c26ec821ecbbcf18 SHA512 1d4ddbc2ac779311d04271fbc2d1b95d2ad31298d4cc9c4312c301712491d5f4173e9e1177edcf3f685da1ca0645ed981c8b7fb58de052005e0ae0a2773d5320 WHIRLPOOL ce453789d76681aa22df8d411d927fc7e0e9797d04df8f530390febfbd3e8d233a83881b8dfa65cc7d4bff4d623cdf00174d9ce02659f8102bd11e0a226ab926 +AUX nml-0.4.4-pillow3.patch 288 SHA256 dacbe8b91a700d9d6bd236ffb744f26d8ab8916fb00c401b7f8602dcbb3cb493 SHA512 cdb6113102fadbf3b3d9cab930b15cfd88d609c9bb09048a3fb247051169933a0796c10d0c29b9d6bf9320ddcf73a4681255d8e1465a7a98268029d3433ba524 WHIRLPOOL f241de5bea1336b74e6908ee5a259f2b3897840085796046818ce263754b94626380e0b842ef827cfe338a982392e453bbe5972e608e8b485222e780c76b0440 +DIST nml-0.4.2.tar.gz 377834 SHA256 eb4c2107682f14c58c5fbffc5f26c206fd3c8fc6972a3e28478e3e7f2bb773d7 SHA512 0d9c9f1de91cd91962aeacc0e5c59b351a2e4729f97d7fc2eb49f6d6487c1e1a7a98fb8f793689520c6e828fd6cdf39e952f13d0dc2f198234e3e6ad47fe6d8b WHIRLPOOL d4d994125c04c53528ae4cf9e3ca4643d2ef1e71636453404196b200a275649b2846683406bbae6f76e98573ea92962c23e295adeba3f6086026c0b8fd676c75 +DIST nml-0.4.4.tar.gz 377998 SHA256 af66146b5cf7e0a06a80ae2882d6899faf4ed27b41ce4c8aca934b8f8ba66972 SHA512 fd7b8d7abfc8b5ea694eedf00bbc4069a82de942178a58ec05e9d3efe7c8663103ffb6b98f7614ce165eb7cba42cb4c7589f77fb67dd95eb6293f62b3179c7b0 WHIRLPOOL cb1175430e97ba56b5dff85447c7be8dde9e25e92f10d98f0a79f34c5fd55e83209d6ff4e82d646f644f5ad5ef1ecbeef7196d3f89a6e1dc001d04b284cb38f6 +EBUILD nml-0.4.2-r1.ebuild 689 SHA256 16e536eab0a38fef1acc82d179237e13d65a61520c7233adfc35b40320ce2814 SHA512 aafc68d1dff4f30862844eb260012918c85875207202d3cbeecf65d82bcfe28b0ebcccdb93f634692dfcea4fc604b26921c952058c9804c58d635d2d82d8e849 WHIRLPOOL 13954b43dde043014df688cea53083040065d3c9c82644e84d6564596b71ad9e758f42f3cf3eba68b356df99be11b0308f7de91729d1bc869a883a8a6407dc10 +EBUILD nml-0.4.4-r1.ebuild 694 SHA256 cd0567ba2c3d4f89f0ce3fdabb24741c953dbb05a92892ed2cf185df50f05064 SHA512 73d3e762f59e84e4338a41b1fc118b3a019e1f7a3c30854519ac1cb0f5f282ad9c2b59285b0232dd98ea50a783f65564db313c1b81f06763472974734f9c1bf2 WHIRLPOOL 650ef9bcfdcf7b91845b349f4759e26099cb6260619cf7de5d9ad3b5bf4d02ce50cbc5b432d49b94a6bdd5eaabf16845c627fcd0d963067a7f6d4bf819987ce8 +EBUILD nml-0.4.4.ebuild 690 SHA256 180201a2e445549feb609b45361e7acb39237532644222b72681f7ab4451ef0a SHA512 7ee98a70a754b71f7c43487e72c173c375267a9e765673c4a938448afc65c00d36bc9af2eac9ff49cbf927ed496689aa12f3a34eb0495e54943f0fa4ba443137 WHIRLPOOL 28055384d45a2980efc9651465d119531ae577488b3dc1cf0489c2ed38121dc50c4fad049c95ed9fec305aebd1117c2d17021a3d329b80691b1a495d72579f2b +MISC ChangeLog 4945 SHA256 d8915d7989ea33a1170a73eb03c05a0c3d450d40e3c63de4f542430e00144323 SHA512 2a2828c0958bc65d0a6ebc6b81fcca3be1e71ca65986994e20a91e950e3a4ed72655adf892c1d06b7b915f9e92b19d330ad2d74567548cc6e3f97eb80b92127e WHIRLPOOL 6e7ca62cda3d937fd1628988f2ad3147132581a77fc20ceda394afe60a4f8b93bb8b7d9f4c05fe2b7eefcb30e9ac5aca2b0364aad98ce06c4de487c054d4d12d +MISC ChangeLog-2015 4859 SHA256 f4fbc8c4954f14e843f474d68956de3db3e5f79b3d688ab71fd15e01787465e0 SHA512 b3b59f3175c93435a3c0c3de37bdf4103c59078526b95a006e872830a75d685558c72857bffa3aa15ecad7da126887cf5d659e4d98ff358c8c95af3c9b0521a7 WHIRLPOOL b160ee6fc55b579d229cb350910b8ec025503c6377a4be16d2e502e9b6e2ceba0e8aea1d87a2fb60e40c943fb408c31ea080d9d896c251845b3dbff2753db0f0 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/nml/files/nml-0.4.2-pillow3.patch b/games-util/nml/files/nml-0.4.2-pillow3.patch new file mode 100644 index 000000000000..914cef24df51 --- /dev/null +++ b/games-util/nml/files/nml-0.4.2-pillow3.patch @@ -0,0 +1,31 @@ +--- nml-0.4.2/nml/lz77.py ++++ nml-0.4.2/nml/lz77.py +@@ -25,7 +25,7 @@ + @return: Compressed data. + @rtype: C{bytearray} + """ +- stream = data.tostring() ++ stream = data.tobytes() + position = 0 + output = array.array('B') + literal_bytes = array.array('B') +--- nml-0.4.2/nml/spriteencoder.py ++++ nml-0.4.2/nml/spriteencoder.py +@@ -276,7 +276,7 @@ + pos = generic.build_position(sprite_info.poslist) + raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_32bpp.value), pos) + sprite = im.crop((x, y, x + size_x, y + size_y)) +- rgb_sprite_data = sprite.tostring() ++ rgb_sprite_data = sprite.tobytes() + + if (info_byte & INFO_ALPHA) != 0: + # Check for half-transparent pixels (not valid for ground sprites) +@@ -296,7 +296,7 @@ + raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_8bpp.value), pos) + mask_sprite = mask_im.crop((mask_x, mask_y, mask_x + size_x, mask_y + size_y)) + +- mask_sprite_data = self.palconvert(mask_sprite.tostring(), im_mask_pal) ++ mask_sprite_data = self.palconvert(mask_sprite.tobytes(), im_mask_pal) + + # Check for white pixels; those that cause "artefacts" when shading + pixel_stats['white'] = sum(p == 255 for p in mask_sprite_data) diff --git a/games-util/nml/files/nml-0.4.4-pillow3.patch b/games-util/nml/files/nml-0.4.4-pillow3.patch new file mode 100644 index 000000000000..e55d989fbc1b --- /dev/null +++ b/games-util/nml/files/nml-0.4.4-pillow3.patch @@ -0,0 +1,11 @@ +--- nml-0.4.4.orig/nml/lz77.py ++++ nml-0.4.4/nml/lz77.py +@@ -25,7 +25,7 @@ + @return: Compressed data. + @rtype: C{bytearray} + """ +- stream = data.tostring() ++ stream = data.tobytes() + position = 0 + output = array.array('B') + literal_bytes = array.array('B') diff --git a/games-util/nml/metadata.xml b/games-util/nml/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/nml/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/nml/nml-0.4.2-r1.ebuild b/games-util/nml/nml-0.4.2-r1.ebuild new file mode 100644 index 000000000000..f19bb0301b3a --- /dev/null +++ b/games-util/nml/nml-0.4.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) +inherit distutils-r1 + +DESCRIPTION="Compiler of NML files into grf/nfo files" +HOMEPAGE="http://dev.openttdcoop.org/projects/nml" +SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" + +RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOCS=( docs/{changelog,readme}.txt ) +PATCHES=( "${FILESDIR}"/${P}-pillow3.patch ) + +src_install() { + distutils-r1_src_install + doman docs/nmlc.1 +} diff --git a/games-util/nml/nml-0.4.4-r1.ebuild b/games-util/nml/nml-0.4.4-r1.ebuild new file mode 100644 index 000000000000..f4f87cd85805 --- /dev/null +++ b/games-util/nml/nml-0.4.4-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5} ) +inherit distutils-r1 + +DESCRIPTION="Compiler of NML files into grf/nfo files" +HOMEPAGE="http://dev.openttdcoop.org/projects/nml" +SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" + +RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOCS=( docs/{changelog,readme}.txt ) +PATCHES=( "${FILESDIR}"/${P}-pillow3.patch ) + +src_install() { + distutils-r1_src_install + doman docs/nmlc.1 +} diff --git a/games-util/nml/nml-0.4.4.ebuild b/games-util/nml/nml-0.4.4.ebuild new file mode 100644 index 000000000000..d9b198914109 --- /dev/null +++ b/games-util/nml/nml-0.4.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) +inherit distutils-r1 + +DESCRIPTION="Compiler of NML files into grf/nfo files" +HOMEPAGE="http://dev.openttdcoop.org/projects/nml" +SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" + +RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOCS=( docs/{changelog,readme}.txt ) +PATCHES=( "${FILESDIR}"/${P}-pillow3.patch ) + +src_install() { + distutils-r1_src_install + doman docs/nmlc.1 +} diff --git a/games-util/pogo-manager-bin/Manifest b/games-util/pogo-manager-bin/Manifest new file mode 100644 index 000000000000..0d13360abd70 --- /dev/null +++ b/games-util/pogo-manager-bin/Manifest @@ -0,0 +1,7 @@ +AUX pogo-manager 485 SHA256 694a16dc9beaebf9ef42570712d20698e945d4394b275d8ff81870ae723f5a9c SHA512 d95abdc10df5aefca0e84a4fc39d2da62a78d82cd076ad899c0b602f639f500a13ddd3f0c1477b6ef9cc8524859cd5d72aeb827d4f1cf0b805c6a247d45c8edf WHIRLPOOL 01970784e4223721ac914dfaf8f1f9985516096423c5a9e8c8ab7dae452b9eb79e4a49ca87723c8fe73c5c94e692beac8a1f86b0556bbcb5f77a2b13bfdaf379 +DIST pogo-manager-bin-0.1.6.zip 7703380 SHA256 57c019ba56b038c4ee87adcd60d80611b1633a39c5dc15de3c4f7d4bbee63ea9 SHA512 d09e5f905fad659b5f380c25e8ccb7f9423430a1210ebb15e233f7f9436dff0307897ce372fdedf1b44ff48bd682b1f991a5fa3ac28a98af18d2a2bec72b08b0 WHIRLPOOL 94e7ca564f833e4cb23c1542fa2fd6100cfed9d8cbab53b53622db4d8121bca5aacef9dc86f2bfbba11407d345d1a368492e28e6b3aeb66554feebe783205d36 +DIST pogo-manager-bin-0.1.7.zip 7978366 SHA256 607e7b74723c21d03cad4b2d70786c1b7abacb3c2facfe6b018ab0f7c7f23fc6 SHA512 6d43626d0b7edb756d0a36b8114782ea78bd87fe1f4bdcd78c8d724961ad1635042ab8e0e7f489c5c5cf8b09fa14788c701a14eb5bdce1cf21ed95c3e97fa90a WHIRLPOOL 78fa621414446510ad3cce721b91edbbf317a3101012fb5a9d884f243ef041f7dac1801d82606b059a9d7237d575964b51c4ea959a90a01e85b8330c0877951d +EBUILD pogo-manager-bin-0.1.6.ebuild 813 SHA256 df69b9537ca35cc5d5b1d1e6a4abffb6c21a62734b6fc112045c7233b75fdb6a SHA512 02e77126376f2b4877c48dee79177b71df2b0f1a18b2d93aa2f88dc28dd2612a2ba40c0929a6ed8398668ba61b641ca4efc6486aa28c777f3dabade49658355d WHIRLPOOL d54bb5b9ac9c84da5adbeca1cab73f1acd661f5e1e11bd0978154ca22aa4aaa80bbc79cc161d7855fbb34c2b30acddb88a7822dd63aa52d6dec31124a78a86c1 +EBUILD pogo-manager-bin-0.1.7.ebuild 814 SHA256 09ebd5b63983f419870ec9cf1a0b9c97874df86a85da72da843af85f3af50614 SHA512 2c530bc42be1263c008a71c980947ea3460f473525b1175f559b4c1e60140e94243913249edbe9a6722f6507bc7544406f252c89c5a692dc1dfb7806d371f88c WHIRLPOOL 74a4b9a4862bd7ccfb21374c5b48695eb0727a1e424526ae26ff79f68364cd815c469a90696a00dee0bcf3cc5cfbd023adde5b106355d193407ae46ad7fafe9a +MISC ChangeLog 546 SHA256 d315397d13b774add70f0c83b540ffb4ba18238c8106064aefdcb77852a7e1b9 SHA512 fcb21c45995358c96a64c28280bc111e6df878dfd8f24d24729f9d9f2817a0585a5491defe75f8c4e19485d9615d95ecc4e12bb00f91eef54772620932f5e3dd WHIRLPOOL 8513d100ed7ef02ccd0a08f13236d24bfe10ff16e901abeb682402c31dd82c30b405a765628a82f93c0a0c0414fa0ddccd57d981e2fe63d923411de9e7a23a9f +MISC metadata.xml 490 SHA256 5e8b6a9b945eed1d3535288992ea96137ba743cd159414fb8d0156f64f69b1d7 SHA512 e2b41bf4dbebfa0f1f26f0856fe291dedf7553c059b9d2d2049dc97eb9a6e0655d631fe41efc52aa67dfad5d6338548ff4602f3c6695ffbc5eb0068ce5ed446c WHIRLPOOL 47f570a3764737575977b18cc18d17ec88a84333b2a573b2dcad98fd1b536cc5d9d698a66f4c398705c8f0b272eb1625cf93e3ec18e71b0de27df73143129773 diff --git a/games-util/pogo-manager-bin/files/pogo-manager b/games-util/pogo-manager-bin/files/pogo-manager new file mode 100644 index 000000000000..9866fec91a84 --- /dev/null +++ b/games-util/pogo-manager-bin/files/pogo-manager @@ -0,0 +1,17 @@ +#!/bin/bash + +# Config files are written to current directory, so make a config dir and pushd there + +if [[ ! -z "${XDG_CONFIG_DIR}" ]] ; then + config_dir="${XDG_CONFIG_DIR}/pogo-manager" +elif [[ ! -z "${HOME}" ]] ; then + config_dir="${HOME}/.config/pogo-manager" +else + config_dir="$(mktemp -d)" +fi + +echo "Using ${config_dir} for configuration files" +mkdir -p "${config_dir}" +pushd "${config_dir}" > /dev/null +java -Dfile.encoding=UTF-8 -jar /opt/pogo-manager/pogo-manager.jar + diff --git a/games-util/pogo-manager-bin/metadata.xml b/games-util/pogo-manager-bin/metadata.xml new file mode 100644 index 000000000000..591d99816ca6 --- /dev/null +++ b/games-util/pogo-manager-bin/metadata.xml @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wizardedit@gentoo.org</email> + <name>Austin English</name> + </maintainer> + <longdescription> + Utility to manage Pokemon Go accounts. Not sanctioned by Niantic, use at your own risk. + </longdescription> + <upstream> + <remote-id type="github">Wolfsblvt/BlossomsPokemonGoManager</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild new file mode 100644 index 000000000000..a58f94b84142 --- /dev/null +++ b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin}" + +DESCRIPTION="Pokemon Go manager" +HOMEPAGE="https://github.com/Wolfsblvt/BlossomsPokemonGoManager" +SRC_URI="https://github.com/Wolfsblvt/BlossomsPokemonGoManager/releases/download/v${PV}/BPGM_v${PV}.zip -> ${P}.zip" + +LICENSE="CC-BY-NC-SA-4.0" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +RDEPEND="|| ( dev-java/oracle-jdk-bin:1.8[javafx] dev-java/oracle-jre-bin:1.8[javafx] )" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/BPGM_v${PV}" + +src_install() +{ + insinto /opt/${MY_PN} + newins BlossomsPogoManager.jar ${MY_PN}.jar + + dobin "${FILESDIR}/pogo-manager" +} + +pkg_postinst() +{ + ewarn "Use of this tool is not sanctioned by Niantic and could get you banned." + ewarn "You have been warned!" +} diff --git a/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild new file mode 100644 index 000000000000..5d4eb27d04bc --- /dev/null +++ b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin}" + +DESCRIPTION="Pokemon Go manager" +HOMEPAGE="https://github.com/Wolfsblvt/BlossomsPokemonGoManager" +SRC_URI="https://github.com/Wolfsblvt/BlossomsPokemonGoManager/releases/download/v${PV}/BPGM_v${PV}.zip -> ${P}.zip" + +LICENSE="CC-BY-NC-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="|| ( dev-java/oracle-jdk-bin:1.8[javafx] dev-java/oracle-jre-bin:1.8[javafx] )" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/BPGM_v${PV}" + +src_install() +{ + insinto /opt/${MY_PN} + newins BlossomsPogoManager.jar ${MY_PN}.jar + + dobin "${FILESDIR}/pogo-manager" +} + +pkg_postinst() +{ + ewarn "Use of this tool is not sanctioned by Niantic and could get you banned." + ewarn "You have been warned!" +} diff --git a/games-util/pyfa/Manifest b/games-util/pyfa/Manifest new file mode 100644 index 000000000000..b29cecdbf8dc --- /dev/null +++ b/games-util/pyfa/Manifest @@ -0,0 +1,12 @@ +AUX configforced-1.15.1.py 153 SHA256 07ae0cfb8272f94146c4df113538574ced6920697d14243cf3a89801ed7788f6 SHA512 632576b9fbff3e93c26b6c2d4be74298aa8657affe82d2c5d571a645d733a7b96d5db6b89b819d3aec9ca68e4bef11e368f7c1cbac416e9bfed88a1025a46bfe WHIRLPOOL 0a6c91e5f093285ac9e3f2b8a7344e6c8603ac13f9845cb5523216ebd9a46b0b4948ff62ba74238dd1736e003a98bd78ffc5a802ed7f83774f1abb93cc6cd491 +AUX pyfa-1.15.1-import-pyfa.patch 590 SHA256 1bc8160c42ead9c4e8610ce858d3e584bdb479643dc9aaa52725e2702196c15f SHA512 2e0088a4a82fadb399f58faa5d7fec8a6a2f0471fad91a103cc486c249fde019dad4fc955b19ae8b19b239a864cf1e09574a4f6af965faa78efb0abe9b46ecf3 WHIRLPOOL 34160870583dd3d435c2dcd1b751b73978ab5fdef0a96280f66c498d6d48bd1894b9158c0f14ee1021d2e8ab7470cb689ca4f6f2c7048055951f117006b926eb +AUX pyfa-1.15.1-staticdata.patch 1740 SHA256 5316688fe931f83f1b924fd1fcb463ae8f527cbe7f0b85e26f267c07d1281463 SHA512 be6fffc663f0b8fd12ad9414244cd1f411b47535065fd8209ccf37b8cbb4422bef9c51606a1d2442a1ef97f0218ddc0f472527eb2a40952497c4ab3a76aa2134 WHIRLPOOL a5601d3653db81aff0cb47effc01f72e7ecdd69935592e9d3d1314a5d9c812d4a8b104cc61a47ea6fe7aaa8b87be1b6f9b17448e7b59aca830d4625da82e9e16 +AUX pyfa-1.20.2-html-export-path.patch 1259 SHA256 f9093158596ec411337107f8da1f7e646fd98e1aa940d6b1ebd656499ac15c31 SHA512 b294ed71d3be9533f182a43e99a1019e3b9a32f33ffdac9accae98f74345483504549567259472a8a082a2f540bd5264294ea604af1221f30821127d5b0771e0 WHIRLPOOL e80a42493ef3bc07b945134f6a3948b6f36ad5c2569e1ce6510e69d7faba81f73f4d836650ed939d9f591dd8bec4c7c6ddbafc2b9e06ab73a7b96ab5ea46c9f2 +AUX pyfa-1.21.4-html-export-path.patch 1295 SHA256 05e08bb447f03bbfef79091cf5da0dcca63d14f7ec46e3806417e3bb7403e472 SHA512 c67f8a276d13eb39d722d28640a3e17cc8aa971f088256674f925b4b403cfec7a7857cb7150c4b04fa2dbc66318bea5b722c6185c0c9e02671e6af7515642ecf WHIRLPOOL db37aa2746b1b3faaf1dbf9e81eaf62d4178c6b4697c3089bc6f208fe58ea20ab92f1184b1c23c5ede506c90e121c0a07d43b720f1440ceeb61fca74039b2c94 +AUX pyfa.desktop 155 SHA256 c395891d87eaaac64e3ba7954d623efaf161d906527099ed4b0c680c63a041eb SHA512 d62a44e4e724057581a360cc1eb10aa4c7a0c50cb1d95137e58ba14db17644c852da2582be8d508c50b7359e7f99dc893d78d15cb11c46967a9b7896ff667781 WHIRLPOOL 3f68f0cd6942380fc040a3578b054ea7cdb86fbd751ed17aa1fe1e1eda3c7ee6c35645c28c6529605856d5e74765ccd7037abe96c3efe2a5a54cc7fcb6c53793 +DIST pyfa-1.21.3.tar.gz 7793523 SHA256 4ac79598f2e605ba7d5cd29cfef7a94f426d4cd9e934d13cbb2071afd566de3c SHA512 b5a691873421ef2d3b01d8bfd7121c63f07b96c75837fd3b93a5b77b8163943336dcd5bb85f8dcc056ce61b5103d5331afd5a81c09eb06a7050112b5d1a26681 WHIRLPOOL 65d6c9a52f4076d9be620aa3ac2ec5da23aaff32c547925b34480f7fc82ef9334fa737374419f0bf1bd827b3c6e0f34306c0d5de1dc6d441e88e096fd8aadc13 +EBUILD pyfa-1.21.3.ebuild 2771 SHA256 3a187ee43b499ea3074ff9e1d4589fd8eec0b92a99c04957767e18379176f792 SHA512 666063dc166c96c82101e6a2d2b1de73882528784a9a82f6c16ea770facbdff763ea7364f54004d595f5c6fb1511d1dceb5da16b7ead76febce076f4a5d38233 WHIRLPOOL 0064a763c60cd1c7abc67e8b9546388aeae3035986f295344bb58813d665ab48e8125ed70d6250bdaf6f0abb7174034c7d9a87830774d09534c2396410b68705 +EBUILD pyfa-9999.ebuild 2771 SHA256 b9dd64ff29ed58d060a1c20f7ec448c0f1328ecbdf4da39deac7eb510a665aec SHA512 0aef3545089deafbdc52a1ceed41602949a5a30bcd6e6d0512cd0bfc7bb8b564a6b262c3b3bbea6ec6ec02926d65e57e2f730f3eb1052ff44a9bedaf60610af0 WHIRLPOOL 1fae84c5a744b4ce134529af5fefb181c81e1223b2c8a5fe716dd6f178612c0825368108876631df5a9ce76ebc470170abbd47c4f4d20c230d9be7dce2c28c1c +MISC ChangeLog 4721 SHA256 a024f7bffc96034a55ce735344350f593a0c95a97ebd2e9d6b99402fa9675d5e SHA512 eb6a16366ba996e99411892cf6f19f4ebdbff0996e59da5d4312006fe9150081f3df5bfd25fdad468ee8951dde1084c767ad8c353701bcff4f476ea9552fc2b4 WHIRLPOOL 7726c965f991cb25f127b2ff02a6268fda701f2c554a9578e3389c9df5991bcc0a0880182fb7b1ad7ef1785cda78519870e56bb392296f9431c22d88d8d7187a +MISC ChangeLog-2015 7528 SHA256 6885426d9198c460a12f8199364898e94f6954678e31773618c20d8708b8f8e3 SHA512 f0d56186c9be334021ba9e4467a5eb549a598b201ba4d515e4006d9c0bc7957f08d4a540b7305a0104a8c7c161f3308c115a267d3d99ac400aea71e5dccbb674 WHIRLPOOL 0c8d74f85d19cfff46ea8a9d4fb917e3bfb007a42b8e2f3bb74f3710619cb2df1c9dba6e3e2e7ded8f445f3e85e0e78729cd9e834049d443baf84a20a935b302 +MISC metadata.xml 707 SHA256 ad9e71bfafb16b320bbebe6f7bd05fbd9e6c887ff4d8f64a6860f09efd6ac4d9 SHA512 73271ded60ce9b02d625f15b19ff7d8737ade6986eb8ea207d3c4d9720789660f65f7c494de8b37af9d59e6c753b2ef9b3c36ccfa96443825326842a89439863 WHIRLPOOL fffe65d3b087750ab3dd52b15cc21068d8c37e8ac57a55abc2d416140474cbc68947d676bd0b0a6225711ee05ce117a8996e48d29c94096effc07b730290ca9c diff --git a/games-util/pyfa/files/configforced-1.15.1.py b/games-util/pyfa/files/configforced-1.15.1.py new file mode 100644 index 000000000000..51fcb958cedc --- /dev/null +++ b/games-util/pyfa/files/configforced-1.15.1.py @@ -0,0 +1,4 @@ +# Gentoo-specific settings +pyfaPath = u'%%SITEDIR%%/pyfa' +gameDB = u'%%EPREFIX%%/usr/share/pyfa/eve.db' +imgsZIP = u'%%EPREFIX%%/usr/share/pyfa/imgs.zip' diff --git a/games-util/pyfa/files/pyfa-1.15.1-import-pyfa.patch b/games-util/pyfa/files/pyfa-1.15.1-import-pyfa.patch new file mode 100644 index 000000000000..f29b75d7fea0 --- /dev/null +++ b/games-util/pyfa/files/pyfa-1.15.1-import-pyfa.patch @@ -0,0 +1,27 @@ +From 6c7b6ab7d1aae47d3a3f72a7951c7de294be2917 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Tue, 6 Oct 2015 22:16:38 -0400 +Subject: [PATCH] Append $(python_get_sitedir)/pyfa to import path + +Ensures that pyfa's import statements continue to work for systemwide +installation. +--- + pyfa.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/pyfa.py b/pyfa.py +index 8189918..7b81f10 100755 +--- a/pyfa.py ++++ b/pyfa.py +@@ -20,6 +20,8 @@ + + import sys + import re ++import os ++sys.path.append(os.path.join("%%SITEDIR%%", "pyfa")) + import config + + +-- +2.6.0 + diff --git a/games-util/pyfa/files/pyfa-1.15.1-staticdata.patch b/games-util/pyfa/files/pyfa-1.15.1-staticdata.patch new file mode 100644 index 000000000000..8b8fa913070a --- /dev/null +++ b/games-util/pyfa/files/pyfa-1.15.1-staticdata.patch @@ -0,0 +1,61 @@ +From c7bb5210ce9feebb753734b5c581acca9f5c9d06 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Tue, 6 Oct 2015 21:37:44 -0400 +Subject: [PATCH] make gameDB and imgs.zip paths settable from configforced + +--- + config.py | 10 +++++++++- + gui/bitmapLoader.py | 2 +- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/config.py b/config.py +index 4072236..a9e71ee 100644 +--- a/config.py ++++ b/config.py +@@ -28,6 +28,7 @@ pyfaPath = None + savePath = None + saveDB = None + gameDB = None ++imgsZIP = None + + + class StreamToLogger(object): +@@ -66,6 +67,7 @@ def defPaths(): + global savePath + global saveDB + global gameDB ++ global imgsZIP + global saveInRoot + + if debug: +@@ -117,7 +119,13 @@ def defPaths(): + # The database where the static EVE data from the datadump is kept. + # This is not the standard sqlite datadump but a modified version created by eos + # maintenance script +- gameDB = os.path.join(pyfaPath, "eve.db") ++ gameDB = getattr(configforced, "gameDB", None) ++ if gameDB is None: ++ gameDB = os.path.join(pyfaPath, "eve.db") ++ ++ imgsZIP = getattr(configforced, "imgsZIP", None) ++ if imgsZIP is None: ++ imgsZIP = os.path.join(pyfaPath, "imgs.zip") + + ## DON'T MODIFY ANYTHING BELOW ## + import eos.config +diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py +index 45026be..02985c1 100644 +--- a/gui/bitmapLoader.py ++++ b/gui/bitmapLoader.py +@@ -31,7 +31,7 @@ except ImportError: + class BitmapLoader(): + + try: +- archive = zipfile.ZipFile(os.path.join(config.pyfaPath, 'imgs.zip'), 'r') ++ archive = zipfile.ZipFile(config.imgsZIP, 'r') + except IOError: + archive = None + +-- +2.6.0 + diff --git a/games-util/pyfa/files/pyfa-1.20.2-html-export-path.patch b/games-util/pyfa/files/pyfa-1.20.2-html-export-path.patch new file mode 100644 index 000000000000..b06906a83b58 --- /dev/null +++ b/games-util/pyfa/files/pyfa-1.20.2-html-export-path.patch @@ -0,0 +1,33 @@ +From dc07b64245459ff75c638dedc14ac86bdf9bc176 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Mon, 16 Jul 2012 05:43:38 -0400 +Subject: [PATCH] Export fits to home directory, not python sitedir + +--- + service/settings.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/service/settings.py b/service/settings.py +index 60627e6..7087e5c 100644 +--- a/service/settings.py ++++ b/service/settings.py +@@ -21,6 +21,7 @@ import cPickle + import os.path + import config + import urllib2 ++import sys + + class SettingsProvider(): + BASE_PATH = os.path.join(config.savePath, "settings") +@@ -221,7 +222,7 @@ class HTMLExportSettings(): + return cls._instance + + def __init__(self): +- serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html', "website": "null-sec.com" } ++ serviceHTMLExportDefaultSettings = {"enabled": False, "path": unicode(os.path.expanduser(os.path.join('~', 'pyfaFits.html')), sys.getfilesystemencoding()), "website": "null-sec.com" } + self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings) + + def getEnabled(self): +-- +2.8.1 + diff --git a/games-util/pyfa/files/pyfa-1.21.4-html-export-path.patch b/games-util/pyfa/files/pyfa-1.21.4-html-export-path.patch new file mode 100644 index 000000000000..f35dfcbd2d98 --- /dev/null +++ b/games-util/pyfa/files/pyfa-1.21.4-html-export-path.patch @@ -0,0 +1,33 @@ +From a596f7f5398f613a607ecc91e06ea651806b8b63 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Mon, 16 Jul 2012 05:43:38 -0400 +Subject: [PATCH] Export fits to home directory, not python sitedir + +--- + service/settings.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/service/settings.py b/service/settings.py +index cd1b33b..a883ca1 100644 +--- a/service/settings.py ++++ b/service/settings.py +@@ -21,6 +21,7 @@ import cPickle + import os.path + import config + import urllib2 ++import sys + + class SettingsProvider(): + BASE_PATH = os.path.join(config.savePath, "settings") +@@ -221,7 +222,7 @@ class HTMLExportSettings(): + return cls._instance + + def __init__(self): +- serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html', "website": "null-sec.com", "minimal": False } ++ serviceHTMLExportDefaultSettings = {"enabled": False, "path": unicode(os.path.expanduser(os.path.join('~', 'pyfaFits.html')), sys.getfilesystemencoding()), "website": "null-sec.com", "minimal": False } + self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings) + + def getEnabled(self): +-- +2.8.3 + diff --git a/games-util/pyfa/files/pyfa.desktop b/games-util/pyfa/files/pyfa.desktop new file mode 100644 index 000000000000..07f3f0ee22a7 --- /dev/null +++ b/games-util/pyfa/files/pyfa.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Pyfa +Comment=Ship fitting application for EVE Online +Icon=pyfa +Terminal=false +Type=Application +Categories=Game;RolePlaying; +Exec=pyfa diff --git a/games-util/pyfa/metadata.xml b/games-util/pyfa/metadata.xml new file mode 100644 index 000000000000..2c0b85a4e6ef --- /dev/null +++ b/games-util/pyfa/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tetromino@gentoo.org</email> + <name>Alexandre Rostovtsev</name> + </maintainer> + <longdescription lang="en"> +Pyfa is the Python Fitting Assistant, a standalone application for creating +fittings for the EVE Online SciFi MMORPG. It provides many advanced features +such as graphs and full calculations of any possible combination of modules, +fits, etc. +</longdescription> + <use> + <flag name="graph">Enable support for graphs</flag> + </use> + <upstream> + <remote-id type="github">pyfa-org/Pyfa</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/pyfa/pyfa-1.21.3.ebuild b/games-util/pyfa/pyfa-1.21.3.ebuild new file mode 100644 index 000000000000..ea133f7beb13 --- /dev/null +++ b/games-util/pyfa/pyfa-1.21.3.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite,threads" + +inherit eutils gnome2-utils python-r1 + +DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" +HOMEPAGE="https://github.com/pyfa-org/Pyfa" + +LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm" +SLOT="0" +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> pyfa-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi +IUSE="+graph" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + graph? ( + dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) + ${PYTHON_DEPS}" +DEPEND="app-arch/zip" + +[[ ${PV} = 9999 ]] || S=${WORKDIR}/Pyfa-${PV} + +src_prepare() { + # get rid of CRLF line endings introduced in 1.1.10 so patches work + edos2unix config.py pyfa.py service/settings.py + + # load gameDB and images from separate staticdata directory + eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch" + + # do not try to save exported html to python sitedir + eapply "${FILESDIR}/${PN}-1.20.2-html-export-path.patch" + + # fix import path in the main script for systemwide installation + eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch" + + eapply_user + + touch __init__.py + + pyfa_make_configforced() { + mkdir -p "${BUILD_DIR}" || die + sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ + -e "s:%%EPREFIX%%:${EPREFIX}:" \ + "${FILESDIR}/configforced-1.15.1.py" > "${BUILD_DIR}/configforced.py" + sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ + pyfa.py > "${BUILD_DIR}/pyfa" + } + python_foreach_impl pyfa_make_configforced +} + +src_install() { + pyfa_py_install() { + local packagedir=$(python_get_sitedir)/${PN} + insinto "${packagedir}" + doins -r eos gui service utils config*.py __init__.py + [[ -e info.py ]] && doins info.py # only in zip releases + doins "${BUILD_DIR}/configforced.py" + python_doscript "${BUILD_DIR}/pyfa" + python_optimize + } + python_foreach_impl pyfa_py_install + + insinto /usr/share/${PN} + doins eve.db + + einfo "Compressing images ..." + pushd imgs > /dev/null || die + zip -r imgs.zip * || die "zip failed" + doins imgs.zip + popd > /dev/null || die + + dodoc README.md + insinto /usr/share/icons/hicolor/32x32/apps + doins imgs/gui/pyfa.png + insinto /usr/share/icons/hicolor/64x64/apps + newins imgs/gui/pyfa64.png pyfa.png + domenu "${FILESDIR}/${PN}.desktop" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-util/pyfa/pyfa-9999.ebuild b/games-util/pyfa/pyfa-9999.ebuild new file mode 100644 index 000000000000..2fa0e26c3620 --- /dev/null +++ b/games-util/pyfa/pyfa-9999.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite,threads" + +inherit eutils gnome2-utils python-r1 + +DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online" +HOMEPAGE="https://github.com/pyfa-org/Pyfa" + +LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm" +SLOT="0" +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/pyfa-org/Pyfa.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/pyfa-org/Pyfa/archive/v${PV}.tar.gz -> pyfa-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi +IUSE="+graph" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + graph? ( + dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) + ${PYTHON_DEPS}" +DEPEND="app-arch/zip" + +[[ ${PV} = 9999 ]] || S=${WORKDIR}/Pyfa-${PV} + +src_prepare() { + # get rid of CRLF line endings introduced in 1.1.10 so patches work + edos2unix config.py pyfa.py service/settings.py + + # load gameDB and images from separate staticdata directory + eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch" + + # do not try to save exported html to python sitedir + eapply "${FILESDIR}/${PN}-1.21.4-html-export-path.patch" + + # fix import path in the main script for systemwide installation + eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch" + + eapply_user + + touch __init__.py + + pyfa_make_configforced() { + mkdir -p "${BUILD_DIR}" || die + sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ + -e "s:%%EPREFIX%%:${EPREFIX}:" \ + "${FILESDIR}/configforced-1.15.1.py" > "${BUILD_DIR}/configforced.py" + sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \ + pyfa.py > "${BUILD_DIR}/pyfa" + } + python_foreach_impl pyfa_make_configforced +} + +src_install() { + pyfa_py_install() { + local packagedir=$(python_get_sitedir)/${PN} + insinto "${packagedir}" + doins -r eos gui service utils config*.py __init__.py + [[ -e info.py ]] && doins info.py # only in zip releases + doins "${BUILD_DIR}/configforced.py" + python_doscript "${BUILD_DIR}/pyfa" + python_optimize + } + python_foreach_impl pyfa_py_install + + insinto /usr/share/${PN} + doins eve.db + + einfo "Compressing images ..." + pushd imgs > /dev/null || die + zip -r imgs.zip * || die "zip failed" + doins imgs.zip + popd > /dev/null || die + + dodoc README.md + insinto /usr/share/icons/hicolor/32x32/apps + doins imgs/gui/pyfa.png + insinto /usr/share/icons/hicolor/64x64/apps + newins imgs/gui/pyfa64.png pyfa.png + domenu "${FILESDIR}/${PN}.desktop" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-util/qjoypad/Manifest b/games-util/qjoypad/Manifest new file mode 100644 index 000000000000..5c50f6984ecd --- /dev/null +++ b/games-util/qjoypad/Manifest @@ -0,0 +1,6 @@ +AUX qjoypad-4.1.0-underlink.patch 248 SHA256 52577d1f1fe5240241feb4c88bf4c7acc7712f05f4f66a5832f19d53e7e3dbfb SHA512 e2c81e08402afa6f06dc915b2bd16598248ac360617a5646f188d7fa2cd9b5a4f1ed88fe29cbd2b79a4eebfd7d4ca7f9c348d10bb515f68452b0941d4bdd6f6f WHIRLPOOL 5aebdc28ad5de308bdce86702eb598ea73ed45ce01fb5d6d3029e4d879b165d9b0017384d251f4bdad18b8a7791b027317221aca9d57a7c3bf2c7abf0b8c88b7 +DIST qjoypad-4.1.0.tar.gz 82306 SHA256 b5aa088827a6f7231e43e45fb942917e3f677ef933109a7b41e13a6b443c95ca SHA512 c14705aa24ead7c358dc2c82284ae5145df4eb041f47d4a017391346719b6330a8a1146e37ebd1f5d25d755385b611965b94b5835f9df0f6b2ef5e6a4ea3bc7b WHIRLPOOL d78ba76196899779e14eae78fcb528ca32f4802670c9f0f95faa6db6186c6924293cecffcf4c2e85f0ef5b5bfb77c568092a5eef650aaae9f70bea996c329793 +EBUILD qjoypad-4.1.0.ebuild 1053 SHA256 335298757e466d4df7c57e0307f46949005491aa9b7cfee4fdc18ad1c001f752 SHA512 1e3ae562ad6713bce5cf8abd96dd28223d4d36804a2d288330304eac4a5f53f1bc5ae53ccdec300a7087817220ee77c44790ad730761664225ee1370bb537b8c WHIRLPOOL b7db4cc4e2b42c8eb894c4818f624ee13062910d1b2888f931e493e33d66b71ecc1b9088a3d46b02cc75099c357e60e374811773bf21a98d5389b419d11e3ca0 +MISC ChangeLog 2467 SHA256 750e8ddcdff4395989928b4668098b932cc4dbd29054b082377f294c15818b32 SHA512 11c0f2b173d7b04f3b32b0ac783dbd78fd2b8c0de0acedecc70a8d7a4182b3130ab308f91420e3561ea6bd96afa58c841aeb00e0cce01a9479ed98fb39a84b7a WHIRLPOOL 6201ff172b5bd9b0872dc4db0e98a8f1aa7732a8684bb0e76d71498c969de28ef8c069ddf22f9280e23f547687dee08305cdbdad13b75cc9a1a3873e01479a2c +MISC ChangeLog-2015 3831 SHA256 e42b1f60f83846b464e40bc5d81433df0f1fbd3795cda8c6794d3787ce8b0484 SHA512 3c4e0f41bdaccb2e713eced6ab1fa5b8b8ed9875d5dffb139457c94d202219eff2a92a642c1649a0caf4947d583ed45ab885ab54ee83ab1c1ef0ac2985076df3 WHIRLPOOL a2d47a46cfa2b26beb42ff16ea4afce6194498cf18f7f0405848d70252c40030e70814cbea1396a5edf839a63e3ff033539fab193a47805e9d51eecc8fa4a09c +MISC metadata.xml 330 SHA256 6ea1dd96c55ebcd705d31ecf03649bdd8f9cb7278bb1f990adb65983571151a0 SHA512 007937b334543dcc52d271b9dd594d167b9f003af545c346c81aab34cdfdf5e3f13a7dca30d67044d41d092539e7f9c589e6cd0a6c026b32ac2d7e7b321f2bb3 WHIRLPOOL 2656bff49f46cdb14ff4c8db415094ec17009269b640b2acdf92933d289dd771b6496a4366085b6e2c8fad9fc1c5339e9cf57e9e45928cfc45c936593da93dbc diff --git a/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch b/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch new file mode 100644 index 000000000000..8fde419546a7 --- /dev/null +++ b/games-util/qjoypad/files/qjoypad-4.1.0-underlink.patch @@ -0,0 +1,11 @@ +--- qjoypad.pro.old 2011-06-22 06:54:06.001667461 +0200 ++++ qjoypad.pro 2011-06-22 06:56:17.580044446 +0200 +@@ -32,7 +32,7 @@ + + TEMPLATE = app + INCLUDEPATH += . +-QMAKE_LIBS += -lXtst ++QMAKE_LIBS += -lXtst -lm -lX11 + + # Input + HEADERS += axis.h \ diff --git a/games-util/qjoypad/metadata.xml b/games-util/qjoypad/metadata.xml new file mode 100644 index 000000000000..38b576bdaefb --- /dev/null +++ b/games-util/qjoypad/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">qjoypad</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/qjoypad/qjoypad-4.1.0.ebuild b/games-util/qjoypad/qjoypad-4.1.0.ebuild new file mode 100644 index 000000000000..a029b7f0c024 --- /dev/null +++ b/games-util/qjoypad/qjoypad-4.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils qt4-r2 + +DESCRIPTION="Translate gamepad/joystick input into key strokes/mouse actions in X" +HOMEPAGE="http://qjoypad.sourceforge.net/" +SRC_URI="mirror://sourceforge/qjoypad/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + x11-libs/libXtst + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + x11-proto/inputproto + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/${P}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch + # fixup the icon tray support (bug #436426) + sed -i \ + -e '/^icons.extra/d' \ + -e '/^icons/s:/qjoypad::' \ + -e 's/icon24.png/qjoypad4-24x24.png/' \ + -e 's/icon64.png/qjoypad4-64x64.png/' \ + qjoypad.pro || die +} + +src_configure() { + eqmake4 qjoypad.pro PREFIX=/usr DEVDIR=/dev/input +} + +src_install() { + local i + dobin qjoypad + dodoc ../README.txt + cd ../icons + for i in *; do + newicon ${i} ${i/gamepad/qjoypad} + done + make_desktop_entry qjoypad QJoypad ${PN}4-64x64 +} diff --git a/games-util/qstat/Manifest b/games-util/qstat/Manifest new file mode 100644 index 000000000000..5c15f1584af5 --- /dev/null +++ b/games-util/qstat/Manifest @@ -0,0 +1,7 @@ +DIST qstat-2.11.tar.gz 258335 SHA256 16f0c0f55567597d7f2db5136a0858c56effb4481a2c821a48cd0432ea572150 SHA512 e3ff732c6fc45300eb2f32b3f3e8e1e5f8ee32234535e8d2ca19cf95cf6d4a6de5b6f1e48a5c64315d60a8b388521106b2de9d307f718f6150ad2cf40ba75a22 WHIRLPOOL 51650c2ee07c4e8b8604973babc8854073b13e4afb6502df585d97a4aa0a795e7e5d789d39d1a6a891a252975945ceb98fca713456578c3522a95815872c38a9 +DIST qstat-2.14.tar.gz 210440 SHA256 ae906b74d4cce8057b5a265b76859101da8104c2a07c05f11a51f7c9f033ef8b SHA512 f2054d74399fe1773a19ca43629e10364fdd87e551459719685c11f38245a05906631b456848b1a3764b4e6843baf654af6a9b174c7b16908b6bcb97ac64c6d6 WHIRLPOOL a9dbed6d570b8ca7750773d11c9cca289f418fabf8d68b4a046aff3a754c91345fa6ae3bdc49456832bd41f2812feed757a57cc64ee6c5fd632c6155dc510136 +EBUILD qstat-2.11.ebuild 677 SHA256 0066421a10b758e694a170c1c3f862aecd95c879a135918ffcbf9367c0f2f82d SHA512 14bd978d242400b4929997011f8c4bb55171504f132400d71d2b4723569385779f0b6d6017675b67a90ffe8418d80ba0a4605c7a71de5b4a3325bc66cc601b95 WHIRLPOOL ce344ca36c36895e2bd5c92ccecaef99d045fc73aa6b8e8139532d83d20921528c1278b61bcf9de929468957eb7a6d5cc5b40978bfd3e4418a35ff0f5db36427 +EBUILD qstat-2.14.ebuild 775 SHA256 65fe31b84d5fd25a3e92d79aba8973f552d6576dbde1d434ac81e9f7864f80a1 SHA512 5b82f8c8182b1c01f9e46fb83fc7ad87a22b34d8c1cb18cea2f8c010202fcec274d9742ecb97eae7b82800eb5ae91fff299c38303854e067c1869ae20fa65a62 WHIRLPOOL f71fbdcdf9545b7bd9e69d0493d28c59fc038462d7ddc66b74a58de95ed4d8b3a18c26da0ed7a7595d74c5d74fb6a07ca98981dc4edb8e1045cad3b77ca420f1 +MISC ChangeLog 2530 SHA256 83bff88e8de3e114f8833e7ac8e8cc38e1c0d3a6369e5ac5c335b14a062e006c SHA512 7dd3a28ef984b6b6329f42c78000e764ca5135acc9d067b8f5eddd6f1b27ec76f78a002068d86e9266281a5c4d16d66d3e76e6ad078c4e723c350161ddedeae4 WHIRLPOOL 1de1f98455208ad14f31064521a710ddcd845b20e840f61bfa2df808e99e1ebc48310617c29f8b98a5a03fe2c2748aeafe8445c95f157f6ebfb628de89c774fa +MISC ChangeLog-2015 4055 SHA256 2162f50f2775ebb3154b4aa1aa35c6dc175e3370d5a10d153f518455c795de71 SHA512 f9435ef1c777aeb66e976317b523f8760d0a98472788a2c0cb0129b9d8f2aa52f7f40818de71d947f796ab8b00e7beddc1738dfae0182853dfc85c18bba457c7 WHIRLPOOL d511451e6b88d9b01ea82fbf81ea0ee60d83ae3741fc36ac63125eff169e1dcdf8114f82b137b7ade3be981724ba471b7877ee9a435eee36eb0967790b9b9ea3 +MISC metadata.xml 328 SHA256 ac8f5e01e4350e886f907804e7f8579eddc58bde87c1e34450bb38bbe55bc9d1 SHA512 1f3cbc63b69d59880ff6fe131bf838f69bfd259a93882ef9b38c1d101d4048c2894cf99725d3ce683f9f05da035567d6e4bdafa9d4349844f7b8af98c13f999f WHIRLPOOL b9778d78aa243095a0073c57af03dbb2a64d4015f5f6fbbe0a6f833bf1a7a26a5122da45e0c94b8ad7abd4339c36ae04735e2dd6fc2d5c96078aa8fcc44e3ad8 diff --git a/games-util/qstat/metadata.xml b/games-util/qstat/metadata.xml new file mode 100644 index 000000000000..a8c2e30da965 --- /dev/null +++ b/games-util/qstat/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">qstat</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/qstat/qstat-2.11.ebuild b/games-util/qstat/qstat-2.11.ebuild new file mode 100644 index 000000000000..3ec2d6de4ffc --- /dev/null +++ b/games-util/qstat/qstat-2.11.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +DESCRIPTION="Server statics collector supporting many FPS games" +HOMEPAGE="https://sourceforge.net/projects/qstat/" +SRC_URI="mirror://sourceforge/qstat/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ppc64 x86" +IUSE="debug" + +DEPEND="!sys-cluster/torque" + +src_prepare() { + # bug #530952 + sed -i -e 's/strndup/l_strndup/g' qstat.c || die +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + DOCS="CHANGES.txt COMPILE.txt template/README.txt" default + dosym qstat /usr/bin/quakestat + dohtml template/*.html qstatdoc.html +} diff --git a/games-util/qstat/qstat-2.14.ebuild b/games-util/qstat/qstat-2.14.ebuild new file mode 100644 index 000000000000..3dbdb38a119f --- /dev/null +++ b/games-util/qstat/qstat-2.14.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Server statics collector supporting many FPS games" +HOMEPAGE="https://github.com/multiplay/qstat" +SRC_URI="https://github.com/multiplay/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +IUSE="debug" + +DEPEND="!sys-cluster/torque" + +DOCS=( CHANGES.txt COMPILE.txt template/README.txt ) + +src_prepare() { + default + eautoreconf + + # bug #530952 + sed -i -e 's/strndup/l_strndup/g' qstat.c || die +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + default + dosym qstat /usr/bin/quakestat + docinto html + dodoc template/*.html qstatdoc.html +} diff --git a/games-util/ucon64/Manifest b/games-util/ucon64/Manifest new file mode 100644 index 000000000000..218fa84e7a73 --- /dev/null +++ b/games-util/ucon64/Manifest @@ -0,0 +1,7 @@ +AUX ucon64-2.0.0-ovflfix.patch 681 SHA256 37ceb0e0211270dbf1b8fc0453f706f5a3d797b184e4fe42345f31b1eef8cf7c SHA512 050ad442ce4e2dfa45ef2cbe3245e623d965e922528a4c64c2652de07934d255d0581ceb536f0883c8f3291a30f9f1807d4078a14f9b29178495dab75a277402 WHIRLPOOL e479e7b8592b6f9864867aee5a3ec9c68764331d45680c2b4fb21e3019cbd8d654f4844a2c6baf29b4af6626986da508f02e11fda3f0b31576ad1d3e9df2f494 +AUX ucon64-2.0.0-zlib.patch 1274 SHA256 e8e8a3f78643630d57332747387a776e7742001507f43f494aa543121f8c98e9 SHA512 708034434a809f65c7cc05fcbae474a8dd5d473ae11458a4bb8510fd553da50691911c1e9fc8ee8457989192ad2b350ab6667214946d5d1f89bd64af8df7272f WHIRLPOOL 1382b8edd0dc9d687f50d802a1d478ed44288fdac40c7449123c86b2a99030efcce359c692eb054d7c44bb5d955d179d66284bf64bd093a6882a119c9ef90c2c +DIST ucon64-2.0.0-src.tar.gz 1188488 SHA256 62064324a1912387f84ac9d4c521c5d5e7b80f2567e9f61bf0ab3e1d976c0127 SHA512 d021fe6db9530405773e1e209bdfafe41a2bd997f275ca7fb387f9b3d8639f4581c2761cbdce859a1831d6eba9dab4d5df1019605698c6cb6a4695ab091b001c WHIRLPOOL 922d22e3b856df221d66bc506bae73d895fddb7e2a0577a14569c9874d5ddac33bf8e6b91c7c2ec3f8e8fea59b57159085d9be2ddf046a2b96ed31004ffd153d +EBUILD ucon64-2.0.0.ebuild 1426 SHA256 4b0b2dfc2a223f68fee8857dbfcca83b827f91c52a94f8afa6d291fdb4bf9f78 SHA512 2d5caf11804ef1f2e4460b1d7b4fd752e7aa38adaca13a16e0f3a0599b12979d3d62108c102b5cb4fdbb62066ff38b7f45cdb89069a1579dde9e59d1a2ff5a73 WHIRLPOOL d3637962731045a91cc706b1ec576c60301dcb586e43d57dee40f289826fd292d6db9ffba8144e09bb44283a333f3cd2a6bdaa5fdf9946d16eb05061a74ed53e +MISC ChangeLog 2495 SHA256 324140b1d01b45dc7e8f1bb940d24815949976ad8b509716b5b2e4ee4a95c52a SHA512 27e3fe32da1f73787f32098089da703e38814ef8a0a9a802c77d578786918e0a13806b40c47e00282f9edcb62d27fda529832ed09939efdd6dfd4ebabd919146 WHIRLPOOL 0646ab6ba91133f83fed99877e2f67b9d937f4be58c2ea244a9489074d4601f31eec6f176f6fefa859f0e0ceba8051da107d71ba4b7ed5392200b75b84f11541 +MISC ChangeLog-2015 2458 SHA256 ec69624683cd6475bc7c44a961ac0c020c26db2c8a4b5fa080c65083530902af SHA512 dac6c95422a0754681f36f4ef23fd8c26f4a945a119bacd81d913c9dae685f81516ef55aa7879cf69fa2438003dea22be1e126020f93c70d1e8d12d59d8b90ac WHIRLPOOL 578fc600c6b4ee388528c28aebdb592e023bedb4296cb5e09d3a0189a00ca0fb938f9468d80a071d13966bcb392bdbb838f6a04fa928dd63aef77cd0b80e8cc8 +MISC metadata.xml 329 SHA256 33f2f4288407cfc950e779ae11bbf42bf2beb803aebb830d7ef8f0e4e6173814 SHA512 eeaeb79bd3f8931262b87f4956705aea7408f5afd8879e6b8c5d5436a851be22a2e9a9e22ccd5250ea270db0c2876633fbf3d160df47cff9be490e203619ed7f WHIRLPOOL 0a1bd74ece9428041e10718b724d9a9cec6e3c6ca94c41e1b613f0f0903596e3ee2f65eaa9c371a00ccfc387d7c99dbda47005d1690c7fda456e42ed6a45cc62 diff --git a/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch b/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch new file mode 100644 index 000000000000..0a1668f2d09f --- /dev/null +++ b/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch @@ -0,0 +1,20 @@ +--- backup/lynxit.c.old 2010-11-04 09:07:18.000000000 +0100 ++++ backup/lynxit.c 2010-11-04 09:08:17.000000000 +0100 +@@ -561,7 +561,7 @@ + return FALSE; + } + +- if (strcmp (header.magic, "LYNX") != 0) ++ if (memcmp (header.magic, "LYNX", sizeof(header.magic)) != 0) + { + MESSAGE (("ERROR : %s is not a lynx image\n", filename)); + fclose (fp); +@@ -682,7 +682,7 @@ + #endif + + memset (&header, 0, sizeof (st_lnx_header_t)); +- strcpy (header.magic, MAGIC_STRING); ++ memcpy (header.magic, MAGIC_STRING, sizeof(header.magic)); + strcpy (header.cartname, cartname); + strcpy (header.manufname, manufname); + header.page_size_bank0 = cart_analyse (BANK0); diff --git a/games-util/ucon64/files/ucon64-2.0.0-zlib.patch b/games-util/ucon64/files/ucon64-2.0.0-zlib.patch new file mode 100644 index 000000000000..7a122713d232 --- /dev/null +++ b/games-util/ucon64/files/ucon64-2.0.0-zlib.patch @@ -0,0 +1,45 @@ +--- misc/unzip.h.old 2011-09-23 19:53:09.708884325 +0200 ++++ misc/unzip.h 2011-09-23 19:54:00.012878355 +0200 +@@ -49,6 +49,10 @@ + #include "zlib.h" + #endif + ++#ifndef OF ++#define OF(x) x ++#endif ++ + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) + /* like the STRICT of WIN32, we define a pointer that cannot be converted + from (void*) without cast */ +--- libdiscmage/unzip.h.old 2011-09-23 19:59:47.319837133 +0200 ++++ libdiscmage/unzip.h 2011-09-23 20:00:07.230834769 +0200 +@@ -48,6 +48,9 @@ + #ifndef _ZLIB_H + #include "zlib.h" + #endif ++#ifndef OF ++#define OF(x) x ++#endif + + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) + /* like the STRICT of WIN32, we define a pointer that cannot be converted +--- libdiscmage/misc_z.c.old 2012-03-19 08:39:41.975022496 +0100 ++++ libdiscmage/misc_z.c 2012-03-19 08:40:13.109803301 +0100 +@@ -27,6 +27,7 @@ + #include <string.h> + #include <errno.h> + #include <sys/stat.h> ++#define Z_SOLO + #include <zlib.h> + #include "misc_z.h" + #include "misc.h" +--- misc/archive.c.old 2012-03-19 08:41:06.478999810 +0100 ++++ misc/archive.c 2012-03-19 08:41:24.134741668 +0100 +@@ -27,6 +27,7 @@ + #include <string.h> + #include <errno.h> + #include <sys/stat.h> ++#define Z_SOLO + #include <zlib.h> + #ifdef HAVE_BYTESWAP_H + #include <byteswap.h> diff --git a/games-util/ucon64/metadata.xml b/games-util/ucon64/metadata.xml new file mode 100644 index 000000000000..04401fa31ab8 --- /dev/null +++ b/games-util/ucon64/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">ucon64</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/ucon64/ucon64-2.0.0.ebuild b/games-util/ucon64/ucon64-2.0.0.ebuild new file mode 100644 index 000000000000..b8875263099d --- /dev/null +++ b/games-util/ucon64/ucon64-2.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="The backup tool and wonderful emulator's Swiss Army knife program" +HOMEPAGE="http://ucon64.sourceforge.net/" +SRC_URI="mirror://sourceforge/ucon64/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +S=${WORKDIR}/${P}-src/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-ovflfix.patch \ + "${FILESDIR}"/${P}-zlib.patch + sed -i \ + -e "/^CFLAGS/s/-O3/${CFLAGS}/" \ + -e "/^LDFLAGS/s/-s$/${LDFLAGS}/" \ + {,libdiscmage/}Makefile.in || die +} + +src_configure() { + local myconf + + if [[ ! -e /usr/include/sys/io.h ]] ; then + ewarn "Disabling support for parallel port" + myconf="${myconf} --disable-parallel" + fi + + econf ${myconf} +} + +src_install() { + dobin ucon64 + dolib.so libdiscmage/discmage.so + cd .. + dohtml -x src -r -A png,jpg * +} + +pkg_postinst() { + echo + elog "In order to use ${PN}, please create the directory ~/.ucon64/dat" + elog "The command to do that is:" + elog " mkdir -p ~/.ucon64/dat" + elog "Then, you can copy your DAT file collection to ~/.ucon64/dat" + elog + elog "To enable Discmage support, cp /usr/lib/discmage.so to ~/.ucon64" + elog "The command to do that is:" + elog " cp /usr/lib/discmage.so ~/.ucon64/" + elog + elog "Be sure to check ~/.ucon64rc for some options after" + elog "you've run uCON64 for the first time" +} diff --git a/games-util/uglygs/Manifest b/games-util/uglygs/Manifest new file mode 100644 index 000000000000..aea7eb664476 --- /dev/null +++ b/games-util/uglygs/Manifest @@ -0,0 +1,7 @@ +AUX 0_rc11-uglygs.conf.patch 2213 SHA256 83f8f2e2a4f617834b8c28082f5b3fbbd008cb8ef454ab715e9ff00b58f8d679 SHA512 e19ea449992afdf6f5a46352244c97a183a4869e2b018b458e01f02499d48ca95341e94b9704583c8c34a6cda02703de376cf83eb12a406cf145eb98ce7ac88f WHIRLPOOL d78fe459c7904795242a39aebc4dfa062b7aa25ace07c45f3ec22527fe86d575ae76feb2f31f7175f569d3180b7ef5419f41536d7110418393ccb9772c548647 +AUX 0_rc11-uglygs.pl.patch 7040 SHA256 577144eb6062b3652a6d91c5a6f282bf32f039db4e0c0220ca7c9f94287a73b2 SHA512 afaee5a46fe17bddc497e4cbdafda3b461e0f1710368dce8057d276c523eae674c3069ec2a86d4386da7d9412a551debebea9c9fe32eae7eb58cebdc06c73db9 WHIRLPOOL 759aed54fbb3068d2cb817063b442e045cb08fc699052007b61a8b548cbcb1553ffb28694c8bc59117831ccac47245625a0e0012b4aabcddef1a2c774d788eca +DIST uglygs-rc11.tar.gz 9066873 SHA256 a304e01e0a570ba5dcac3ac3f9d4ade23b7fbe3e40222f9d9510df14ae8e09f0 SHA512 2a57eb7a4562525c00c69a7874d32fa52d5f12cb2926dffcf4bc8ad74e5847a962c464426b476412bff369963ee40120c3dfc9c0b506606f8a4668bca88d1970 WHIRLPOOL 84cb1923886425dd35366370102660e6bca80c685dcd2ea9bbe94c25c83f9f6da30ea64972a3b35bff92c15b3d42cf418fe0579bbf0615d9a1a7f30b9058aabc +EBUILD uglygs-0_rc11.ebuild 1450 SHA256 3e0a222f0b727feebd980dcce9ed84056af8f53ea761e436f8b7670c51d82c34 SHA512 89694f72c70ce4b6962456719a5d45163ae766c75423efc7ce35a2b08a6edf7d46d14281870c90b8d9fb5a390a86c6013e9c1294a1e7d641306c0240bcee9574 WHIRLPOOL 3e1587775527c789d62296309da4b7b008a5f74b118ea038faf2589c2eaceafcd7e1709f89ce54a72eedc98a9342d14cfd0220d2e37a1e9575b1ed76698c1d6b +MISC ChangeLog 2494 SHA256 50bcec5b5ed2bb4faeb0fc7ed011b44e6068207095856d11ab46fc08ba547699 SHA512 e5b65ed41c944919ec991ad18c48e68e8718977ac02f5702deb06c4d5098b6e900bb2543368f2ef542c8c827e0449ba7d76c275363a34c04b8b08280b2b26750 WHIRLPOOL b942bb2ce71c104f929af10a759e75b9a22bf1ed9ad219828e91e92b73707a56f9be2541a97b50ec1e81a6fff947a5dbb76f05dd0dcfc6f8cbd408051180ce12 +MISC ChangeLog-2015 1823 SHA256 0f6c2030656e75b234b9356a6ca96c2e0f8600d968131011efac8835d48dd123 SHA512 e320a8e490cb1d9595356dcb5b733a805f41505826d54f2764c2c541d4bf94fcbf279ed48bd8551065181f62883c70f498f5dab56400c7b66de3d85dac6fae05 WHIRLPOOL f5d99a64ee64f19d6408e37de5792a74b1228f76e0f7a97dddb374d270fd7eb3fc2dde5723bddd74f57fa7c2c7d39863531f22754ffffefbb54a053a79227736 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/uglygs/files/0_rc11-uglygs.conf.patch b/games-util/uglygs/files/0_rc11-uglygs.conf.patch new file mode 100644 index 000000000000..6ee918c70088 --- /dev/null +++ b/games-util/uglygs/files/0_rc11-uglygs.conf.patch @@ -0,0 +1,31 @@ +--- uglygs.conf.orig 2003-06-30 11:16:57.000000000 -0400 ++++ uglygs.conf 2003-06-30 11:22:50.000000000 -0400 +@@ -12,22 +12,23 @@ + $runmode = "loop"; # Run mode, Run as a loop or as a cron Executable + + $configfile = "servers.cfg"; # The Result file to be passed to other programs +-$qstat = "qstat/qstat"; # The modified qstat file ++$qstat = "GENTOO_DIR/qstat"; # The modified qstat file + $cat = "/bin/cat"; # The cat file location +-$data = "./data"; # Data Directory +-$tmp = "./tmp"; # Temp Directory ++$data = "GENTOO_DIR/data"; # Data Directory ++$tmp = "GENTOO_DIR/tmp"; # Temp Directory + $template = "default"; # Template Directory ++$templates = "GENTOO_DIR/templates"; # Template base directory + $staticcfgfile = "$data/servers.static"; # A Static output file to append to final output + + $refresh = "180"; # # If loop is on what is your update rate in sec + + $serverquery = "n"; # Do u want Server Query output y or n +-$serverqueryfile = "/var/www/html/servers.cfg"; # The output file for server query ++$serverqueryfile = "/home/httpd/htdocs/servers.cfg"; # The output file for server query + + $html = "n"; # Do you want HTML output + $htmlgame="l"; # Game List Sort Order p=by-ping, g=by-game, i=by-IP-address, h=by-hostname, n=by-#-players, l=by-list-order + $htmlplayer="F"; # Player List Sort Order P=by-ping, F=by-frags, T=by-team +-$htmldir = "/var/www/html/uglygs"; # The html output Directory ++$htmldir = "/home/httpd/htdocs/uglygs"; # The html output Directory + $htmlfile = "servers"; # The html output file + $htmlext = "html"; # THe file Ext eg. html, php, pl, asp + $htmlalias = "/uglygs"; # The html Directory Alias diff --git a/games-util/uglygs/files/0_rc11-uglygs.pl.patch b/games-util/uglygs/files/0_rc11-uglygs.pl.patch new file mode 100644 index 000000000000..8c7f7943c978 --- /dev/null +++ b/games-util/uglygs/files/0_rc11-uglygs.pl.patch @@ -0,0 +1,131 @@ +--- uglygs.pl.orig 2003-06-30 11:37:59.000000000 -0400 ++++ uglygs.pl 2003-06-30 11:38:30.000000000 -0400 +@@ -8,7 +8,8 @@ + ########## Contact uglygs@uglypunk.com ########## + ######################################################################################################################### + ######################################################################################################################### +-require 'uglygs.conf'; ++$qstatcfg = 'GENTOO_DIR/qstat.cfg'; ++require 'GENTOO_DIR/uglygs.conf'; + + $VERSION = "rc10"; + +@@ -23,7 +24,7 @@ + if (!-f $qstat) { die "Sorry the Qstat file doesn't exist, you may no have compiled it yet"}; + if (!-d $data) { die "Sorry the data directory doesn't exist, it should be located here: $data"}; + if (!-d $tmp) { die "Sorry the temp directory doesn't exist, it should be located here: $tmp"}; +-if (!-d "./templates/$template") { die "Sorry the templates/template directory doesnt exist, it should be located here: templates/$template"}; ++if (!-d "$templates/$template") { die "Sorry the templates/template directory doesnt exist, it should be located here: $templates/$template"}; + + if ($html eq "y"){ + if (!-f $rrdtool) { die "Sorry the rrdtool file doesn't exist, Please install RRDTOOL"}; +@@ -88,7 +89,7 @@ + $timemonth = $time - 2592000; + $timeyear = $time - 31536000; + system(`rm $tmp/*.tmp`); +-require "templates/$template/graphs.conf"; ++require "$templates/$template/graphs.conf"; + + + ################################# Seach everything VERY MESSY ######################### +@@ -96,7 +97,7 @@ + if ($doscan eq "y"){ + + +- open(QSTAT, "|$qstat -cfg qstat/qstat.cfg -maxsim 60 -timeout 8 -Ts ./templates/qstat $qstatcom $addports >> $tmp/serversannounce.tmp" ); ++ open(QSTAT, "|$qstat -cfg $qstatcfg -maxsim 60 -timeout 8 -Ts $templates/qstat $qstatcom $addports >> $tmp/serversannounce.tmp" ); + close(QSTAT); + + if (-s "$tmp/serversannounce.tmp"){ +@@ -121,7 +122,7 @@ + $defport = $tabledata[2]; + $defport =~ s/\n//; + if ($tabledata[0] eq "Q3S") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -q3s $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -q3s $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + if ($qstatoutput =~m/version=Wolf /) { +@@ -172,7 +173,7 @@ + + ############################# SERVER QUERY PROCESSING ############################### + +-system( "$qstat -cfg qstat/qstat.cfg -maxsim 60 -timeout 8 -Ts ./templates/sqdata -of $tmp/sqservers.tmp -f $configfile" ); ++system( "$qstat -cfg $qstatcfg -maxsim 60 -timeout 8 -Ts $templates/sqdata -of $tmp/sqservers.tmp -f $configfile" ); + + open (PROCESS, "< $tmp/sqservers.tmp"); + @name = <PROCESS>; +@@ -194,7 +195,7 @@ + $defport = $tabledata[2]; + $defport =~ s/\n//; + if ($tabledata[0] eq "GPS") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -gps $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -gps $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + +@@ -206,7 +207,7 @@ + close(QSTAT); + + } elsif ($tabledata[0] eq "RWS") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -rws $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -rws $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + if ($qstatoutput =~m/protocol=17,/) { +@@ -218,7 +219,7 @@ + + + } elsif ($tabledata[0] eq "RGS") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -rgs $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -rgs $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + +@@ -231,7 +232,7 @@ + close(QSTAT); + + } elsif ($tabledata[0] eq "SMS") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -sms $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -sms $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + +@@ -247,7 +248,7 @@ + + + } elsif ($tabledata[0] eq "GOS") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -gos $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -gos $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + +@@ -261,7 +262,7 @@ + + + } elsif ($tabledata[0] eq "SF2S") { +- open (QSTAT, "$qstat -cfg qstat/qstat.cfg -nh -R -sf2s $tabledata[1]:$defport|"); ++ open (QSTAT, "$qstat -cfg $qstatcfg -nh -R -sf2s $tabledata[1]:$defport|"); + @qstatoutput = <QSTAT>; + $qstatoutput = $qstatoutput[1]; + if ($qstatoutput =~m/version=SOF2MP V1.02t/) { +@@ -301,7 +302,7 @@ + + + if ($html eq "y"){ +- open(TOTALOUT, "$qstat -cfg qstat/qstat.cfg -R -sort $htmlgame -maxsim 60 -timeout 4 -Th ./templates/$template/header.html -Tt ./templates/$template/footer.html -Ts ./templates/$template/data.html -f $configfile 2> /dev/null |"); ++ open(TOTALOUT, "$qstat -cfg $qstatcfg -R -sort $htmlgame -maxsim 60 -timeout 4 -Th $templates/$template/header.html -Tt $templates/$template/footer.html -Ts $templates/$template/data.html -f $configfile 2> /dev/null |"); + while( $totalline = <TOTALOUT> ){ + my @totaldata = split(/ /,$totalline); + if ($totaldata[0] eq "<!--" and $totaldata[1] eq "gamedetails"){ +@@ -372,7 +373,7 @@ + $graph = "$tabledata[0]$tabledata[1]$port"; + + +- open(QSTAT, "$qstat -cfg qstat/qstat.cfg -R -P -sort $htmlplayer -maxsim 60 -timeout 4 -Th ./templates/$template/gameheader.html -Tt ./templates/$template/gamefooter.html -Ts ./templates/$template/gamedata.html -Tp ./templates/$template/gameplayer.html -$gametype $tabledata[1]:$port | "); ++ open(QSTAT, "$qstat -cfg $qstatcfg -R -P -sort $htmlplayer -maxsim 60 -timeout 4 -Th $templates/$template/gameheader.html -Tt $templates/$template/gamefooter.html -Ts $templates/$template/gamedata.html -Tp $templates/$template/gameplayer.html -$gametype $tabledata[1]:$port | "); + while($serverline = <QSTAT>){ + my @data = split(/ /,$serverline); + if ($data[0] eq "<!--" and $data[1] eq "gamedetails"){ +--- uglygs.pl.orig 2003-06-30 13:56:01.000000000 -0400 ++++ uglygs.pl 2003-06-30 13:59:17.000000000 -0400 diff --git a/games-util/uglygs/metadata.xml b/games-util/uglygs/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/uglygs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/uglygs/uglygs-0_rc11.ebuild b/games-util/uglygs/uglygs-0_rc11.ebuild new file mode 100644 index 000000000000..80ef89b4d64e --- /dev/null +++ b/games-util/uglygs/uglygs-0_rc11.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +MY_P=${P/0_/} +DESCRIPTION="quickly searches the network for game servers" +HOMEPAGE="http://uglygs.uglypunk.com/" +SRC_URI="ftp://ftp.uglypunk.com/uglygs/current/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha hppa x86" +IUSE="" + +DEPEND="net-analyzer/rrdtool[graph] + dev-lang/perl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-uglygs.conf.patch + sed -i \ + -e "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf || die + epatch "${FILESDIR}"/${PV}-uglygs.pl.patch + sed -i \ + -e "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl || die + sed -i \ + -e "s/strndup/${PN}_strndup/" qstat/qstat.c || die +} + +src_compile() { + emake -C qstat CFLAGS="${CFLAGS}" +} + +src_install() { + insinto "${GAMES_SYSCONFDIR}" + doins uglygs.conf qstat/qstat.cfg + + dogamesbin uglygs.pl + + insinto "$(games_get_libdir)"/${PN} + doins -r data templates tmp + insinto "$(games_get_libdir)"/${PN}/images + doins -r images/{avp2,bds,default.gif,hls,j2s,mhs,q3s,rws,sf2s,uns,vcs} + dosym bds "$(games_get_libdir)"/${PN}/images/bdl + keepdir "$(games_get_libdir)"/${PN}/tmp + + exeinto "$(games_get_libdir)"/${PN} + doexe qstat/qstat + + dodoc CHANGES README + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "Dont forget to setup ${GAMES_SYSCONFDIR}/uglygs.conf and ${GAMES_SYSCONFDIR}/qstat.cfg" +} diff --git a/games-util/umodpack/Manifest b/games-util/umodpack/Manifest new file mode 100644 index 000000000000..86f60cebb18c --- /dev/null +++ b/games-util/umodpack/Manifest @@ -0,0 +1,5 @@ +DIST umodpack-0.5b16-allinone.tar.gz 3605080 SHA256 e4b291c333812efba65277feff45d7da132515a7945780f7df3b127793f9dedd SHA512 3678507c7aec30043f50f5519935e2d5eb7471b5e0692ba8b27c506bdd7a067fdb055e6731a6bffb04bb3008020c889f3486624a1466a77e0eab3e5139003ff0 WHIRLPOOL 8a453246832feefa333ea78a8ee176903ddc538fe489c5cf4fa3c5ee5c2e075dd1b379b69c2b0f88b4a0e64a0d4386dba0b94902fe32aa36ecfb6c893a0882b3 +EBUILD umodpack-0.5_beta16-r2.ebuild 966 SHA256 b9391f6e4e02657f058b2a0e21e85559caeb0084eed4def03270d43c60bb6b71 SHA512 d8a5639d74ec5612c0f8b01dd11495df370e7d444cd6988cb3396842cccea6b2408e4ddfedebe5f1ef9ba9837ee0d88973067ed9b65913ee8f0f48fe1b59e3da WHIRLPOOL 27cdef388879745bf227c177803ebc062399e9b7bb28bdf8eb322823239eba721bffc407ccc089f357ce59db68907bd9d4b537cf1f5a945a536f786d66472612 +MISC ChangeLog 2744 SHA256 bec2e8c56f067fae7abff2de3a04a7085a8d2fa88c1552ae66be652e4ac669d8 SHA512 52a657e0fe75e6801a16e82254bb104991e951f58299c5baf382e22b807d9717bb0bec0c82e4f8e57a49d8e62583341cd3be1e2d83191ba63a145c436b6e379f WHIRLPOOL 773f32d49e38b05983cf4648d6313e05c37b44269a46b4fb19576fb35fe88466ae41479e024ede281be5094ad9e33313bc7a4fe0d27a7c73cd1bcf506fd3a360 +MISC ChangeLog-2015 1965 SHA256 56362d8f14c00c91a827a7721a7a44892fa7d6f0bd353f9d19503def836dbc10 SHA512 0fbba1de8dc187880a84d6ce826182bcc1f0fe41cc2a5c7d95eadd46da0fb399e05c938b211b75886ae59844c6f5ccf4239c8311aa2406a4ed4f453bb974e60b WHIRLPOOL ff48f73d6ab6e3cbb1e6c4c07c13499d96f74020aa58eb64d2ddbe7d1a6e5cb863faf17c5886827f269fb3d84cdf63aef1bf7bb58dbc68160a4ef05550f47f3d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/umodpack/metadata.xml b/games-util/umodpack/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/umodpack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/umodpack/umodpack-0.5_beta16-r2.ebuild b/games-util/umodpack/umodpack-0.5_beta16-r2.ebuild new file mode 100644 index 000000000000..e95a8468e086 --- /dev/null +++ b/games-util/umodpack/umodpack-0.5_beta16-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit perl-module toolchain-funcs + +MY_P=${P/_beta/b} +DESCRIPTION="portable and useful [un]packer for Unreal Tournament's Umod files" +HOMEPAGE="http://www.oldunreal.com/wiki/index.php?title=UmodPack" +SRC_URI="mirror://gentoo/${MY_P}-allinone.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="tk" + +DEPEND="virtual/perl-IO-Compress + dev-perl/Archive-Zip + dev-perl/Tie-IxHash + tk? ( dev-perl/Tk )" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} +SRC_TEST="do parallel" + +src_prepare() { + # remove the stupid perl modules since we already installed em + rm -rf {Archive-Zip,Compress-Zlib,Tie-IxHash,Tk}* || die +} + +src_compile() { + perl-module_src_compile + + cd umr-0.3 || die + emake DEBUG=0 CFLAGS="${CFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + mydoc="Changes" + perl-module_src_install + dobin umod umr-0.3/umr + if use tk ; then + dobin xumod + fi +} diff --git a/games-util/uz2unpack/Manifest b/games-util/uz2unpack/Manifest new file mode 100644 index 000000000000..db92164e0d57 --- /dev/null +++ b/games-util/uz2unpack/Manifest @@ -0,0 +1,5 @@ +DIST uz2unpack-0.1.tar.bz2 1483 SHA256 324eaaa114720bb22de2d59f182a87f3f44a60ddb8d49a541ce247deaf80f018 SHA512 b3876a54dfd4729399dc768f9e096aa9eed3af9d7a0a5ad68777159244a7f3f4a7ff113d2da00ca9dba60c731e8abc3b88888aab3c0aa2b934decfee9312654b WHIRLPOOL ebae970fc0198a52b8b99f64039c396b864fc57756108e57f582b356aefcbf00a94ec43aeb0a1d6010aee860891f81bcfa6b0c19dd2f55080856e987f906d230 +EBUILD uz2unpack-0.1.ebuild 526 SHA256 e9193fece113b8e3b75be6784882c6b92bba1c87731fd23026224f151323eb12 SHA512 c465288ca22144c01921fad0e3faa10e7831ac3ffdf3326f8874d8996e3ce3fb5ce06a53b797673517e4901f1ba279cc8f8370efac9159c82fd6fbda27d6e66f WHIRLPOOL fe9cc2494fd4af5779eee4293ddd160b49c71202371470013028d7ea7afc946eb6da07e12306a6ffe715e3fcd338fb5f7eba17ba91d4df3e226a5c99367dc09d +MISC ChangeLog 2558 SHA256 2b0cb14a9017337fa5df093e6ad493662d82030b638aea46d7d00fb61e2b1f2b SHA512 3f142cfad2f66f5578e45012ce48cd35319eb6d89ffcba0d23df7d4922b3370768ce94dd97db2ada9d0753bb9e6d0e0b06e04db2fd18c6345e32db9d868e47f4 WHIRLPOOL 176aeec57f73613f097c45632f728a12828ffbb06903cd4b6d457283308417ae26f05f4c6b2a1ae2f954a9aead1e7e589e009b4fa386a434aeb91f57d6875eb8 +MISC ChangeLog-2015 856 SHA256 3e130e300c251296f542aa976558c5bc9a4783871d13c3eafbb90eab6dd9a23a SHA512 0c6f7e6b7449f9210e72e0ad2fc5e543ee67a12ece1ee53f83b455a63284ad6877072a695239151ada73cf1a82a68af3a67b6546d33985525f1c6649030584e0 WHIRLPOOL da0f12041b2fc33dec87b7f147294f60a4be7dc2462eaa146ddc367546d49f1e6e7032c7ff1b32ed7b77282b0b66a4e70fecf3b32878f800ca508539d69d0407 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/uz2unpack/metadata.xml b/games-util/uz2unpack/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/uz2unpack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/uz2unpack/uz2unpack-0.1.ebuild b/games-util/uz2unpack/uz2unpack-0.1.ebuild new file mode 100644 index 000000000000..c82230aa1692 --- /dev/null +++ b/games-util/uz2unpack/uz2unpack-0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="UZ2 Decompressor for UT2003/UT2004" +HOMEPAGE="http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?42:mss:1013:200406:kikgppboefcimdbadcdo" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="sys-libs/zlib" +RDEPEND=${DEPEND} + +src_compile() { + emake CC="$(tc-getCC)" LDLIBS=-lz ${PN} +} + +src_install() { + dobin ${PN} + dodoc README +} diff --git a/games-util/vispatch/Manifest b/games-util/vispatch/Manifest new file mode 100644 index 000000000000..3ae7ed316574 --- /dev/null +++ b/games-util/vispatch/Manifest @@ -0,0 +1,5 @@ +DIST vispatch-1.4.6.tgz 227850 SHA256 a0707b148a5b225fcf204466395b61fe273643ebfd1242bb61b35e708d8bd5f0 SHA512 0034660c1ba238360cc5b71e846d2117f76af2340fcee2a0a25b42d1e200ec7231796b45d89335bf7e303379d9f5c03f4f0a9b22a1a54da356ac9a41b24abcc1 WHIRLPOOL 08eabb47a90a4bb02c070e50305f78730170d84a6bf7ac7db58c1e5a05ca1952ea1802ccdd40afd51f457d2a3a94108ed9a0e3040fc9739651ae3803f4e46ec0 +EBUILD vispatch-1.4.6.ebuild 508 SHA256 0102b3cf2b9c5a1a63591d963e69e7a7f8d4d2b7615f4c5ef23e392e95cd91ef SHA512 55b5ecdb8b390bc397232abb310ce663310b8e0b6255e17a85994d6f7bde7c9567485fbe39d7bb92bbaf33103ecc99fa050fef869c5a0bf7bd4786e78c6ef207 WHIRLPOOL 571e74cb441a2fd346182c0fadaef8ae45cb48d92f37fe14eaf2ae74d94f80e05f22bbd453263667b0297d5d29c14a2fb7e729f10aa918f8b01c5f91cb2f8a9b +MISC ChangeLog 2432 SHA256 e8802a243c1e6e167a09b3d1974115bb98eaead4febb33599e1b2dd7124caa98 SHA512 2e3c984f9ae217b4ac95ab56fea0374105760c1e4ae6213272f204cabbb0e677f110e901375205da467c044dedbe3724dedd7fd9651c081f033adc657100fee2 WHIRLPOOL 8b0612ac892da479191420c52c116412e08c9b8a55b6bd8dbbe9702eb08602df16eed4adc305ebfefb7368f56ce3ee87cdf464805e3292d69a0fae3e706d5335 +MISC ChangeLog-2015 1094 SHA256 588790c690e302e8fbbdcdd92d477bad63d71356afc53795fd907fb2c089dfe6 SHA512 931328149e7f501d2a30e7d9d0af1752957647b2719ffd54764ac149fd1e868e64380cab0e0cf23dfff634809a475893c61c16e2a8a1bf5e105bc4d842c822f7 WHIRLPOOL 7caf2b06adbfb838ae1f33535f32ffd25ccae6a78c40466537cbeb6ae267249e94c20b35fd4f483ed566f6d0ed2ac1ac4088081c79f3a9344c0f5d74db7bfa2c +MISC metadata.xml 331 SHA256 ea52404f56e5559d98bf14c5a8aebec1476a747dac82eede8d7dee7935f15954 SHA512 a6016f990397a930eeb6fb10b1676ee26a299b3900f5937729783c80927912ee8522b4cd6641f2a71855cd75bdd92b4d0c72ad498c48f2bc5791dca1b6b4dac1 WHIRLPOOL 91351c395ff5244332966b862e62506cb5461c42b557f90008391c3fde600e5714929e49df3465930a7481dcb43fcc946011fb3a5abd57da93cbc6a20698cf8c diff --git a/games-util/vispatch/metadata.xml b/games-util/vispatch/metadata.xml new file mode 100644 index 000000000000..f12f3872db6d --- /dev/null +++ b/games-util/vispatch/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">vispatch</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/vispatch/vispatch-1.4.6.ebuild b/games-util/vispatch/vispatch-1.4.6.ebuild new file mode 100644 index 000000000000..3de60f78a306 --- /dev/null +++ b/games-util/vispatch/vispatch-1.4.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="WaterVIS utility for glquake" +HOMEPAGE="http://vispatch.sourceforge.net/" +SRC_URI="mirror://sourceforge/vispatch/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S=${WORKDIR}/${P}/source + +src_prepare() { + sed -i \ + -e '/^CFLAGS/d' \ + -e '/^LDFLAGS/d' \ + makefile || die + tc-export CC +} + +src_install() { + dobin ${PN} + dodoc ${PN}.txt +} diff --git a/games-util/wiiload/Manifest b/games-util/wiiload/Manifest new file mode 100644 index 000000000000..ba2ae34f5c6a --- /dev/null +++ b/games-util/wiiload/Manifest @@ -0,0 +1,5 @@ +DIST wiiload-0.5.tar.gz 5291 SHA256 49da2326b43d95a5414d2491ba5a28bd5b97fbafecb1f40b79319213460fa912 SHA512 2c13490e5034078fef658ca3f9743be04fd6c870e485aae7be21a80967f2d1f1075fee016bf7945b20004bc5d96d0b3244f8a997c4410299f1f6afca002360e4 WHIRLPOOL d89ce7eb15151924365f15bd8dff8a8c6198be52ca171be24fda91f39e47958e2f22e7a005959b6ee5199df8aef657af6632419fc928bb147f94369ea9b1e6bf +EBUILD wiiload-0.5.ebuild 461 SHA256 7109262e7c897b0269f6cb993394ce3428347c41e54b30ae7b1744ffb1e09f67 SHA512 465a43de70a5aa4b4dc71e80306e1cb54eabfb047b6ef46896dc051124ef26ab73d232e3c12614f1193c3feff7b87dd26fc2a28c95199ba071cf09d1ac23b7bd WHIRLPOOL 3fb9f2676b2f726d257c35e7b45f86b638dfdb3e75c17b169d91250d2b509fa808a06a485ab2e7b758cb82ddecfa3709612c7ffb3d7bbcc47093222469887491 +MISC ChangeLog 2425 SHA256 d71d5bbf0f0bfd7477f48b47db0df0065a95fad6506f7b0a3b9c67214e6d76b8 SHA512 409797557da6d1e841a358d5fc79e0433213a30289be78a73189d21b64a10bcfbe9da67c8b89f3c9d9ef0a8029a35f274bbd07e5dfa0e766cf17cc7238a1e049 WHIRLPOOL d42274e10b98f74583495f578cef8b23a19d7c175aba8518bfd724a52fcebb306f2cc3100742f3566a8c712783d6c598cd1964640289735abbc96481637fe5af +MISC ChangeLog-2015 980 SHA256 8a54693dca1fa776f973f35938c2b6b68612e89d45b7e94463cfeda1eefd5f35 SHA512 524e4015473699295cff98c87689f0c7f11ed56651e8d50e545eb2efcb9fae138a8d71c4fd90b1ec0fd1736680bf33162458bfe7f62caeedb5a5717bdcb3c392 WHIRLPOOL 4c28f9f6ad88379aec2f5e7fef71ec2c39e2120e858db3524c312c19d09d0583988652ed436312736289063c0da405febb828afe92a6a75d52ab8b144a193937 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/wiiload/metadata.xml b/games-util/wiiload/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/wiiload/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/wiiload/wiiload-0.5.ebuild b/games-util/wiiload/wiiload-0.5.ebuild new file mode 100644 index 000000000000..3648fc97947b --- /dev/null +++ b/games-util/wiiload/wiiload-0.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="load homebrew apps over the network to your Wii" +HOMEPAGE="http://wiibrew.org/wiki/Wiiload" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" || die +} + +src_install() { + dobin wiiload +} diff --git a/games-util/wit/Manifest b/games-util/wit/Manifest new file mode 100644 index 000000000000..487a20357537 --- /dev/null +++ b/games-util/wit/Manifest @@ -0,0 +1,8 @@ +AUX wit-2.30a-makefile.patch 3579 SHA256 addb45e745ec54ed3ad199af128b09775927d26d252ac202cffa4cba3df74717 SHA512 e3c98f47e10fe8771dabea091032625448d85adde125a93cc786a49def4f165e164eb71dc7612aee3eea47a9e11dfc0577c223c79eeae5d6832be44b055eed7b WHIRLPOOL 65bb3556c054d66d00822d1eae180d9fa946d4abac619fd0efc7da9a82463334bbcc31d3b7a9efb4f9beb299a1c05ed33c6c2778407b49cdf10d49009985d73d +AUX wit-2.30a-no-exec-stack.patch 232 SHA256 6208b50aa8bcda69be9241285f107deac484c4ce084aa314485aa56de2d8214b SHA512 958f1fbeda1f29ad704d2eeb3c2a1281f71957fbbb07a7258e6e69af1552e13d135ed61864ef92b9a1334b91990f79366b5b235a8865c424414e46a9305762b0 WHIRLPOOL 5fe6df0d36f10d75679b9d26e5b54a3aa2522f6853f8a75aa10038ed60fcabb2ecc51d4fc6f2cd19f3e2d58d871c686a12c09bbb2ea06247ca05750e8a8234bb +AUX wit-2.40a-sizeof-pointer-memaccess.patch 466 SHA256 932a106126c8dd0b0a7134a3dcf698dab9c4365a09c84b45e9f4d18a10fed06e SHA512 674052e924d81ab7a893e3ff5367e446e9498f3dbf0900fb7ff33a7c5dafda3c234d60238b1a30aa4865ff0d8f01ea9d3b882b567ac6886f2d875c797c398e3b WHIRLPOOL bca5b5b62c4b9ed309ab4d8eabcc41e100a161169c35e0529d8ce6e6b8f05dbf4af5c103579545752c43ce91a51d3ec5620d39598d779759133cb17564a2ce8a +DIST wit-2.40a.tar.xz 723448 SHA256 75b03490e8f72497bebd584a5c1e5d0813828e14413df89c97857072f860319a SHA512 f119ed9dffbb42ba9037444aaa992adaa812c176d1e412f9df6c5b59efff51a24cca0141700939efec7845ac1d42cc9a30100e19ef39adee0306872181b28b5b WHIRLPOOL 16ef0fad03f82228c776deeba8920f1b193d958ec1583623eeb78296323b19e8478e057ae95bf82452e685c7690c5c9ce8883a24f3a45d4770aa044c1ac85248 +EBUILD wit-2.40a.ebuild 817 SHA256 80e9181820ca59ce69c9a14560bf0c529ad3ec7e93d028eafc8cf2412173cef5 SHA512 5a7d6d6bb3c43e221c8b1ae606a66e5dab400067a234671ba64e7fcb8701de7f69898d9e937dcf22024c6a27579f4b37dac95f20194945258d4e74f27e89c756 WHIRLPOOL 7342fd49e4d0ec54fbbb5898d5bd35d79b12fe73a02310a5754f5082ce9b609d6183a9effb2a406fcee3e154c5bbd34cb52d3f9a34d203f4bd27ca824111be11 +MISC ChangeLog 2765 SHA256 312d868e063f12c7111d39c1ef266e719342f12507991833ea96bc4bbbf1d803 SHA512 ce238835c09f885e15a0f5ba755902d4d956b64260dbd6b9268147c198b4c2b60e0f6b7523a87a57ce5eb70be5325d983a7a68988160fb0100768a958e6a7ce6 WHIRLPOOL c1a4ead1327f40617c969cc1287df13a28e55758135e5b1d8f06bda268675addfc2540efd050016d055e0f1234b7aade42aa777008b8d1004690aedfa84cf6e3 +MISC ChangeLog-2015 587 SHA256 8d4a2e1553c7a55bea6bc7b47eeebd306d183cff95bb21e5cd89c76f6b77bf92 SHA512 462875024ca74b044579f6c15c0a215f37df6230e4d5864ea948ebd7f1c3a27c0855d4a60fe14642a44e72f8b1765bf9847f2d0c7f390ad3eb23026b2e19d8b6 WHIRLPOOL 1ff756bbdbb20ef0ac36ab901e2d284f8b5b2facfe9fe76b88d5c9b19b25e03e609b03ab712588ef173d0967a920fcf1aa54ec1da45b53a9bbe88dcf193ed894 +MISC metadata.xml 324 SHA256 37a6a78b1ea801b0f2141289acfae8ff7d1041305fc619274c5e4a3b8faca0b8 SHA512 e95891f8df24d69c9a567049fc3bb6888372eb69845cfccd62056fcde57d882f5344934dd3354e79b6b05ebefdd3c1c2183ea1cc4f473633c57becf0fb08a469 WHIRLPOOL c158d44d0a5550ba8a307be13e67780f845c51e393a106cb5506d6a0ef1317f176e3f155b0b11670b55d79bd6a00dcf6a457e04a9057a070a9c770b74e5e9842 diff --git a/games-util/wit/files/wit-2.30a-makefile.patch b/games-util/wit/files/wit-2.30a-makefile.patch new file mode 100644 index 000000000000..d705487cd8ba --- /dev/null +++ b/games-util/wit/files/wit-2.30a-makefile.patch @@ -0,0 +1,120 @@ +--- wit-2.30a/Makefile ++++ wit-2.30a/Makefile +@@ -190,8 +190,8 @@ + endif + + # lib summary +-LIB_LIST += libbz2 lzma +-LIB_OBJECTS += $(LIBBZ2_OBJ) $(LZMA_OBJ) ++LIB_LIST += lzma ++LIB_OBJECTS += $(LZMA_OBJ) + RM_FILES += $(foreach l,$(LIB_LIST),src/$(l)/*.{d,o}) + + +@@ -273,10 +274,8 @@ + DEFINES1 += -D_LZMA_PROB32=1 # LZMA option + DEFINES = $(strip $(DEFINES1) $(MODE) $(XDEF)) + +-CFLAGS += -fomit-frame-pointer -fno-strict-aliasing -funroll-loops + CFLAGS += -Wall -Wno-parentheses -Wno-unused-function +-#CFLAGS += -O3 -Isrc/libwbfs -Isrc/lzma -Isrc -I$(UI) -I. -Iwork +-CFLAGS += -O3 -Isrc/libwbfs -Isrc -I$(UI) -I. -Iwork ++CFLAGS += -Isrc/libwbfs -Isrc -I$(UI) -I. -Iwork + ifeq ($(SYSTEM),mac) + CFLAGS += -I/usr/local/include + endif +@@ -291,7 +290,7 @@ + ifeq ($(HAVE_ZLIB),1) + LIBS += -lz + endif +-LIBS += $(XLIBS) ++LIBS += $(XLIBS) -lbz2 + + DISTRIB_RM = ./wit-v$(VERSION)-r + DISTRIB_BASE = wit-v$(VERSION)-r$(REVISION_NEXT) +@@ -344,71 +343,60 @@ + # general rules + + $(ALL_TOOLS_X): %: %.o $(ALL_OBJECTS) $(TOBJ_ALL) Makefile | $(HELPER_TOOLS) +- @printf "$(LOGFORMAT)" tool "$@" "$(MODE) $(TOPT_$@) $(TOBJ_$@)" +- @$(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $@.o \ ++ $(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $@.o \ + $(ALL_OBJECTS) $(TOBJ_$@) $(LIBS) $(TOPT_$@) -o $@ +- @if test -f $@.exe; then $(STRIP) $@.exe; else $(STRIP) $@; fi + +- @mkdir -p bin/$(SYSTEM) bin/$(SYSTEM)/debug +- @if test -s $(MODE_FILE) && grep -Fq -e -DDEBUG $(MODE_FILE); \ ++ mkdir -p bin/$(SYSTEM) bin/$(SYSTEM)/debug ++ if test -s $(MODE_FILE) && grep -Fq -e -DDEBUG $(MODE_FILE); \ + then cp -p $@ bin/$(SYSTEM)/debug/; \ + else cp -p $@ bin/; cp -p $@ bin/$(SYSTEM)/; fi + + #-------------------------- + + $(HELPER_TOOLS): %: %.o $(ALL_OBJECTS) $(UI_TABS) Makefile +- @printf "$(LOGFORMAT)" helper "$@ $(TOBJ_$@)" "$(MODE)" +- @$(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $@.o \ ++ $(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $@.o \ + $(ALL_OBJECTS) $(TOBJ_$@) $(LIBS) -o $@ + + #-------------------------- + + $(WDF_LINKS): wdf +- @printf "$(LOGFORMAT)" "link" "wdf -> $@" "" +- @ln -f wdf "$@" ++ ln -f wdf "$@" + + #-------------------------- + + $(UI_OBJECTS): %.o: %.c ui-%.c ui-%.h version.h Makefile +- @printf "$(LOGFORMAT)" +object "$@" "$(MODE)" +- @$(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ ++ $(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ + + #-------------------------- + + $(C_OBJECTS): %.o: %.c version.h Makefile $(TEXT_FILES) +- @printf "$(LOGFORMAT)" object "$@" "$(MODE)" +- @$(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ ++ $(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ + + #-------------------------- + + $(ASM_OBJECTS): %.o: %.S Makefile +- @printf "$(LOGFORMAT)" asm "$@" "$(MODE)" +- @$(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ ++ $(CC) $(CFLAGS) $(DEPFLAGS) $(DEFINES) -c $< -o $@ + + #-------------------------- + + $(SETUP_FILES): templates.sed $(SETUP_DIR)/$@ +- @printf "$(LOGFORMAT)" create "$@" "" +- @chmod 775 $(GEN_TEMPLATE) +- @$(GEN_TEMPLATE) $@ ++ chmod 775 $(GEN_TEMPLATE) ++ $(GEN_TEMPLATE) $@ + + #-------------------------- + + $(TEXT_FILES): $(GEN_TEXT_FILE) $(TEXT_DIR)/$@ +- @printf "$(LOGFORMAT)" text "$@" "" +- @chmod 775 $(GEN_TEXT_FILE) +- @$(GEN_TEXT_FILE) $(TEXT_DIR) $@ ++ chmod 775 $(GEN_TEXT_FILE) ++ $(GEN_TEXT_FILE) $(TEXT_DIR) $@ + + #-------------------------- + + $(UI_FILES): gen-ui.c tab-ui.c ui.h $(UI_TABS) | gen-ui +- @printf "$(LOGFORMAT)" run gen-ui "" +- @./gen-ui ++ ./gen-ui + + .PHONY : ui + ui : gen-ui +- @printf "$(LOGFORMAT)" run gen-ui "" +- @./gen-ui ++ ./gen-ui + + # + ############################################################################### diff --git a/games-util/wit/files/wit-2.30a-no-exec-stack.patch b/games-util/wit/files/wit-2.30a-no-exec-stack.patch new file mode 100644 index 000000000000..db91b45cfcb1 --- /dev/null +++ b/games-util/wit/files/wit-2.30a-no-exec-stack.patch @@ -0,0 +1,9 @@ +--- wit-2.30a/src/crypto/ssl-asm.S ++++ wit-2.30a/src/crypto/ssl-asm.S +@@ -37,3 +37,6 @@ + #define WIT_INCLUDE_SSL_ASM + #include "ssl-asm.h" + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif diff --git a/games-util/wit/files/wit-2.40a-sizeof-pointer-memaccess.patch b/games-util/wit/files/wit-2.40a-sizeof-pointer-memaccess.patch new file mode 100644 index 000000000000..a6083103b857 --- /dev/null +++ b/games-util/wit/files/wit-2.40a-sizeof-pointer-memaccess.patch @@ -0,0 +1,20 @@ +--- wit-2.40a/src/wfuse.c ++++ wit-2.40a/src/wfuse.c +@@ -340,7 +340,7 @@ + } + ResetWBFS(df->wbfs); + FREE(df->wbfs); +- memset(df,0,sizeof(df)); ++ memset(df,0,sizeof(*df)); + n_dfile--; + } + +@@ -352,7 +352,7 @@ + + if (found_df) + { +- memset(found_df,0,sizeof(found_df)); ++ memset(found_df,0,sizeof(*found_df)); + WBFS_t * wbfs = MALLOC(sizeof(*wbfs)); + InitializeWBFS(wbfs); + enumError err = OpenWBFS(wbfs,source_file,false,true,0); diff --git a/games-util/wit/metadata.xml b/games-util/wit/metadata.xml new file mode 100644 index 000000000000..baf90ff6dc62 --- /dev/null +++ b/games-util/wit/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <use> + <flag name="fuse">Enable image mount support via fuse</flag> + </use> +</pkgmetadata> diff --git a/games-util/wit/wit-2.40a.ebuild b/games-util/wit/wit-2.40a.ebuild new file mode 100644 index 000000000000..cb5a55fdabdc --- /dev/null +++ b/games-util/wit/wit-2.40a.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="command line tools to manipulate Wii/GameCube ISO images and WBFS containers" +HOMEPAGE="https://wit.wiimm.de/" +SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+fuse +zlib" + +RDEPEND=" + app-arch/bzip2 + fuse? ( sys-fs/fuse ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" + +DOCS="doc/*.txt" + +PATCHES=( + "${FILESDIR}"/${PN}-2.30a-makefile.patch + "${FILESDIR}"/${PN}-2.30a-no-exec-stack.patch + "${FILESDIR}"/${P}-sizeof-pointer-memaccess.patch +) + +src_compile() { + export NO_FUSE=$(usex fuse 0 1) + export NO_ZLIB=$(usex zlib 0 1) + + emake INSTALL_PATH="${D}"/usr CC="$(tc-getCC)" + emake doc +} diff --git a/games-util/wxchtdecoder/Manifest b/games-util/wxchtdecoder/Manifest new file mode 100644 index 000000000000..0bbedf4f6891 --- /dev/null +++ b/games-util/wxchtdecoder/Manifest @@ -0,0 +1,6 @@ +AUX wxchtdecoder-1.5a-wxgtk.patch 1379 SHA256 3caa99562045f701253c7c1660d1456ce7ec8e195cf8bbb8be6a4e22b2e9de19 SHA512 96fc2236b7f99f5cc3df1672174c332cb568ad0899a209a7e022bd24617b31854338435db4fbef1523f5d67ae466f2de3da29ac417ae8ad948f4e90326727a3b WHIRLPOOL 6483bcede2ec8abe8439b3eae09d82d087041995e4b73e7f518d27e88b735cca18524bf271182790f82f33ec144199e7ad4b0dd51810526cad1803eaa89a82cc +DIST wxchtdecoder-1.5a.tar.bz2 84088 SHA256 8f2c0307ffbc103a70a2566ec56bfc4766714118c4d408b18486b950dc2a209e SHA512 edb606d1b88cedcb725a1dca2c82f4a81ebff5a1b8786a4127505e021b1fc8cc351363d05963a68c7d555f895b3b762fbd34dfc3f26640759619daecce1097df WHIRLPOOL a49ce993e228a8c3c9dfdeb5f0a1e148aecef71cf736d069ef0c3446b443e2f2b28d072511e8b7d4c8cc7fec54f6c061aca4edf849670348a9f15af17e30e3a0 +EBUILD wxchtdecoder-1.5a-r1.ebuild 634 SHA256 1773ca3862931831407009ef8dcd8f467303521eea88b4ea11b2ee3533fe74c9 SHA512 ab411ee7a204a94866fabc12e92e23620566a50784d77cc3967346a0526ed35bd5bd9744aea37f42d10d3c5587a715d1063d95b72fb2b68b3b53f1835b009129 WHIRLPOOL 59527f0beb9f56d58faad6d89985cf32876a909d8c6eeab4aa223b72c2a473d64597e7e1a13dcf6142e77d04a891b96ba32c3a3862813be463de38f8a65ce622 +MISC ChangeLog 3292 SHA256 693fce61a71ecb3dc7832fac453678288b66136b6a580e9b4c3c1bd8fb69b3d5 SHA512 4b13a9d4627d6d6d59c6d1ea6a3b8d693942fe3ff68eb3920e3a1e2df04671e1867bf8e780814f42308633b668bf302a5853bb087d4b6fce9f06ab515d321e98 WHIRLPOOL e82efae08dfacb0cba0296502f690c67e33e5adde21c68e3581532b28052f41e516e8330813df5eb519c615964f2d1e4ab7454e1ee4682df62e62124e00c778f +MISC ChangeLog-2015 1312 SHA256 16084c8020ac11c3219dc051dd444583ebfcc7340a718ac0e701f1ff56c3c012 SHA512 b31f991fa9094c2aa5c0fcfe3ccccd7c021a68424a778b310539793985954e10525207611943b7293fef88a422618eceb6292b8c1dea37c0fe0da4ddd518b751 WHIRLPOOL 52cb6a99171076484ca6cb98bbc31b90066424b10d216b17806b211a9ffb12b09f6309fa0abf21e9590fa8eb9348c75a8c71f0d44142a456aa08124abc927dfd +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch new file mode 100644 index 000000000000..1eb61febe1bb --- /dev/null +++ b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch @@ -0,0 +1,37 @@ +--- wxchtdecoder-1.5a.orig/source/chtdecoder.cc ++++ wxchtdecoder-1.5a/source/chtdecoder.cc +@@ -64,26 +64,26 @@ + const wxSize *CHTDecoder::APP_SIZE = new wxSize(640, 480); + + namespace { +- const wxCmdLineEntryDesc CMDLINE_DESC[] = { ++ wxCmdLineEntryDesc CMDLINE_DESC[] = { + { +- wxCMD_LINE_SWITCH, wxT("h"), wxT("help"), +- wxT("display usage information"), wxCMD_LINE_VAL_STRING, ++ wxCMD_LINE_SWITCH, "h", "help", ++ "display usage information", wxCMD_LINE_VAL_STRING, + wxCMD_LINE_OPTION_HELP + }, + + { +- wxCMD_LINE_SWITCH, wxT("v"), wxT("version"), +- wxT("display version information"), wxCMD_LINE_VAL_STRING, ++ wxCMD_LINE_SWITCH, "v", "version", ++ "display version information", wxCMD_LINE_VAL_STRING, + wxCMD_LINE_OPTION_HELP + }, + + { +- wxCMD_LINE_SWITCH, wxT("f"), wxT("force-open"), +- wxT("force opening of possibly invalid .CHT files") ++ wxCMD_LINE_SWITCH, "f", "force-open", ++ "force opening of possibly invalid .CHT files" + }, + + { +- wxCMD_LINE_PARAM, 0, 0, wxT(".CHT file(s)"), ++ wxCMD_LINE_PARAM, 0, 0, ".CHT file(s)", + wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE + }, + diff --git a/games-util/wxchtdecoder/metadata.xml b/games-util/wxchtdecoder/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/wxchtdecoder/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild new file mode 100644 index 000000000000..adaa68ec3e1f --- /dev/null +++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +WX_GTK_VER="3.0" +inherit eutils wxwidgets + +DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text" +HOMEPAGE="http://games.technoplaza.net/chtdecoder/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-wxgtk.patch +} + +src_configure() { + econf --with-wx-config=${WX_CONFIG} +} + +src_install() { + dobin source/wxchtdecoder + dodoc docs/wxchtdecoder.txt +} diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest new file mode 100644 index 000000000000..eeaeb90e1d07 --- /dev/null +++ b/games-util/xboxdrv/Manifest @@ -0,0 +1,13 @@ +AUX github-144.patch 491 SHA256 1a4e332f0847b4e25cfbfa64dfc0e11ebdd19245e66c239894dc71f36b66164c SHA512 058eb9515a74742d6aef1de3acc76b8731947fe4a3aa1179243d0b14cab5f978aef98d9b140371dd03a5165f96e167b1dc7297378545f266e887ea0b3188c79e WHIRLPOOL 16e1123ab42df8da898e426bc5adc7944cfbf2ebd49d5ea5e5c14a6cc0a6848aaeeb38903691a3e8a2a8d3d937e86d0db17aa3180589bc8634a68aba787aac92 +AUX org.seul.Xboxdrv.conf 247 SHA256 be9338d20d388e7ba882eac8ef4ee93e5328b12c071263c623a2f3795e00bdb6 SHA512 1416e80d326481e224ce3381a8feeacf304107f945d787183c74118aae955e191cc89269e8de44d6ce4efc2502def6957b690e9bad70072fcf0bbd47c8ab12cc WHIRLPOOL 4150838bb20ae2c6a11546dc95368666a28d8ac10d990cd6106cf4cfd3c70e89f1aa552064a3a00591917ca4e37452e45c26bb9fd6eac26bef334a8bb0655ddf +AUX xboxdrv-0.8.8-fix-c++14.patch 337 SHA256 ef66b7afa308ce36e11ec90765b871bec4c753cdfe222d15ab065ed24a7391eb SHA512 97b504a0acf7fd52ef0f4accacd89e9211136809c7559bd8958d2b235d732df2659fb5b794512e2ff3aaf33f22d97e2f4b42187eab9406a36e7b6cb9fd651832 WHIRLPOOL e29d1237c96148c606670c557d6b9c04edd5ba73b6cd53e16d4f29cbf40f5a19f623d5b469a4f427f41089553f877016a49103891b4e4fb3ec69ea54c02eea49 +AUX xboxdrv-0.8.8-scons.patch 584 SHA256 1d3f6c6803576c4bfbba5dbb31c9cd40e21780b057aff2d4dc4ab6285f5d391f SHA512 25b7b1e57f7ad9b48ad566c81b97b9354a353535564462e8c4b550190c920718165044508d28b3d5fee6155bb41752afbd8038fab59239c58e1aee82d62c5910 WHIRLPOOL 3f87b720813425589e08872732a2ede47cc773f32b4a1eb908281fa37308066ecbc97e0092c40788e14794682840370916056525b1cb98802c4c5166203613c8 +AUX xboxdrv.confd 211 SHA256 da8054d48e83544f9eea1b1bc2125c53c334986508df61e7a3feda68767035d2 SHA512 4c8a784a18979746a45653244e451fe1ba9e7cbb14301cc18f58e474e51f7569177364c5a96cbe0275db2b359424febd27c040ede5820148aadb80e90ebf8178 WHIRLPOOL 429dce51c646ed3fe96a4447585ceed53f0a7ae0b14f2b4ccdb947d3c7d5dc4d160e2a23aba182646a2c6802383296c0644abb327215751c7ab55c88576efda0 +AUX xboxdrv.initd 446 SHA256 134d62c7eb83fb66ce199593521672016168a30a51512a948d3298d4d4aaf0ff SHA512 e87d4b4b4313cb4ae983aef4ab7fa799f6b466e0f504eb15905b82f5b8bca2f0ff6f3d9a7d9963c048b6189e2a4c4b862a3f39d4201c2f5f02234362ad7b3af1 WHIRLPOOL 1d272d3e270bace0b857e378eec1d6ba7a0cd153d8c91f40e500d29da0fea19f2ae03cb7ca166dae113906623523a7c12aa411da8e24c1cb61563341cfa88354 +AUX xboxdrv.service 371 SHA256 8f0f7d536d7f2c452a3d64f94caf1ef97f6daba8e57005f556bb9e278beaa0a8 SHA512 80e7657edae9c771740628ef5f9752b79d50288ead33afe97e71ffc6e7d7c24343eeb213668cdc823b28742976e2e56f4defdcd823716897f3262be1fc7832e9 WHIRLPOOL c26e38a756b8f3f3ec690017a968ae5f0262d976c85e81dcb6df2ab2de92dc6201b8935d61f62fd606c60aa2f1a74eaa49e853258f0c0235492c3ac2001dc55e +AUX xboxdrv.udev-rules 225 SHA256 7a55625ff3fd9fae1b9bde594898d411c3d8649e605890c0e5c9aa3246fca9d7 SHA512 eb9e535bb18077e4c61db8fa5020a779b856a6df29eb4daa72a2ab9675720f809a981b0e4706fbbc6bf5a368cc162c7151cd6ae10399d091f10d2f75b1c48a3e WHIRLPOOL f6fb8b02f985222d1eaf4d7a3d643f3ab4146a167ebeb99d5fd3f44c4a7eb3cc2af60876319b84828e90dd342bddacf41825157e851d7fc8ebd68b5e413982ee +DIST xboxdrv-linux-0.8.8.tar.bz2 267919 SHA256 f4fb8c09c0ce3841798f129ae4c2caf3f6db9786d78ad941994e425e3ffc168a SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 WHIRLPOOL a27c0c68171cb08c6edc12aeafb84ae3a2edb14b8d4a87ad607f722581a58955d11808acb8c0b7169581850f52dd76be2c100de5e284a1521d10f0ae108a867d +EBUILD xboxdrv-0.8.8.ebuild 1401 SHA256 19f7123b279a6240678d05f6f8f44a7865b88e3457f5d6f31cc978b94de0b3a1 SHA512 51298e029b45e5194e3ac07ad7f964edb2901dcd2031249f43d33db8c2f6a4ebba46cfc961d57cf022a38b5cfc6cf45e019db5e4f3fe4d04996da8410dddfea4 WHIRLPOOL e2ce14f962560e7c60cac1be9a83eb8229e7d30a21f38a53b3c3c66813c08b5cff5939e223637a5d0f85abf6542a4568260269022a729b92a613261d1a7a1798 +MISC ChangeLog 3655 SHA256 413210964ebcbfdc733ad73031a6a37b605007d64956e3d47e57cb10ec8147f1 SHA512 3af0fa29759914d8466deff2abcafa17c39b7305e529e9eee244915b7bc212fc9a4d8cff3475ab2bea90e5f9875a574b3eb61c5e1c06d834f070db74918cd539 WHIRLPOOL cc7f2cafb6ebdb8143c1f50b31516b47def5fc31abeb26382f510bc53f0880fe2dc5571c2ad22efcd1b8152e1603b49f6d2d5f80cc8b30de4c48f17766ad4b3f +MISC ChangeLog-2015 5140 SHA256 ae0a5c2b8b6c2fd0e0cb815b8e81d8d3e60c80ade6e2de0834fbc68a917f3bd9 SHA512 33d6486227c59f06663c559bb47fa22a14dff618905ad40dcfa2cef351d4e2e1d978a1670c5387caa2b965cde826210f8bdfaedee97fbf009e56ffe054a525fb WHIRLPOOL 207755bbfee1b147869f16a0149dd40897f94fcd72e26ccf3e5e767aaa91ca57b14acee09c787dcc807e814d4e4e30c4e147e38a8b11869fe68d3e243462503e +MISC metadata.xml 252 SHA256 0dd0e558bb7ccc4f24cb9c9c43790c108e559f3462861b2ff6eb267a345beaab SHA512 90798aff93ec7e3881b882e7b10bb1680e8cb7d82b0ef4280e562ab0c9e8a2daba8afe57333dc64697322267a4b651c00ee9b4fdeb56278ff70c073da7b91638 WHIRLPOOL c6c72f145f4ccc4863ad4c1a236eac601fb00f0e9550568f98d5e6f5eeb16f361b4c18eac8d80a1534e398fac595a6819a86297164be0818d04de6d643f01d7c diff --git a/games-util/xboxdrv/files/github-144.patch b/games-util/xboxdrv/files/github-144.patch new file mode 100644 index 000000000000..5782e1a8cd52 --- /dev/null +++ b/games-util/xboxdrv/files/github-144.patch @@ -0,0 +1,15 @@ +diff -Naur xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp xboxdrv-linux-0.8.5/src/usb_gsource.cpp +--- xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp 2013-04-07 18:27:49.000000000 +0100 ++++ xboxdrv-linux-0.8.5/src/usb_gsource.cpp 2016-07-02 12:35:41.692355904 +0100 +@@ -174,7 +174,10 @@ + gboolean + USBGSource::on_source() + { +- libusb_handle_events(NULL); ++ struct timeval to; ++ to.tv_sec = 0; ++ to.tv_usec = 0; ++ libusb_handle_events_timeout_completed(NULL, &to, NULL); + return TRUE; + } + diff --git a/games-util/xboxdrv/files/org.seul.Xboxdrv.conf b/games-util/xboxdrv/files/org.seul.Xboxdrv.conf new file mode 100644 index 000000000000..fc685d6e8e83 --- /dev/null +++ b/games-util/xboxdrv/files/org.seul.Xboxdrv.conf @@ -0,0 +1,7 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy context="default"> + <allow own="org.seul.Xboxdrv"/> + </policy> +</busconfig> diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch new file mode 100644 index 000000000000..80a8d8f550e1 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch @@ -0,0 +1,16 @@ +Cast boost::shared_ptr explicitly for C++14. +See also: https://bugs.gentoo.org/show_bug.cgi?id=594674 + +--- a/src/controller_slot.cpp ++++ b/src/controller_slot.cpp +@@ -67,9 +67,9 @@ ControllerSlot::disconnect() + } + + bool + ControllerSlot::is_connected() const + { +- return m_thread; ++ return static_cast<bool>(m_thread); + } + + /* EOF */ diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch new file mode 100644 index 000000000000..d6df8d99e32e --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch @@ -0,0 +1,13 @@ +https://dev.gentoo.org/~vapier/scons-blows.txt + +diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct +--- xboxdrv-linux-0.8.8.orig/SConstruct 2015-11-09 10:19:35.000000000 +0000 ++++ xboxdrv-linux-0.8.8/SConstruct 2016-07-02 16:13:52.560961836 +0100 +@@ -84,6 +84,7 @@ + opts.Add('CXXFLAGS', 'C++ Compiler flags') + opts.Add('LINKFLAGS', 'Linker Compiler flags') + opts.Add('AR', 'Library archiver') ++opts.Add('RANLIB', 'Archive indexer') + opts.Add('CC', 'C Compiler') + opts.Add('CXX', 'C++ Compiler') + opts.Add('BUILD', 'Build type: release, custom, development') diff --git a/games-util/xboxdrv/files/xboxdrv.confd b/games-util/xboxdrv/files/xboxdrv.confd new file mode 100644 index 000000000000..99363c95dafb --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv.confd @@ -0,0 +1,5 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +XBOXDRV_OPTS="" +#XBOXDRV_OPTS="${XBOXDRV_OPTS} --next-controller --config /etc/xboxdrv/controller.ini" diff --git a/games-util/xboxdrv/files/xboxdrv.initd b/games-util/xboxdrv/files/xboxdrv.initd new file mode 100644 index 000000000000..8602c7e12531 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +PIDFILE="/var/run/${SVCNAME}.pid" + +start() { + ebegin "Starting xboxdrv" + start-stop-daemon --start --pidfile "${PIDFILE}" --exec /usr/bin/xboxdrv -- \ + --daemon --detach --pid-file "${PIDFILE}" ${XBOXDRV_OPTS} + eend $? +} + +stop() { + ebegin "Stopping xboxdrv" + start-stop-daemon --stop --pidfile "${PIDFILE}" + eend $? +} diff --git a/games-util/xboxdrv/files/xboxdrv.service b/games-util/xboxdrv/files/xboxdrv.service new file mode 100644 index 000000000000..b0d372696e0a --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv.service @@ -0,0 +1,14 @@ +[Unit] +Description=Userspace Xbox 360 Controller driver +BindsTo=sys-subsystem-usb-xbox-controller0.device +After=sys-subsystem-usb-xbox-controller0.device + +[Service] +BusName=org.seul.Xboxdrv +ExecStart=/usr/bin/xboxdrv --silent --daemon +KillSignal=SIGINT +# xboxdrv can not stop gracefully if controller gets unplugged +TimeoutStopSec=2 + +[Install] +WantedBy=multi-user.target diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules new file mode 100644 index 000000000000..c571b2b5ab02 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv.udev-rules @@ -0,0 +1,5 @@ +SUBSYSTEM=="usb", ACTION=="add",\ + ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\ + TAG+="systemd",\ + ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\ + ENV{SYSTEMD_WANTS}+="xboxdrv.service" diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml new file mode 100644 index 000000000000..3c186688e265 --- /dev/null +++ b/games-util/xboxdrv/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild new file mode 100644 index 000000000000..0e0a20838083 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info scons-utils toolchain-funcs systemd udev + +MY_P=${PN}-linux-${PV} +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/" +SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-libs/boost:= + dev-libs/dbus-glib:= + virtual/libudev:= + sys-apps/dbus:= + dev-libs/glib:2= + virtual/libusb:1= + x11-libs/libX11:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-scons.patch + "${FILESDIR}"/github-144.patch + "${FILESDIR}"/${P}-fix-c++14.patch +) + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d/ + doins "${FILESDIR}/org.seul.Xboxdrv.conf" + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +} diff --git a/games-util/xboxgw/Manifest b/games-util/xboxgw/Manifest new file mode 100644 index 000000000000..fdb350993eee --- /dev/null +++ b/games-util/xboxgw/Manifest @@ -0,0 +1,6 @@ +DIST hmlibs-1.07-2.i386.tgz 120364 SHA256 945fb8b4e8707db489d4c50c0577ec2e4eab9bbca91175035ba2f6b4583b2abc SHA512 2624c44bee7985586288f3c3e2c27e30fb23735a555635ec5a2813a40a54eb7ae1ec0e6f691d883832ec2790ad88a7f03e15ebbaea464db20e2107635463c96c WHIRLPOOL 43064a41d5d25cd860153a0b3ca1423180d90f0390d4ef3303940b198b8d1513c177f46df7e3de78be5941e21f86848980c0bcc111b455877c809683ce3bf1dc +DIST xboxgw-1.08-2.tgz 91488 SHA256 17a3ace82d36e6049762cf6a455595cc5e3b45ee3bc7780a96c4c14d84c81335 SHA512 dd4b97fd535e84b4cae34135ab8220399e410a0ca3c73e3fff244ba6ec7f6944f40a7e33c74f3872496cae03fb87dc90e11b7fd4b788ee061d32f86ad36b0617 WHIRLPOOL 1383dfe0229517bf8cf2302a4c0c4d1dc086e523c8214c78f5d211dbb527bc1db0288aa35978d9415773ce0cabdf14e39dc73c044265f7bf445ac9342108a4d1 +EBUILD xboxgw-1.082.ebuild 970 SHA256 aa3f62f81ffef8a32e5f101dc3ae9791ee4cea5028874752509d10954f3b5ffd SHA512 18db44b09dafe44810e60f0025ef17185da62772a8f3a507be44d0c3629c8729722c0e81c9ebf44b80f1d54f0f97278d13a70926971f06bcf5dbc696d8a5eaf7 WHIRLPOOL 58b44fc80b02b83fbe0ddf25b8c07163648dcf7cd3a7c0ef3451780be92e597b259c547c9c61826bc49083eff72b33b9bbb0113af30010ac67696ef00f6774c9 +MISC ChangeLog 2426 SHA256 6bf3f958a88cd9fa11424a79bc2657c30475c5ab6ad6a54610f5ab3b9c7664a8 SHA512 ea38656c487b35d43371b56352f7190e53837cbc1dd629e77c974bd0e384184f755da1209a96c8793e97cc67c09c802a0a3c12f2fe6968a0c3422f4245be1714 WHIRLPOOL 82a58f15f6b4b7ea1c5821a0ad1ba4d2032d1c4bc554c9a4024972a5466a0b5967f4b04bb8fecfd323760613ea9474b246224c0683a54698c93063a5ff698106 +MISC ChangeLog-2015 841 SHA256 29ed9d7efc9a4096b9d3d71cfa1b742945772a709f47c6149a3c366c819bed66 SHA512 70c8d78b701fd10d45ecdbb262a506d9994bace225e1dc8dc30ee171b1b8a19b5f7b36f77cc11a9ed64936639d081be085763d916b729d8c2edeb1abbbbfad1c WHIRLPOOL 819b86eb6586940ddcba759666da71d953ea4fb745909896efac03a1bc6ac02c9861c7c319400fde452d1e08bdd54777df8a06e528508ff1fba3fae7d411efdc +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/xboxgw/metadata.xml b/games-util/xboxgw/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/xboxgw/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-util/xboxgw/xboxgw-1.082.ebuild b/games-util/xboxgw/xboxgw-1.082.ebuild new file mode 100644 index 000000000000..5443a5c84110 --- /dev/null +++ b/games-util/xboxgw/xboxgw-1.082.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +XBOXGW_P="${PN}-1.08-2" +HMLIBS_P="hmlibs-1.07-2" + +DESCRIPTION="Tunnels XBox system link games over the net" +HOMEPAGE="http://www.xboxgw.com/" +SRC_URI="http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${XBOXGW_P}.tgz + http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${HMLIBS_P}.i386.tgz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +QA_PREBUILT="opt/${PN}/lib/libhmdb.so + opt/${PN}/lib/libhmsched.so + opt/${PN}/lib/libhmcli.so + opt/${PN}/lib/libhmsdb.so + opt/${PN}/bin/hmdbdump + opt/${PN}/bin/xboxgw + opt/${PN}/bin/xbifsetup" + +S=${WORKDIR} + +src_install() { + into /opt/${PN} + + cd "${WORKDIR}/${HMLIBS_P}" + dolib.so *.so + dobin hmdbdump + insinto /usr/include/hmlibs + doins *.h + + cd "${WORKDIR}/${XBOXGW_P}" + dobin xboxgw xbifsetup + dodoc *.txt + + if use amd64 ; then + mv "${D}"/opt/${PN}/lib64 "${D}"/opt/${PN}/lib || die + fi +} diff --git a/games-util/xgame-gtk2/Manifest b/games-util/xgame-gtk2/Manifest new file mode 100644 index 000000000000..93a222abb522 --- /dev/null +++ b/games-util/xgame-gtk2/Manifest @@ -0,0 +1,6 @@ +DIST xgame-gtk2-2.0.2.tar.gz 6055 SHA256 b8178d71fda27088d84d7a03711d370611792655ad5f1ffd432527ff47ca204f SHA512 708a831f78866356e6fb5d2aa0926562eaf0a247e88b7971505f41aaa71ad7d30d5f4d2fefc57030fe1e27138a58799e7396da2026a01bd130febd8e5170c25b WHIRLPOOL 6b73f5e88797d9fa2b07a3c29a8d3e0670da9edd7c158db40d910ceca245f0188c6516194fb79553c510d580c4dc0b5c307731a17c6342ba0507d5d5ad1760e8 +EBUILD xgame-gtk2-2.0.2-r1.ebuild 405 SHA256 86f3c298258e3dac113e6690ed2cd6d36512f59d67df2a60e5c822e22451a253 SHA512 41c271861b7d7f5e91c287d4e7dc5508ea789b4c92c80ee4b1a993a999bbef9dc35ca39159df4569b3f7a091d307eba8ddfb7bda690298d38183a24a6fd934e3 WHIRLPOOL c3eeec97f1af3d52fd71601bf921f4e879c41fffe2a159d9890299e319ad111f2f48646e31c86d4f41d608e1455eed52f5a00e1472baff8dbb2856155766e716 +EBUILD xgame-gtk2-2.0.2.ebuild 443 SHA256 efdb9bc67588c88844127b0f2f1c0ffa71b4c00535c022c65e3c7249b7221544 SHA512 e7fb62bfc75f13675aea6527b8714bbc274450de70304e221c33ff6bca9c0fd818b05e386a4b0d4877bed19d34e77107a9f3e52db2d29984eaa326efb72b957b WHIRLPOOL 1f85f76a4f7a9b408963e1278f8bdc6ba54f4a37930393b9badd42a9b2f374dc5e0902df8b366c6fc5ad885907b5a5fabd2ad2c6b1c59e0eb22eb5b7277e60a3 +MISC ChangeLog 2699 SHA256 7694ebb6333aa8b8a19db7c12dc2d4684e49d60e7c6638ad8b6896fbecc29421 SHA512 8e2fa39a895cd8f6e0044d9b0fdb4f3b4b353b514798e359266dce319ed292a68a760a5b96e98c58107683642b24b40f57d7a0cca1ad7eafa4651fc301b02556 WHIRLPOOL 22c3ac677a19e809359fbef939bc6e0f25f788e6db6f1bf6cc66550fabf8da7ba8158ce2c7134e420bd9c461a7bf19114be0f1fc10cd9f4b8e492d73a6ed84ad +MISC ChangeLog-2015 900 SHA256 8fe8a0969303dca81d096ef2f7e35025869e968558ca2b045fec791f093c13e0 SHA512 da56aefda5c4ba0c8bf4361f7122219c067cdf71232aec18085311b3e242c73590976e43d3475daf7eea5518f738b3a2dcfb964d4761214d623ff2bae98c170d WHIRLPOOL 6079b7c51f557a1f18eeec97aeb6711ca32122ed7ad0a469f91aed2661a6b49a886dcb6b59c5e430942e92b03b99161c41a272d3eb0f9848ddb7f608683e4bf0 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-util/xgame-gtk2/metadata.xml b/games-util/xgame-gtk2/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-util/xgame-gtk2/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/xgame-gtk2/xgame-gtk2-2.0.2-r1.ebuild b/games-util/xgame-gtk2/xgame-gtk2-2.0.2-r1.ebuild new file mode 100644 index 000000000000..f080ea4c8fab --- /dev/null +++ b/games-util/xgame-gtk2/xgame-gtk2-2.0.2-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Run games in a separate X session" +HOMEPAGE="http://xgame.tlhiv.com/" +SRC_URI="http://downloads.tlhiv.com/xgame/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/perl + >=dev-perl/Gtk2-1.040" + +src_install() { + default + dobin xgame-gtk2 +} diff --git a/games-util/xgame-gtk2/xgame-gtk2-2.0.2.ebuild b/games-util/xgame-gtk2/xgame-gtk2-2.0.2.ebuild new file mode 100644 index 000000000000..9cea8b5490d2 --- /dev/null +++ b/games-util/xgame-gtk2/xgame-gtk2-2.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="Run games in a separate X session" +HOMEPAGE="http://xgame.tlhiv.com/" +SRC_URI="http://downloads.tlhiv.com/xgame/${PF}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-lang/perl + >=dev-perl/Gtk2-1.040" + +src_install() { + dogamesbin xgame-gtk2 + dodoc README + prepgamesdirs +} diff --git a/games-util/xgame/Manifest b/games-util/xgame/Manifest new file mode 100644 index 000000000000..178b8764c004 --- /dev/null +++ b/games-util/xgame/Manifest @@ -0,0 +1,6 @@ +DIST xgame-1.7.1.tar.gz 4657 SHA256 d02024a3934bcce53d07ffb29d62c02156783af50da2e8336eea2f4748dd7f49 SHA512 1efe88dcac3ce6290220f60d664b3afa0e76901b9708502d954a3edca2ee73b3686af7639213067b2164990313db7eee66a404b9184440891a9f44a294008738 WHIRLPOOL af60bf8657c65be806e9be575d25ba5abc850ba5f157769741103a44fe05f1bbc1c9d33a85d8da7b5d36aaf9e7fd368ebab66fe960bf276c1d76074ec9e0a230 +EBUILD xgame-1.7.1-r1.ebuild 385 SHA256 d91abe6e8c0951ed6daade10557b69e8cb0df1557f88e82af7890280cd2f6d15 SHA512 dba77a6e47e00bec4d9d34636318e232538b593a72ce0dae07cab898694b33f265b5eac6c7188af4e537dd87008aa69c0a478ae835d6ebfa5ca7c5fddb233d4a WHIRLPOOL 8f9c86c48b960f271ed70dc154c3db1579b21418c45c099b9568f30fe48baae97950a4dc01632777459fa5747a6d942ebd4f4799a3374cf34b5d298235f48e76 +EBUILD xgame-1.7.1.ebuild 422 SHA256 0fda51695d33001ca045bdb1c5c83bba710404e7a33f0006ebba00f598012e8d SHA512 7b2b73fdb8d4a14bc48204a8f92e01eac6af717b171426a07c30fdb7f860a0c14a6d36f7acbc83d9e5ce50196e7ee03dd8b53538a047083786cb57682da82b3f WHIRLPOOL e07395022eb0904e0df3c5d305fd7f6ebf6c6f5f1f86982ee949332906c4696c077da868676c214d4fa34d7d7ce759d87849cc4f7fbafbeba96303c4a759fa8c +MISC ChangeLog 2647 SHA256 148a5fa0dfde1d2c274ac0abf094df992b1e141eff394a55ecbb8bdaf9e765f5 SHA512 a93c91a46f75061e264372c6a0fe924933db3a5d8f40d42d8b9dae4b5423a2b601f38caa956e6ac36f44e1e8882b51f056576ea1bb7f610bdcd366c918fdb259 WHIRLPOOL ba580b0af1bc53b6cc221a62ea7fea75993aa5b7e264d3da98764e646356f8b544afa9a8e5ca50ea97ae06fa20cba24f7cf3bdb9719b10dcf51447c30188e968 +MISC ChangeLog-2015 1156 SHA256 7795f6356aae4a11b3c6102bb510b2eb829f7efd9a27dbfaf68672c01b3baa18 SHA512 ad270eed84368e89408e4540e4f26a2f31ef7489de335a0fc89227b93ec56d818a2c59b1d2bc0063bd8966f6c0d7099a83e118e4edfb392c5f456d9104a2f517 WHIRLPOOL 48900bddd27ad57f873166220910b20d244f2970d1c693006b3de9006562817cafac7e07511c90566529ad9270701e27c3899b70cd8778842ec05c219678e5c3 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-util/xgame/metadata.xml b/games-util/xgame/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-util/xgame/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-util/xgame/xgame-1.7.1-r1.ebuild b/games-util/xgame/xgame-1.7.1-r1.ebuild new file mode 100644 index 000000000000..22754c67d800 --- /dev/null +++ b/games-util/xgame/xgame-1.7.1-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Run games in a separate X session" +HOMEPAGE="http://xgame.tlhiv.com/" +SRC_URI="http://downloads.tlhiv.com/xgame/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND= +RDEPEND="dev-lang/perl" + +src_install() { + default + dobin xgame +} diff --git a/games-util/xgame/xgame-1.7.1.ebuild b/games-util/xgame/xgame-1.7.1.ebuild new file mode 100644 index 000000000000..af4e243fff87 --- /dev/null +++ b/games-util/xgame/xgame-1.7.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="Run games in a separate X session" +HOMEPAGE="http://xgame.tlhiv.com/" +SRC_URI="http://downloads.tlhiv.com/xgame/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND= +RDEPEND="dev-lang/perl" + +src_install() { + dogamesbin xgame + dodoc README + prepgamesdirs +} diff --git a/games-util/xgamer/Manifest b/games-util/xgamer/Manifest new file mode 100644 index 000000000000..5a883cd1abd7 --- /dev/null +++ b/games-util/xgamer/Manifest @@ -0,0 +1,7 @@ +AUX xgamer-0.6.2-desktopfile.patch 236 SHA256 ab587975898f6b2667601583749e8ab40d103a35cc938987f88124f344616aef SHA512 d2c378c955358067883ebe845be3f183ec2c0f52a712e0548dc80a8f0d12b38baea0ef57674fd7897c4102cbc1f24d48034dc7fd3fe814a1271a2961bdcd9210 WHIRLPOOL 2d638fcbe123fc01252fe6e3457205e907674633ef0f95cb6cca09ae1bb8e328674d1461b4abad6abbcb2259a548b2a06a2a3ffcaebf050fb0c62fc9acb42269 +AUX xgamer-0.6.2-perl526.patch 284 SHA256 17736b5957e87c5fc2f2cbaa816543c2343241679bececf28587f07c9c2966ee SHA512 54b3662ef1fc054ec7316529617320cabd400f1d7357d986d577c2049e9f27e543affd797eecb685761a3f982d17deabfb126261c5704bd79325e0e395578ca3 WHIRLPOOL 71c5e96566e63949483758df91e4cba91e04324ead3199512dfff703b8e9dd01009de462e2704cb595997b416eb7ece166d9f08ce0806b9f856f87587cf10cc4 +DIST xgamer-0.6.2.tar.gz 43222 SHA256 2fdf43166e2dc7806788fe0d3e3ab95581c0e6d1074dae1794960dbf8c494f08 SHA512 caffebe5d4f07f532366e3a5f6ff717251f254d012bb5c33c431538720a2fa301ab8b9cf277771659655cac6fbe2734534146c224ef881486f7dfc51ac992315 WHIRLPOOL 8d0d2a7d392d7f63a3a2a6465fecdedcf18abd1abfbbb14db040ba30177cd612aca152d281c6c23160bbd7434b15e00b0ebc40c0f13d8f9621775a0d3003dfd5 +EBUILD xgamer-0.6.2.ebuild 849 SHA256 17823c3286c3571341509b850837417328d606a0c30d32a2068d3087655668e7 SHA512 0c488d32dcc663d8bbd2d48fe29593ccc9773bd432cf27ed0be9a963e5b8005cfaab6207766c1a356d1eea17073a5b6e568d3e15d690d09947c1c11c006b3b39 WHIRLPOOL d94507ec98c41bd17fb0057bd53ec1c573341a83d541138d4a26c993d2f6dec6217c2db1e6bc32370b6a8372f2c3507db8da00d6a9160c54498c09c3b9f77697 +MISC ChangeLog 2781 SHA256 557f54b31120f536da7a55338df0c683b96782e4d1f54fd40c581c146a939b11 SHA512 0a5a17a739b0d5ffb70a06e9eafa294527fa669cec795ec916a7c3728d48f9a529654774732fc62c038d90da3bbdbb1ab82c64b0d5177d636b1a67cf843a8a1d WHIRLPOOL 1b87ff23fc545495ec61c53e7d94d0436df14a16f802c917a404f19a0744e33ebd49461a8c7d854a82819a1a3cc4b3c295f2dc11c2f77598859d84052a29f323 +MISC ChangeLog-2015 2414 SHA256 322074096fcebb5d225d097a538bffca2ce7402b86569a328908c2ed7f5a8226 SHA512 f8f3e7a1e4f54f2e83416c7e8036241bb9e44803cf688f9e22cb659afb79759c2062606d750a820a5b53b3f452188210b8b4a58985db4ab2e3418ee79819bee4 WHIRLPOOL 16fb7bae68979f259b7623b3bb26075d5ee6390e04142aa9355a30884d6edccf3011311d562ab2ed8a56b987c879319bb5508a9c228ee3b0b360f2ce3731174a +MISC metadata.xml 329 SHA256 dc24bf42566184c45660291e075660da795a31214b602d0edf27445670bfc5dd SHA512 89fdd2dc97da98821c9c0f17899c15d50cda0d0887309a3406d9eae0159cc775ee4b070e5721c941e497d18711d3894d52ab35494b20c7a3e87ef315fadd1ee5 WHIRLPOOL 4cdfb2e2daacf573fc81f46565ff7261d57fc1ba2c40f8caa20d8c4ffc4a9555a28082cd3f1b46c3d71e72a118275d43b699686f06e1c9609490604f4af5b5da diff --git a/games-util/xgamer/files/xgamer-0.6.2-desktopfile.patch b/games-util/xgamer/files/xgamer-0.6.2-desktopfile.patch new file mode 100644 index 000000000000..3639de18e5e1 --- /dev/null +++ b/games-util/xgamer/files/xgamer-0.6.2-desktopfile.patch @@ -0,0 +1,10 @@ +--- xgamer/share/applications/xgamer.desktop ++++ xgamer/share/applications/xgamer.desktop +@@ -5,6 +5,6 @@ + Icon=xgamer + StartupNotify=true + Terminal=false +-Categories=GTK;Game ++Categories=GTK;Game; + Name=XGamer + Comment=X Game Launcher diff --git a/games-util/xgamer/files/xgamer-0.6.2-perl526.patch b/games-util/xgamer/files/xgamer-0.6.2-perl526.patch new file mode 100644 index 000000000000..d59ba05263fb --- /dev/null +++ b/games-util/xgamer/files/xgamer-0.6.2-perl526.patch @@ -0,0 +1,13 @@ +diff -ruN xgamer.orig/Build.PL xgamer/Build.PL +--- xgamer.orig/Build.PL 2012-09-21 17:23:27.000000000 +0200 ++++ xgamer/Build.PL 2017-07-08 20:33:44.566199833 +0200 +@@ -2,7 +2,8 @@ + + use strict; + use warnings; +- ++ ++use lib q[.]; + use inc::MyBuilder; + use File::Spec::Functions; + diff --git a/games-util/xgamer/metadata.xml b/games-util/xgamer/metadata.xml new file mode 100644 index 000000000000..32950d8b9a44 --- /dev/null +++ b/games-util/xgamer/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="google-code">xgamer</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild b/games-util/xgamer/xgamer-0.6.2.ebuild new file mode 100644 index 000000000000..934e387ae00c --- /dev/null +++ b/games-util/xgamer/xgamer-0.6.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit perl-module + +DESCRIPTION="A launcher for starting games in a second X session" +HOMEPAGE="https://code.google.com/p/xgamer/" +SRC_URI="https://xgamer.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.10 + >=x11-libs/gtk+-2.18:2 + >=dev-perl/Gtk2-1.120 + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-File-Temp + dev-perl/File-BaseDir + dev-perl/XML-Twig + dev-perl/glib-perl + x11-misc/numlockx + media-gfx/feh" +DEPEND="${RDEPEND} + dev-perl/Module-Build" + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-desktopfile.patch + "${FILESDIR}"/${P}-perl526.patch +) + +pkg_postinst() { + elog "optional dependencies:" + elog " x11-wm/openbox (integrates well)" +} diff --git a/games-util/xqf/Manifest b/games-util/xqf/Manifest new file mode 100644 index 000000000000..bbc15780adcd --- /dev/null +++ b/games-util/xqf/Manifest @@ -0,0 +1,7 @@ +AUX xqf-1.0.6.2-underlink.patch 300 SHA256 a003a59b227e2d3c087e65217bdd028bc7dfecc5c0045dd68152a14f88b78d0f SHA512 e35c62bf83ccbaaf8ca775978acf33ed419c881158f607e44032a2329b88443512a65603d0797ede1be38edaa66de1318d7c8275f276cd5988d74ef7430b51de WHIRLPOOL cf47d74860e741fc4bd194d26c3d5a414be9548081483ec422a175d781894c3a6774089ae37cf290a23340262f3e27e7120210dd486fdb20c578af0c53412215 +AUX xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch 190 SHA256 b2db4c327f1667613ce7d0eb51ee021d305bc1bdcd108ffc5d1330e43c50e77a SHA512 11677294d042d8303b72085867855e1795a9995e29f4b5145e415434c8c6188fa20e19c95f02d804a2b3e481f1f827cad9fa865d77f4f1f0880a3a66d69460d8 WHIRLPOOL 7035cdb05a1dce983b5d9a9cbbe42620e7f8947b64949f9170e9631a14919c0c47c22d85e7085639a72baf4de2502ea541d55d84610746eb479275f5d8761f12 +DIST xqf-1.0.6.2.tar.gz 595096 SHA256 bcfb87c9a452993b13bd1019b0c61459a37cbc37b13b951b73f2a93b2b1c83ad SHA512 8706104dde0f93a89f9f69a4b8f40f5c4c8160a3bb7a99f7572448c0110a595503e430fdba741c50b22f7e92a08f1cf6abee06aaa23956e4e37b7bf894a66a9c WHIRLPOOL f4c8e7d0122359aeb615249995eb979502024b18b083a984ad04d85c9f9c00a849899a39440939556d17536201319ea36c318a5493c8f5bfd7b9e26d68c9a3d4 +EBUILD xqf-1.0.6.2.ebuild 937 SHA256 13523a372e9a3ae7086502c0500cb392ad869efd836bcfd82042bb929d33d9d4 SHA512 72608cd8afcf56e24a3c16703ecbaf10d28744da6f196cc9aaab0966b24c1e357209ee2704abba2e2ddfd5fd237bb64215fec2ce0b19a11ce476a967614259a7 WHIRLPOOL 3141bfdba2a93c816ec39c877fc1bc6936946a064da0a02249e287db62ab8a4cb878030ca0cd791d4f44e77a34fde468c2b111c5deebc450cf31b535f040bf5a +MISC ChangeLog 4567 SHA256 2ee6f921b582cae7fbb398fa609a4179355afb62d87db9d59e1a9c784c25c6d7 SHA512 1a4ce6806535c661f77df4ac624fbaadf9d80691ca173f293079b3b3b7d7a9f60437b43296e31588aea5addcbf603fcc1455532f283ed7550161ead8040f9690 WHIRLPOOL d73bf9fd428526934348390b0ee30f3a494e4fd4ebf64b8c19bca5192919bcac9fcba308df48db67ab192681ae450f56400a02fc4ecb9f9077cf6b010dc78eb3 +MISC ChangeLog-2015 5663 SHA256 4bd792f1dfe092d902648836c9c477084d240c67983c027f2ade14d70534360f SHA512 fcdfeec37a1e7182ce972443ecf3ca4f7897dca3f1c89e674bfcf138f903dd310633f863a06300a2fbacd8a55a965a129c3c1ac544e784e131ac347673bea631 WHIRLPOOL 4a347bd5bcdb675db34d8d0e9984741d4039902044e7e2a719f4bc947d19f7d4f7722c5747d33a0dabe4a3d4de84de68ce283c03c6003138aaa3b267d115852f +MISC metadata.xml 373 SHA256 f7ac8d1917b45ab7aa3ea4f9b13e4d51b76f6c67a9a2166f66adedbf9fc73667 SHA512 b904d8495fb9fd79c072f12570ef67cb28396ba215e0cbc70f184c64dcd1b1a7c028274bb7927acf8b7012ff55cb22564fa52252d6bc41e75e86d5562761539a WHIRLPOOL 7fb7905d09255a625e48d66abf2895fdb431af06be5984f05452278a1231bdc8629c8013a8b04600a380e64321f75f5e53f301f10d8d9619d2aa7920ff3b263e diff --git a/games-util/xqf/files/xqf-1.0.6.2-underlink.patch b/games-util/xqf/files/xqf-1.0.6.2-underlink.patch new file mode 100644 index 000000000000..fe93c7624675 --- /dev/null +++ b/games-util/xqf/files/xqf-1.0.6.2-underlink.patch @@ -0,0 +1,10 @@ +--- xqf-xqf-1.0.6.2/src/Makefile.am ++++ xqf-xqf-1.0.6.2/src/Makefile.am +@@ -41,6 +41,7 @@ + $(GEOIP_LIB) \ + $(PACKAGE_LIBS) \ + $(GDK_PIXBUF_LIBS) \ ++ -lX11 \ + -lz -ldl + + xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir) -Wl,--export-dynamic -Wl,--version-script=$(top_srcdir)/src/xqf.map diff --git a/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch b/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch new file mode 100644 index 000000000000..9bd433b3b27e --- /dev/null +++ b/games-util/xqf/files/xqf-1.0.6.2-zlib-1.2.5.1-compile-fix.patch @@ -0,0 +1,11 @@ +--- xqf-1.0.5/src/zip/ioapi.h ++++ xqf-1.0.5/src/zip/ioapi.h +@@ -6,6 +6,8 @@ + Copyright (C) 1998-2003 Gilles Vollant + */ + ++#define OF(x) x ++ + #ifndef _ZLIBIOAPI_H + #define _ZLIBIOAPI_H + diff --git a/games-util/xqf/metadata.xml b/games-util/xqf/metadata.xml new file mode 100644 index 000000000000..12c2d2df28fe --- /dev/null +++ b/games-util/xqf/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">xqf</remote-id> + <remote-id type="github">XQF/xqf</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-util/xqf/xqf-1.0.6.2.ebuild b/games-util/xqf/xqf-1.0.6.2.ebuild new file mode 100644 index 000000000000..53cac19c7ad0 --- /dev/null +++ b/games-util/xqf/xqf-1.0.6.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A server browser for many FPS games (frontend for qstat)" +HOMEPAGE="http://xqf.github.io/en/" +SRC_URI="https://github.com/XQF/xqf/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="bzip2 geoip nls" + +RDEPEND="x11-libs/gtk+:2 + >=games-util/qstat-2.11 + nls? ( virtual/libintl ) + geoip? ( dev-libs/geoip ) + bzip2? ( app-arch/bzip2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${P} + +# bug #288853 +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-zlib-1.2.5.1-compile-fix.patch + sed -i \ + -e '/Icon/s/.png//' \ + xqf.desktop.in || die + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable geoip) \ + $(use_enable bzip2) +} |