diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/cuyo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/cuyo')
-rw-r--r-- | games-puzzle/cuyo/Manifest | 8 | ||||
-rw-r--r-- | games-puzzle/cuyo/cuyo-2.1.1.ebuild | 51 | ||||
-rw-r--r-- | games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch | 11 | ||||
-rw-r--r-- | games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch | 45 | ||||
-rw-r--r-- | games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch | 30 | ||||
-rw-r--r-- | games-puzzle/cuyo/metadata.xml | 11 |
6 files changed, 156 insertions, 0 deletions
diff --git a/games-puzzle/cuyo/Manifest b/games-puzzle/cuyo/Manifest new file mode 100644 index 000000000000..d15c145a7cff --- /dev/null +++ b/games-puzzle/cuyo/Manifest @@ -0,0 +1,8 @@ +AUX cuyo-2.1.1-gcc44.patch 161 SHA256 3a21073002a39d615bf25cb6e3db942a8a20461c5cd7c2f7da1b511ed95fc53a SHA512 461bd27073288eb5327770d18ce5a10a38a4e6ceb3c6f5e39a50a47bc3f6f5c8a06f9ac13d80bfbbeae1a0f45dd62ee0fa084dd832eb2d1313096f3d8e5c3149 WHIRLPOOL 703e02ef5319ecffce0e0cb7286ab3662a6cb956cffdaab9d7894839d7d6c77b7cb8428de4dd74b5dc6a501693960e18eb1f6283b193f705ac9f7a99ebd5e681 +AUX cuyo-2.1.1-gcc6.patch 1024 SHA256 d82b5573c0f5a31fe7e3ed18a5272972ff99cec90e493a86aa5d3feb345af8cf SHA512 ae8733da8afceee4e54ac8cac5a11d20a1adce494d76cdfaa821ffeba64886d9b0c9680fdab013c67e641bac9c96ba3dc23d1ecb86d1b59ca3f354692d218d2c WHIRLPOOL ac51c83a9569edf63875c011a38c7d91c8e53590891119cf1e284028bf2cc5e637de10cbe3ffd886dd765f8920e72d895abe04c4dfab0b288cebe15544c45631 +AUX cuyo-2.1.1-gentoo.patch 851 SHA256 45d50bf95e8cdec4d18c91b359c3796f55c667acb4a7e32062721d1fbcd369d9 SHA512 c96c855c4650f50d6ed1c38d7105047f386c1828592389ce482cecefeb46bae224ee46f6f07dc63bbed67d81e4beadd5868962ad52dcca8fd9f99f3ea0899f8a WHIRLPOOL 9bdc53e27d453a62171dae2440614bca0068877e83c8ba6c852b4d546cae5871d25398be003193165ed9a16b278b37b7666fdc86146ff3a210f8cfa2c1d61bb1 +DIST cuyo-2.~-1.1.tar.gz 3005426 SHA256 7157aa70ae731c17e765fba11736866f2020826ad6187d8df6c55039d4481de6 SHA512 a29c6ffc7e63b74dd93e8aeeace78bdbc50398771922aaf06a43256c883f9eff23e10fa91e4964b716cd209551cef771cf00108fb7977ce13a463da542322787 WHIRLPOOL ef2817feecbe9c785e8d6438aca123247857c8f9845421a5aef89375b0f9c15a050d0e6f16791cab408f8e87a9640ef0cbc77c9cc89f03c5e788d3851b07af2d +EBUILD cuyo-2.1.1.ebuild 1020 SHA256 2cb82ef349f0fbe9f311cce488f50c57057b13b02bc7679b504dbdd66452f63c SHA512 7355f8a2d02fc623cf98ed6d9715d0d2cec8d0ec65cd4032025797a322bd47b4c5214d7dc60a8418724cff34d79cfefaf613e8e4ce9c9b299154d52246dee357 WHIRLPOOL 326eba4f308068704ac03950ea8410ea7bb3df29420bfd8aac0515e1c4f1cddd10dce6e2c0f2ddb7abbd24cf8375e4087e14f603ddaa9c4286cda26106f63b8a +MISC ChangeLog 2590 SHA256 21db33e2010da0f8a8bf7243f22ab755fe1d2c13777c9d50ec00a3ea2cc75097 SHA512 f0ae31c0d60d04489c57922a9e0bdbc403eefc6d65d03b898fc53077b8475db6be3abf1dd7650cfc250a4470f9fe6aad8b941ed7135756d599f3bc154e6455de WHIRLPOOL 40c55c2150ad40f2d32adc64865a27b86847bec0d5a25499d7ab19f7bd07dc5f2cc16e566f82a1e6f5747d5d7d358e5398fc833cfc307c2e5639eaa22dd832a4 +MISC ChangeLog-2015 4290 SHA256 99cd3692bc98f9e733b5ed98bb560934f39ac8bf62d43e33adfeb04172120512 SHA512 0ba86da5a8df6a3c76e8ff8308938d6bc51c5f9d5a484148e41532a06fd1987eb4700a0844d386cbcd7c532275de20cc110a84084409d81552d51b8315184abc WHIRLPOOL 7428314a4a47578d30ef2bd178d88823a3d7af8ad737093a1fc8dc0d0d818082fe6a6c8c45d1065ff9a045d8040d836ec5f76f2d2653b1efe58fd29a604a7b3a +MISC metadata.xml 324 SHA256 91faf30ccb6aa1bf17c8a7ea4e5a3da60ce16063decf75c4fe09ce1798414e3a SHA512 3392ab16d9e90d0dd6dba06994ba2096940075961de7e6fed43d70946e82916af7b40e95bd27e25d5eba9d9eb46afe61fe4200147385cc93211ab14c0e6b13ce WHIRLPOOL d2049847162d169be79625b96f16b0c5c194bb4b887c7978f0ff2db5ded8c06b1d3b75e3d313ae3e28ddc183c409325ff5e7632fa8be555eeda6a44db4c2a995 diff --git a/games-puzzle/cuyo/cuyo-2.1.1.ebuild b/games-puzzle/cuyo/cuyo-2.1.1.ebuild new file mode 100644 index 000000000000..8acab44bef37 --- /dev/null +++ b/games-puzzle/cuyo/cuyo-2.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils gnome2-utils versionator games + +MY_P=${PN}-$(get_version_component_range 1).~-$(get_version_component_range 2-3) +DESCRIPTION="highly addictive and remotely related to tetris" +HOMEPAGE="http://www.karimmi.de/cuyo/" +SRC_URI="https://savannah.nongnu.org/download/cuyo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+music" + +DEPEND="sys-libs/zlib + media-libs/libsdl[sound,video] + media-libs/sdl-mixer + music? ( media-libs/sdl-mixer[mod] ) + media-libs/sdl-image" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-gcc6.patch + eautoreconf +} + +src_install() { + default + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch new file mode 100644 index 000000000000..9ad50b067fb5 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch @@ -0,0 +1,11 @@ +--- cuyo-2.~-1.1.orig/src/stringzeug.h ++++ cuyo-2.~-1.1/src/stringzeug.h +@@ -20,7 +20,7 @@ + + #include <config.h> + #include <string> +- ++#include <stdio.h> + + + diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch new file mode 100644 index 000000000000..b1ba5b535de5 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch @@ -0,0 +1,45 @@ +--- a/src/pfaditerator.h ++++ b/src/pfaditerator.h +@@ -21,6 +21,11 @@ + #include "stringzeug.h" + + ++#if __cplusplus >= 201103L ++#define NOEXCEPT noexcept(false) ++#else ++#define NOEXCEPT ++#endif + + + /** Iteriert durch alle Pfade, an denen sich eine +@@ -43,7 +48,7 @@ + class PfadIterator { + public: + PfadIterator(Str dat, bool auch_gz = false, bool setzDefault = false); +- ~PfadIterator(); ++ ~PfadIterator() NOEXCEPT; + + /** N�chster Pfad */ + PfadIterator & operator++(); +--- a/src/pfaditerator.cpp ++++ b/src/pfaditerator.cpp +@@ -48,7 +48,7 @@ + -1 und f�hren dann gleich ein ++ aus. */ + ++(*this); + } +-PfadIterator::~PfadIterator() { ++PfadIterator::~PfadIterator() NOEXCEPT { + /** Soll der default-Pfad gesetzt werden? */ + if (mSetzDefault) { + +--- a/src/xpmladen.cpp ++++ b/src/xpmladen.cpp +@@ -314,7 +314,7 @@ + try { + + /* Datei laden. Dabei werden gDatAnfang und gDatEnde gesetzt. */ +- if (!ladeDatei(na)) return false; ++ if (!ladeDatei(na)) return NULL; + + + gDatBei = gDatAnfang; diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch new file mode 100644 index 000000000000..78bafe2ded47 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch @@ -0,0 +1,30 @@ +--- cuyo-2.~-1.1.orig/icons/Makefile.am ++++ cuyo-2.~-1.1/icons/Makefile.am +@@ -1,4 +1,4 @@ +-desktopdir = $(datadir)/applications ++desktopdir = /usr/share/applications + desktop_DATA = cuyo.desktop + + +@@ -25,7 +25,7 @@ + # Das vorige war falsch: die png sollen alle cuyo.png heissen + # und nicht cuyo-xxxx.png. Deshalb nachfolgend neue Version: + +-iconsdir = $(datadir)/icons/hicolor ++iconsdir = /usr/share/icons/hicolor + icons_DATA = cuyo-32x32.png cuyo-64x64.png + + install-iconsDATA: +--- cuyo-2.~-1.1.orig/icons/cuyo.desktop ++++ cuyo-2.~-1.1/icons/cuyo.desktop +@@ -3,9 +3,8 @@ + Icon=cuyo + Type=Application + Terminal=false +-MimeType=application/x-executable ++MimeType=application/x-executable; + Categories=Game;BlocksGame; +-Encoding=UTF-8 + Comment=A tetris like game with many levels + Comment[de]=Ein Tetris-artiges Spiel mit vielen Leveln + Exec=cuyo diff --git a/games-puzzle/cuyo/metadata.xml b/games-puzzle/cuyo/metadata.xml new file mode 100644 index 000000000000..1329ada5712f --- /dev/null +++ b/games-puzzle/cuyo/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="music">Enable playing of background music</flag> +</use> +</pkgmetadata> |