From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-server/cyphesis/Manifest | 8 +++ games-server/cyphesis/cyphesis-0.6.2-r1.ebuild | 62 ++++++++++++++++++++++ games-server/cyphesis/cyphesis-0.6.2.ebuild | 61 +++++++++++++++++++++ .../cyphesis/files/cyphesis-0.6.2-gentoo.patch | 32 +++++++++++ .../cyphesis/files/cyphesis-0.6.2-makefile.patch | 11 ++++ games-server/cyphesis/metadata.xml | 19 +++++++ 6 files changed, 193 insertions(+) create mode 100644 games-server/cyphesis/Manifest create mode 100644 games-server/cyphesis/cyphesis-0.6.2-r1.ebuild create mode 100644 games-server/cyphesis/cyphesis-0.6.2.ebuild create mode 100644 games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch create mode 100644 games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch create mode 100644 games-server/cyphesis/metadata.xml (limited to 'games-server/cyphesis') diff --git a/games-server/cyphesis/Manifest b/games-server/cyphesis/Manifest new file mode 100644 index 000000000000..6d5d15f2ee2e --- /dev/null +++ b/games-server/cyphesis/Manifest @@ -0,0 +1,8 @@ +AUX cyphesis-0.6.2-gentoo.patch 1099 SHA256 506d1e459150186f1efb4d3447a9e47263a21be34940f3b3aa93ee17996d22ea SHA512 9a4b30bb21b562a1242b519f95bd0b274de596d8263afa034037ea423c6d0ce5349029c718410bae0411525f2e8d72bff6f2c480f80c7df7bae7ba0d3b31c4fe WHIRLPOOL 7e2a2cfa9c7ba7df36f5ba10da0a8087bb4df72ebd77b68e19c0a175d111baea04f5e05694e6b0ee2b7fd96a684c85a313c8bf081c4148455a42f4cc0a00a682 +AUX cyphesis-0.6.2-makefile.patch 424 SHA256 f5919fb4c01831f3ad7b19a3d76050ab314585b9965c1ff12fb29046cf8e312e SHA512 adb1a92f80fc5d881ab1aefd34aa3124df68b93c64dd2878d4e03263f4e0c161e6abc14b4f56a709b1dedb56a0bb5c70129f180955e9ca34037961aa0b965be9 WHIRLPOOL b53b508b9e6f3cf3eb95f97e78fe35f805c4620cc4efe5bde8ace425b3b0ff8ec18b619e55cf64d3cc3bfebc488a420134b3d9f245846f9381d9266b656660c0 +DIST cyphesis-0.6.2.tar.bz2 932099 SHA256 251f297b299834ae67abe6196f646ef8f14bc5be3096d03c6ff677ff20acfcfd SHA512 07783a99a47f105cd492b033fb1ded1c5fef089d01fa50d90103dc62c6e94dc58394f082674d9261db5fe9779d4694579119769de50177bfc2ead055c5740b2f WHIRLPOOL 91f46ed623f5cc6ef8305287220584e1a6f142588de6c3362bb01eecd9a3916bcd68ac5b876b7ae3bba46d86cad414bce6ca9a9d5d6e26a5a75d0c1c51b0e102 +EBUILD cyphesis-0.6.2-r1.ebuild 1247 SHA256 223c5850e0749ecbff6d1b3728ffce94270922cd1f9f57dc0fe8ef7ed166aef0 SHA512 e20be935b9d7bb3df0c6c3a9fef9dee440840fe042801e97ce159e57cbe6e1ad476427340dabfbddb5051d6fcb998a8a5c381c3bd331284d693ad8107a945156 WHIRLPOOL be8fe2d084e1986b0a94b537f2cec4bd4ea95c49e16987a2d01d5a13ef87788328f2174f1c2cf30be34239607650f6aef3231f02a730d51413c2b5355c1bdca6 +EBUILD cyphesis-0.6.2.ebuild 1283 SHA256 a6a3463048f097bb8b069d84ebd111c7587ca43273d1a0d0302176fb6465e8fb SHA512 d55770ff5e5481f559fb01bb7b2da9cc2ec8dbbac4ff80e330025004bc8c258ebcb0d520f05fa8864296bafaf47008396ac749252e6826a8b799cebd769244e5 WHIRLPOOL 55d850b967e6acebf31c002a54da8559d53e091a5318d6b3ec873d4bbb90551c448d9b7c8d33d957add284afb7a010e1118fda024a706e2b04eca776895e4723 +MISC ChangeLog 2988 SHA256 6a8d78ac314ace435d2c740c938ccfc1827c8d4f8d6cc83784af3d3a389aec7f SHA512 4ea2fac082170acd17676f8060c8e116278cb41f8fcbf062f0154a938e50e0adea6d84b61b5cf85e215e2e1af65161c348f3d6320711ca175c14da1a9e8ce072 WHIRLPOOL 991727cb4a6f1fd02b71e9c2acfa64b785c904f3194a5fe767cedc07b31ee1003d3e4bedcb2ca4ef1e6738f4d21ce13bd2088ca3f0711c8fb5d5b10087b0f487 +MISC ChangeLog-2015 6960 SHA256 f4c68b5ce4bc32dd4f094cf2ff22634eff61dadf48e1ca53a24bb30995b943c9 SHA512 08c216d07acf2224848ac89db9315d0b6f8a08fc9adf19e1eaddd7aadfee78f301c7986c34f0f729152f2c260f7619535ba64a7eb7331e835cb8e83ee912c7a6 WHIRLPOOL 843811bd2ef7433a4f87eb5550dcbd4d87ebe171e7a97fb42c709ed042c4383a59fe073ad9dec312e599f04965b385f84055b8d26f5d5b30f35721aa1cf80a92 +MISC metadata.xml 834 SHA256 7a5ad3ef8240b5fcbd8bb145b85188caab2027bab1f3ecdf8767b0d1ccd042a0 SHA512 1bfac6a9205e2088ce20bf650f48ce92e37ba346c756fa30c5c3201edcc516ba4fcf38043c3b21ffce620ab1f9a1b51e266d2969f13ae63bd66bbec5d8d255e2 WHIRLPOOL 5c81ced0a788b0507709f3a1bdbad4b3652f51f62ac62a9e05fdaf56d11031a39be21e02c22cba0d2ddee3c0e5075c17162f35b8e1ad50555197f0cbdd72407f diff --git a/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild b/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild new file mode 100644 index 000000000000..89985a0bdf7a --- /dev/null +++ b/games-server/cyphesis/cyphesis-0.6.2-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +inherit toolchain-funcs autotools python-single-r1 eutils + +DESCRIPTION="WorldForge server running small games" +HOMEPAGE="http://worldforge.org/index.php/components/cyphesis/" +SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + dev-db/postgresql:= + >=dev-games/mercator-0.3.3 + >=dev-games/wfmath-1.0.1 + dev-libs/libgcrypt:0 + dev-libs/libsigc++:2 + sys-libs/ncurses:0 + sys-libs/readline:0 + >=media-libs/atlas-c++-0.6.3 + >=media-libs/skstream-0.3.9 + >=media-libs/varconf-0.6.4 + " +DEPEND="${RDEPEND} + >=dev-libs/boost-1.40 + dev-libs/libxml2 + virtual/pkgconfig" + +pkg_setup() { + python-single-r1_pkg_setup +} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-makefile.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf --localstatedir=/var +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" confbackupdir="/usr/share/doc/${PF}/conf" install + dodoc AUTHORS ChangeLog FIXME NEWS README THANKS TODO +} diff --git a/games-server/cyphesis/cyphesis-0.6.2.ebuild b/games-server/cyphesis/cyphesis-0.6.2.ebuild new file mode 100644 index 000000000000..b4f87c6790b8 --- /dev/null +++ b/games-server/cyphesis/cyphesis-0.6.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit toolchain-funcs autotools python-single-r1 eutils games + +DESCRIPTION="WorldForge server running small games" +HOMEPAGE="http://worldforge.org/index.php/components/cyphesis/" +SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + >=media-libs/skstream-0.3.9 + >=dev-games/wfmath-1.0.1 + >=dev-games/mercator-0.3.3 + dev-libs/libgcrypt:0 + dev-libs/libsigc++:2 + sys-libs/ncurses:0 + sys-libs/readline:0 + >=media-libs/atlas-c++-0.6.3 + >=media-libs/varconf-0.6.4 + dev-db/postgresql:=" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.40 + dev-libs/libxml2 + virtual/pkgconfig" + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-makefile.patch + eautoreconf +} + +src_configure() { + egamesconf \ + --localstatedir=/var +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" confbackupdir="/usr/share/doc/${PF}/conf" \ + install + dodoc AUTHORS ChangeLog FIXME NEWS README THANKS TODO + prepgamesdirs +} diff --git a/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch b/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch new file mode 100644 index 000000000000..69aac409ba8d --- /dev/null +++ b/games-server/cyphesis/files/cyphesis-0.6.2-gentoo.patch @@ -0,0 +1,32 @@ +diff -ru cyphesis-0.6.0.orig/Makefile.am cyphesis-0.6.0/Makefile.am +--- cyphesis-0.6.0.orig/Makefile.am 2012-10-02 06:23:10.000000000 -0400 ++++ cyphesis-0.6.0/Makefile.am 2012-11-12 16:54:19.306892135 -0500 +@@ -3,7 +3,6 @@ + tools tests man dox + + docdir = $(datadir)/doc/cyphesis-$(VERSION) +-dist_doc_DATA = README COPYING AUTHORS THANKS NEWS FIXME + + rulesetdir = $(datadir)/cyphesis/rulesets + +diff -ru cyphesis-0.6.0.orig/configure.ac cyphesis-0.6.0/configure.ac +--- cyphesis-0.6.0.orig/configure.ac 2012-11-09 16:39:13.000000000 -0500 ++++ cyphesis-0.6.0/configure.ac 2012-11-12 16:53:51.622839335 -0500 +@@ -381,17 +381,6 @@ + libraries required and where to obtain them.]) + ]) + +-PKG_CHECK_MODULES(AVAHI, avahi-client, +- [ +- CPPFLAGS="$CPPFLAGS $AVAHI_CFLAGS" +- MDNS_LIBS="$MDNS_LIBS $AVAHI_LIBS" +- AC_DEFINE(HAVE_AVAHI, 1, [Define to 1 if you have avahi libs.]) +- ], +- [ +- AC_MSG_RESULT([no]) +- AC_MSG_NOTICE([Ommiting DNS-SD functionality.]) +- ]) +- + AM_PATH_PSQL(7.1.0, + [ + if test "$PG_CFLAGS" != "-I/usr/include"; then diff --git a/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch new file mode 100644 index 000000000000..7fde1eb12135 --- /dev/null +++ b/games-server/cyphesis/files/cyphesis-0.6.2-makefile.patch @@ -0,0 +1,11 @@ +--- a/Makefile.am 2013-09-25 14:26:30.518751250 +0200 ++++ b/Makefile.am 2013-09-25 14:27:21.846257911 +0200 +@@ -13,8 +13,6 @@ + + # FIXME Remove the mkdir hack if it gets fixed in a future automake + install-data-hook: +- mkdir -p $(DESTDIR)$(socketdir) +- chmod 1777 $(DESTDIR)$(socketdir) + @echo + @echo "Cyphesis is not yet ready to run." + @echo "Unless you have configured the server to run without a database, Cyphesis" diff --git a/games-server/cyphesis/metadata.xml b/games-server/cyphesis/metadata.xml new file mode 100644 index 000000000000..cd73040ff777 --- /dev/null +++ b/games-server/cyphesis/metadata.xml @@ -0,0 +1,19 @@ + + + + + games@gentoo.org + Gentoo Games Project + + +Cyphesis is an NPC engine using AI/A-Life techniques. It is the Artificial +Intelligence and Artificial Life server used by STAGE and also is filling in as +its first fully functional game server, featured in Acorn. Cyphesis is a +prototype server designed to explore the possibilities of complex NPC +interaction and scripting. Efficiency and support for large numbers of players +are foregone in the quest for a more realistic and dynamic world framework. + + + worldforge + + -- cgit v1.2.3