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-simulation/lincity-ng |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-simulation/lincity-ng')
-rw-r--r-- | games-simulation/lincity-ng/Manifest | 6 | ||||
-rw-r--r-- | games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch | 35 | ||||
-rw-r--r-- | games-simulation/lincity-ng/lincity-ng-2.0.ebuild | 47 | ||||
-rw-r--r-- | games-simulation/lincity-ng/metadata.xml | 11 |
4 files changed, 99 insertions, 0 deletions
diff --git a/games-simulation/lincity-ng/Manifest b/games-simulation/lincity-ng/Manifest new file mode 100644 index 000000000000..9d305eceafde --- /dev/null +++ b/games-simulation/lincity-ng/Manifest @@ -0,0 +1,6 @@ +AUX lincity-ng-2.0-build.patch 886 SHA256 61566cc74c941676f12826736f74ac4fad4146e905772e12c193cb6b2ba141ac SHA512 0ac99a14e61ec3341dbe2d46f5a36e0a4d9e2dca4fceb2ddc8754a901eebdb2a8251c66fac36359688c77a2243ad4388142215bc57d6acd762723aee73c5f3d5 WHIRLPOOL b71cd4e55e8f1d1e67c34f4c812d18b189f25af3e5e91543acbe9782d1abd9d5ce57c446de2f81cbe7b1e78f85331add1b8cefdda10f4e7aa0c64ee82b84a439 +DIST lincity-ng-2.0.tar.bz2 39475719 SHA256 a6b206a5dfc7a817669f4fc7cbc012bd4a7073c42f918ceb2f1f484cc0b06606 SHA512 d85cd398145d1591f8640458c076f2a0b55713c39ede28b67d99adc7b76d38f09b58cd2ec84d9acac11bbaa794f6d97f6200f54efcdd4286315e6b3133284c55 WHIRLPOOL d218d0475198c9852abf18caab55df57c2dc0026c74db3215c66c4915758c9f4e608906ccdeb8ff9b83eace67ad4cdcb3e5d5d7dd5d1a7aa4c18131e03646d91 +EBUILD lincity-ng-2.0.ebuild 1104 SHA256 bcffd85c23c1f8c51cfe79b4bfa62b2d1019fa2fbdf97377b47567e5a00b74d1 SHA512 1b389aa3e895337012cebf602849c5c5ac645ce6cd254f3efa2b90367f78387bfcfe3338da7d92ab6f0c5c97d72f9b9cba659c99d607c222211c6878c4af0483 WHIRLPOOL 7a417fe65d5ed1d5187958146d9057476c5c219624371d1cd7ec3ecb19be207820e6f15ce60a7339c729b94b4c43d5da98483405e0aaced676a93881536235d9 +MISC ChangeLog 2588 SHA256 7a6e8560246e4c8a9850c9b9e33cd34d813722c609837a69a9af4440894d5721 SHA512 62952c99e191e1cbd0cd9bc68bd910aced3e59a32b1cbd30a41d2da7ba4acda4a5f6b0885bc762346bb204aaa1d781c642cb9e3f9f32c5c0c0c4d1d14d4cbf41 WHIRLPOOL cfb8068e81f796fe8d2d40db7023c90bbc2727f98901388f4800555a1eebafb6390920412b0e510477ef3ab4dae59803313c6768d5a2b2157305e8456ce568dc +MISC ChangeLog-2015 3520 SHA256 d0033fdf5c8363be5cc419139ec3e7c8cc31953ea020b70de47adcaf318e20b8 SHA512 ea7028d41da3913a7033fd097760b98ac8faba1eaeada12f7c1250bcd18c970cab0fd05ff77e9a48513f9d04d6749c62181754762fc53ef4818c7f39ac70a21b WHIRLPOOL 6690727497b19200439d913ef581ee988f7989a50f8624cd0ae4073f4a9eb04f41d36ea12cf88c967f520547090b6e754a7dbf82524b6d7c9c85238183cdbd66 +MISC metadata.xml 341 SHA256 83b753295a334d277cab7f0595e341bf7f8c1446e3e79c19bd4bd44ce851bf53 SHA512 0c2607743dbc1b832fad2d9edf774b51c9e816cca447c5991cd3958f001fded11bfd0fd0b90316ddab7c3371b0ec98d6f4ada27054e5d74e3295cf2cd1beeb90 WHIRLPOOL 1fabc42622b701923778ed62ba53f5fa30d29aad9d016bc373f0b3af3b816a2a3dee4a6b478b5d1df29d13e63e56a93a59a4e1f754306bf6a5be0102a56b5d34 diff --git a/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch b/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch new file mode 100644 index 000000000000..ad2f2eeaff8d --- /dev/null +++ b/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch @@ -0,0 +1,35 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Mon Jul 30 07:06:54 UTC 2012 +Subject: build system + +arguments to AR would be overwritten if we export AR + +--- lincity-ng-2.0.orig/lincity-ng.desktop ++++ lincity-ng-2.0/lincity-ng.desktop +@@ -1,12 +1,11 @@ + [Desktop Entry] + Type=Application + Version=1.0 +-Encoding=UTF-8 + Name=Lincity-NG + GenericName=City Simulation Game + GenericName[de]=Stadtsimulationsspiel + Comment=Plan and Build a city and take care of transport, economics, electricityand others. +-Icon=lincity-ng.png ++Icon=lincity-ng + Exec=lincity-ng + Terminal=false + StartupNotify=false +--- lincity-ng-2.0.orig/mk/jam/unix.jam ++++ lincity-ng-2.0/mk/jam/unix.jam +@@ -45,4 +45,10 @@ + $(LINK) -o $(<) $(>) $(EXTRAOBJECTS) $(NEEDLIBS) $(LIBS) + } + ++# jam Archive action seems to include the arguments which will break our AR export ++actions Archive ++{ ++ $(AR) ru $(<) $(>) ++} ++ + diff --git a/games-simulation/lincity-ng/lincity-ng-2.0.ebuild b/games-simulation/lincity-ng/lincity-ng-2.0.ebuild new file mode 100644 index 000000000000..23fc4c1cd3e5 --- /dev/null +++ b/games-simulation/lincity-ng/lincity-ng-2.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multiprocessing games + +DESCRIPTION="city/country simulation game for X and opengl" +HOMEPAGE="https://sourceforge.net/projects/lincity-ng.berlios/" +SRC_URI="mirror://sourceforge/lincity-ng.berlios/${P}.tar.bz2" + +LICENSE="GPL-2 BitstreamVera" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT=mirror + +RDEPEND="virtual/opengl + sys-libs/zlib + dev-libs/libxml2 + media-libs/libsdl[sound,joystick,opengl,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[png] + media-libs/sdl-ttf + media-libs/sdl-gfx + dev-games/physfs" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/ftjam" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + jam -q -dx -j $(makeopts_jobs) || die "jam failed" +} + +src_install() { + jam -sDESTDIR="${D}" \ + -sappdocdir="/usr/share/doc/${PF}" \ + -sapplicationsdir="/usr/share/applications" \ + -spixmapsdir="/usr/share/pixmaps" \ + install \ + || die "jam install failed" + rm -f "${D}"/usr/share/doc/${PF}/COPYING* + prepgamesdirs +} diff --git a/games-simulation/lincity-ng/metadata.xml b/games-simulation/lincity-ng/metadata.xml new file mode 100644 index 000000000000..7dd75a46b634 --- /dev/null +++ b/games-simulation/lincity-ng/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">lincity-ng.berlios</remote-id> + </upstream> +</pkgmetadata> |