summaryrefslogtreecommitdiff
path: root/games-simulation/lincity
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-simulation/lincity
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-simulation/lincity')
-rw-r--r--games-simulation/lincity/Manifest4
-rw-r--r--games-simulation/lincity/files/lincity-1.13.1-build.patch74
-rw-r--r--games-simulation/lincity/lincity-1.13.1-r1.ebuild52
-rw-r--r--games-simulation/lincity/metadata.xml11
4 files changed, 0 insertions, 141 deletions
diff --git a/games-simulation/lincity/Manifest b/games-simulation/lincity/Manifest
deleted file mode 100644
index e8bd15ae11b5..000000000000
--- a/games-simulation/lincity/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX lincity-1.13.1-build.patch 2196 BLAKE2B 871577b9ac4b2536b9d46c094c6bd3492eb8e46188f2fc7d8efafa84d6e76914e60a579e30b1294e56daa96f8ab4a2b0247c0ddb5d0ce7d6d9e2180a7b0306cf SHA512 c0590673e7f04e16ffb6c9a25ce0f00d25dcaf689908117647e00989ed6db3a2c5d1db63abeb23e5c9a0f0999219515a53994ed4400f2712a8dea5b6eca5a8b3
-DIST lincity-1.13.1.tar.gz 1064236 BLAKE2B 1172ced3255048f3132f85cd9ae994c7e0558170f7e7a24909af1856669c4ad90d57acd76f330fb556656ed74843dda159005350760fc059c6b184cedf1e9393 SHA512 bc4ee7a1642b1efa25f9edaabd3aeb52d1ca1d016735c5094586f52fda3ec4e9080ff35fe518c1ccbfad9fd54babb370f4b9b6a158b4d2f43b7182155084eefc
-EBUILD lincity-1.13.1-r1.ebuild 946 BLAKE2B f1592d817a747fc1283eaa77e6ce82f452b8949f1292a6c4c28159cf5ff8c40d4234e4dd1abf3c1b9152e12f084fb4dfdb2cf9fde3649130673af7b616b83129 SHA512 7a47b905d33c64cfd627af661a66ab3224e4c508e9857bc6cf054621097089eb3d7d21c138a83786f038ce860e3c4fc4a1d7dd131200fdc4886c530d7ccf6aeb
-MISC metadata.xml 330 BLAKE2B 27e534512b77895bcfea8da8f49e1fa4ce2c9a8df47cf0ce813a8a88893b3c69c03d25083412d22bea3d2d73dfe2baa6a26292b983409c28d6c40bd70e222f6f SHA512 c36fecc06a5c84b3a93dfd25ffeb05bb14a5a96676eb1d7e976903ef7892a10c22ee7afa894c581c0bc3079ce2e30574143cc6b49195b346463c48f3e34ff1c0
diff --git a/games-simulation/lincity/files/lincity-1.13.1-build.patch b/games-simulation/lincity/files/lincity-1.13.1-build.patch
deleted file mode 100644
index f7f41f954baf..000000000000
--- a/games-simulation/lincity/files/lincity-1.13.1-build.patch
+++ /dev/null
@@ -1,74 +0,0 @@
---- lincity-1.13.1.orig/intl/Makefile.in
-+++ lincity-1.13.1/intl/Makefile.in
-@@ -32,7 +32,7 @@
- libdir = @libdir@
- includedir = @includedir@
- datadir = @datadir@
--localedir = $(datadir)/locale
-+localedir = /usr/share/locale
- gettextsrcdir = $(datadir)/gettext/intl
- aliaspath = $(localedir)
- subdir = intl
---- lincity-1.13.1.orig/mouse.c
-+++ lincity-1.13.1/mouse.c
-@@ -1057,7 +1057,7 @@
- and set to 1 if the existing transport if the more expensive sort
- (e.g. GROUP_RAIL when overwriting GROUP_ROAD).
- */
--inline int
-+int
- mt_erase(int x, int y)
- {
- if (x < 0 || y < 0 || x >= WORLD_SIDE_LEN || y >= WORLD_SIDE_LEN)
---- lincity-1.13.1.orig/pixmap.c
-+++ lincity-1.13.1/pixmap.c
-@@ -390,7 +390,7 @@
- likes it in the file. Still need to fix this in autoconf,
- but for now this will do. */
- #if !defined (WIN32)
--inline int
-+int
- pixmap_index (int x, int y)
- {
- return y*pixmap_width + x;
---- lincity-1.13.1.orig/pixmap.h
-+++ lincity-1.13.1/pixmap.h
-@@ -19,7 +19,7 @@
- void initialize_pixmap (void);
- void resize_pixmap (int new_width, int new_height);
- int pixmap_getpixel (int x, int y);
--inline int pixmap_index (int x, int y);
-+int pixmap_index (int x, int y);
- int pixmap_getpixel (int x, int y);
- void pixmap_setpixel (int x, int y, int col);
- void pixmap_hline (int x1, int y1, int x2, int col);
-@@ -33,7 +33,7 @@
- * Public Inline Functions
- * ---------------------------------------------------------------------- */
- #if defined (WIN32)
--inline int
-+int
- pixmap_index (int x, int y) {
- return y*pixmap_width + x;
- }
---- lincity-1.13.1.orig/po/Makefile.in.in
-+++ lincity-1.13.1/po/Makefile.in.in
-@@ -21,7 +21,7 @@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- datadir = @datadir@
--localedir = $(datadir)/locale
-+localedir = /usr/share/locale
- gettextsrcdir = $(datadir)/gettext/po
-
- INSTALL = @INSTALL@
---- lincity-1.13.1.orig/readpng.c
-+++ lincity-1.13.1/readpng.c
-@@ -3,6 +3,7 @@
- * This file is part of lincity (see COPYRIGHT for copyright information).
- * ---------------------------------------------------------------------- */
- #include <stdlib.h>
-+#include <string.h>
- #include "png.h"
- #include "malloc.h"
- #include "lin-city.h"
diff --git a/games-simulation/lincity/lincity-1.13.1-r1.ebuild b/games-simulation/lincity/lincity-1.13.1-r1.ebuild
deleted file mode 100644
index 02968c06f2ed..000000000000
--- a/games-simulation/lincity/lincity-1.13.1-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic
-
-DESCRIPTION="city/country simulation game for X and Linux SVGALib"
-HOMEPAGE="http://lincity.sourceforge.net/"
-SRC_URI="mirror://sourceforge/lincity/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-# dep fix (bug #82318)
-RDEPEND="media-libs/libpng:0
- x11-libs/libSM
- x11-libs/libXext
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-build.patch
-)
-
-src_prepare() {
- default
-
- append-cflags -std=gnu89 # build with gcc5 (bug #570574)
-}
-
-src_configure() {
- econf \
- $(use_enable nls) \
- --with-gzip \
- --with-x
-}
-
-src_compile() {
- # build system logic is severely broken
- emake
- emake X_PROGS
-}
-
-src_install() {
- default
- dodoc Acknowledgements CHANGES README* TODO
- make_desktop_entry xlincity Lincity
- dobin xlincity
-}
diff --git a/games-simulation/lincity/metadata.xml b/games-simulation/lincity/metadata.xml
deleted file mode 100644
index 41975d1ec190..000000000000
--- a/games-simulation/lincity/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">lincity</remote-id>
- </upstream>
-</pkgmetadata>