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-simulation/micropolis/Manifest | 7 +++ games-simulation/micropolis/metadata.xml | 9 ++++ .../micropolis/micropolis-1.0-r1.ebuild | 59 ++++++++++++++++++++++ games-simulation/micropolis/micropolis-1.0.ebuild | 55 ++++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 games-simulation/micropolis/Manifest create mode 100644 games-simulation/micropolis/metadata.xml create mode 100644 games-simulation/micropolis/micropolis-1.0-r1.ebuild create mode 100644 games-simulation/micropolis/micropolis-1.0.ebuild (limited to 'games-simulation/micropolis') diff --git a/games-simulation/micropolis/Manifest b/games-simulation/micropolis/Manifest new file mode 100644 index 000000000000..40fc153e4214 --- /dev/null +++ b/games-simulation/micropolis/Manifest @@ -0,0 +1,7 @@ +DIST micropolis-activity-source.tgz 7676438 SHA256 1b3c72dc3680a34b5fc5a740a6fb5cfc0b8775514da8ab7bb3b2965b20d4f8bc SHA512 fe65966c43d044e01a63a3cfe3cad48466eb1e5ec8b13c03abb52d582395a8ab527332d4d04454a4f32e85b65e55d72fe5e4d53a3f37b422d90e9208f00d9976 WHIRLPOOL 2bc497ce79b9041a6e3a2dcd84b4e135c844652afe23d546ad7aa5c66dee3422151329a04bbbc105a199427b4ed0580f79d3232d0b13f09a89b013e006321f3e +DIST micropolis_git.patch 83549 SHA256 13419a4394242cd11d5cabd8b1b50787282ea16b55fdcfbeadf8505af46b0592 SHA512 9d1801478a27184c48d327094cad8238f7972c2cf3624c7c196375f2dd20c3374575b393d44cb2fb99613e19d66c4cc4fb27ae52df9fddf4e42adb42523bdc17 WHIRLPOOL fde6ad3bf7395ef51f482aba816d99bb5af302f357e4d9cd218d9ba7e4a0d78f8927e33c76cf0e340c5ff3b9b5b16f5e26495b07b5d80f701f560a1a7c7730ad +EBUILD micropolis-1.0-r1.ebuild 1190 SHA256 1ac01c3ce074f6f51503061937d74e9317aebae993a441e9558bf242194c589e SHA512 227c999dffdd95f89123d987d0eaece6672899147db634181e6080399d83fceb2eac6565601e6baa79dacfc0f137b0a3a20a7ee10b1fd5986c87645e573e7574 WHIRLPOOL f54f840b975a47ed48042bb4ae41fcfd65035a0a859f957793dfe37244b70aadc0ec5b1ddde46d12440d1f9af3741c02f934c49e6c58b325abb9c81ba2d37dba +EBUILD micropolis-1.0.ebuild 1204 SHA256 88b2402b6e69089bb07621b1e260012b5f2d99c6410aa765d53359a62aed0d88 SHA512 9e43fedefeee51043ffd3889970d69b68ca05b4a53cc64a71989ca8f2ab220f109cbe25ad1a79d8503b6da00168f4262fa84da2b0e740946850c2fabc9e25149 WHIRLPOOL cd6205ef2a18b3affbe927a2bcee04d04f67ddf7d5272ecfe38e56d74d5ecf220891fbefa605d17a965403e3fdddf6e77c76ff76f937f001e3e27ee87e1c1b71 +MISC ChangeLog 2696 SHA256 2399b791975f77362769f3707acf94fa6e857f577a6f5dba954dc9bead3b5cd0 SHA512 d8a7b6b7af74214225562dee913991ec4d1a15304635dadbdc08773877c283094f3c049b3010564df8f17c057b5f3201adc4e28054fd2cf9824e6aeeb033b6fa WHIRLPOOL 20f0819bd76b2e237f1bfa10b47b942645efc7940394458861950ea6bc2635b9a0d0a89969481c4ce4c5a1aac60e634e7ba97c5b397349da534e52e8a9882e40 +MISC ChangeLog-2015 1084 SHA256 004676ba89592958d1455881fd724a9be0c44ff3326aba799f6f7413201fdfbd SHA512 f1a9b241068fbc34e8011dec37d86b58ed59cd0b69e8545ff11c879b75f424af14e5510d2a61ce2d4f92827a62af3d2043ed5feb0a49290725d596dce0bf99e4 WHIRLPOOL 05e7bd5adae9b7eb488173ba6b2c7cb0f691466dab758e66c848fa0a3e2415b0695705a91748edfa97643cbfb967fc67b1d0cdc4bcd001cb8a41c154e2b36844 +MISC metadata.xml 318 SHA256 e85ec4a9347569e677d85c643dfc1b766d50db1f8d37a3adae9e6108e75e84c7 SHA512 7dde0fe493b040693af161ef449f7d5bce64988568d7fdf5eae0f9c7e8e404386a498da6aaae768e60ebc84bc948e8a65642cbb6ad8f128bd52163722ba129bc WHIRLPOOL 412ee46dd326e731e97f7b17710cecc813b72ee83adf349398289d2c4b5a56a38f9f6f6288f6275df14f7345a7622301c0a9e43316e016e88a9b74428737ec8f diff --git a/games-simulation/micropolis/metadata.xml b/games-simulation/micropolis/metadata.xml new file mode 100644 index 000000000000..eac64a74f324 --- /dev/null +++ b/games-simulation/micropolis/metadata.xml @@ -0,0 +1,9 @@ + + + +hanno@gentoo.org + +games@gentoo.org +Gentoo Games Project + + diff --git a/games-simulation/micropolis/micropolis-1.0-r1.ebuild b/games-simulation/micropolis/micropolis-1.0-r1.ebuild new file mode 100644 index 000000000000..b6f6a4e58bd3 --- /dev/null +++ b/games-simulation/micropolis/micropolis-1.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Free version of the well-known city building simulation" +HOMEPAGE="http://www.donhopkins.com/home/micropolis/" +SRC_URI="http://www.donhopkins.com/home/micropolis/${PN}-activity-source.tgz + http://rmdir.de/~michael/${PN}_git.patch" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl + media-libs/sdl-mixer + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND} + sys-devel/bison" + +S=${WORKDIR}/${PN}-activity/ + +PATCHES=( + "${DISTDIR}"/${PN}_git.patch +) + +src_unpack() { + unpack ${PN}-activity-source.tgz +} + +src_prepare() { + default + + sed -i -e "s:-O3:${CFLAGS}:" \ + src/tclx/config.mk src/{sim,tcl,tk}/makefile || die + sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \ + src/tclx/config.mk || die +} + +src_compile() { + emake -C src LDFLAGS="${LDFLAGS}" +} + +src_install() { + local dir=/usr/share/${PN} + + exeinto "${dir}/res" + doexe src/sim/sim + insinto "${dir}" + doins -r activity cities images manual res + + make_wrapper micropolis res/sim "${dir}" + doicon Micropolis.png + make_desktop_entry micropolis "Micropolis" Micropolis +} diff --git a/games-simulation/micropolis/micropolis-1.0.ebuild b/games-simulation/micropolis/micropolis-1.0.ebuild new file mode 100644 index 000000000000..8bbcfaa349d1 --- /dev/null +++ b/games-simulation/micropolis/micropolis-1.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Free version of the well-known city building simulation" +HOMEPAGE="http://www.donhopkins.com/home/micropolis/" +SRC_URI="http://www.donhopkins.com/home/micropolis/${PN}-activity-source.tgz + http://rmdir.de/~michael/${PN}_git.patch" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + media-libs/libsdl + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + sys-devel/bison" + +S=${WORKDIR}/${PN}-activity/ + +src_unpack() { + unpack ${PN}-activity-source.tgz +} + +src_prepare() { + epatch "${DISTDIR}"/${PN}_git.patch + sed -i -e "s:-O3:${CFLAGS}:" \ + src/tclx/config.mk src/{sim,tcl,tk}/makefile || die + sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \ + src/tclx/config.mk || die +} + +src_compile() { + emake -C src LDFLAGS="${LDFLAGS}" +} + +src_install() { + local dir=${GAMES_DATADIR}/${PN} + + exeinto "${dir}/res" + doexe src/sim/sim + insinto "${dir}" + doins -r activity cities images manual res + + games_make_wrapper micropolis res/sim "${dir}" + doicon Micropolis.png + make_desktop_entry micropolis "Micropolis" Micropolis + + prepgamesdirs +} -- cgit v1.2.3