summaryrefslogtreecommitdiff
path: root/games-misc/opengfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/opengfx
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/opengfx')
-rw-r--r--games-misc/opengfx/Manifest10
-rw-r--r--games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch31
-rw-r--r--games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch31
-rw-r--r--games-misc/opengfx/metadata.xml8
-rw-r--r--games-misc/opengfx/opengfx-0.5.3.ebuild37
-rw-r--r--games-misc/opengfx/opengfx-0.5.4-r1.ebuild36
-rw-r--r--games-misc/opengfx/opengfx-0.5.4.ebuild37
7 files changed, 190 insertions, 0 deletions
diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest
new file mode 100644
index 000000000000..1235a3d0517c
--- /dev/null
+++ b/games-misc/opengfx/Manifest
@@ -0,0 +1,10 @@
+AUX opengfx-0.5.3-Makefile.patch 1349 SHA256 5381e3e4efdab52cd83fb2ff4f6dd87ddd288dc834786c2679c38f4e6f7e50e2 SHA512 f2cd513b6b244fcdd522e488c3becd27164f622f0bc723bd1f704ce1e76419ac628425cf3fc437beb50f851735923e85eae8a3f70e828f58edff4d632784bbf9 WHIRLPOOL 964ff2c87be1f9150fc6e9ad6dbeef76cb30c9b4bd50c59d5e461da54664e9436a25f1682a419bf7c7567b5b4f99dd162601fbcba62ae0740e887a45968b95fa
+AUX opengfx-0.5.4-Makefile.patch 1349 SHA256 5381e3e4efdab52cd83fb2ff4f6dd87ddd288dc834786c2679c38f4e6f7e50e2 SHA512 f2cd513b6b244fcdd522e488c3becd27164f622f0bc723bd1f704ce1e76419ac628425cf3fc437beb50f851735923e85eae8a3f70e828f58edff4d632784bbf9 WHIRLPOOL 964ff2c87be1f9150fc6e9ad6dbeef76cb30c9b4bd50c59d5e461da54664e9436a25f1682a419bf7c7567b5b4f99dd162601fbcba62ae0740e887a45968b95fa
+DIST opengfx-0.5.3-source.tar.xz 9638892 SHA256 28d253ffa7a3618f7c4efb3b1076bc652204c2412d3cee57a6b9ffc13bda4014 SHA512 41b41192dcf95e2ac03e7028f55aca486c13a8709a62fe5970918494b0009ee07118e0d04d10426fea35ee82c842d28fc58f8c258df2e8ebe0b17e40c892f829 WHIRLPOOL 309c8e5ef1fb83328712c0516c55ecbc53f75117a1fc2aedbe9e61db05bf14ffe4f9fec6ff6a1f50dfc408735de3d5b754d97b026957b02271b213ffc32a9872
+DIST opengfx-0.5.4-source.tar.xz 9638204 SHA256 6b6e33dbe11b2c668c3b7ac1534b7a8eb567d702f42c99bd871c69e6682ee655 SHA512 42f8438c747b42a77cf9d86c5da60ce3ce84ed347d714c345f3871806f9e35f2ed4729b445e0ee319f3e2edd53458dfbaad5ca42e389c3a2e800bce19223cdb1 WHIRLPOOL 3cd952b9f0ddddcc61acc6077f828c40eccf87835964a9ecdf5b1e27e4e6569a13acce9224a0ba52b4ba2fca5906a3b990c24ac11bfbfeb6c3e5c1f859928184
+EBUILD opengfx-0.5.3.ebuild 866 SHA256 bc02f204031720f332807b750324ebcd07af357432a4d62379f8dfc6178b2487 SHA512 22aa2578af4d01f841794febdc81b2d60eadd3710793761b98efb2519856357256e83a5c8fe472194c0a2430f8f10b161d55c5509e096d9074fc53675bde76e1 WHIRLPOOL a13f84d6eae0930df4ec81d7ddb788054d915d2f4a1f58a201d43c1579bb62ea5c95edd3c66713a0233e8250c263dc04eaafd8cad3a572f0f5c1e2162f7c6f1a
+EBUILD opengfx-0.5.4-r1.ebuild 841 SHA256 7e252d650c520af72405c54f71a720cf6435b79f521383234d2d2fede2219b26 SHA512 83f4faf5bf14dd7c7d3ffc11b9666a5dcb976f6abd2634869ad01c31b21f4ba33cf9699f5233dd4d735feb5941de1bd727858bab4ec9548bd56184013c3d9299 WHIRLPOOL 332cfbb714c83fcaf21daa86cc9c76e29a53d506bb772712aa5e3bca4461b46c5718609dfef29bcb73b627d935762191af27fc579b4bcbff6fba4bc090104dbb
+EBUILD opengfx-0.5.4.ebuild 866 SHA256 fe3da0dae16707d3900a36b2cd4a91bfd3f7e619172bf87a9e1f924ecc9ef338 SHA512 e2adb0fe8f66d1f30ef9750453243158be07d33a11687a66314ea2716fd31a74a88716a78e686d51ee2b7a1b6adbed65149501d8249397d9af5296bc2ec95948 WHIRLPOOL 5c9def801ab32586938a8d5c80d28438c732a728aa5e6a79e89a96abf17471362088d942ec01e8e07e32e49ed1a229a4dd2780a4775b5b62ef07215673b40bfe
+MISC ChangeLog 4778 SHA256 fd4042b3ad8152d10ad8ed2d9fe3a28dccfc2c2053be2ca9a6e71e95f25b74ca SHA512 3512dcaf4eb6e814c4173ad170450864a145fd48dd3634156e2d58499e19606cb0091225ce58d93f5b5eee1474f49897b21ce37068a229dfc88e8a11c4460e79 WHIRLPOOL 4a8826212fb45fede1c2111b475d235de656dd878662d8fbc83a23d71845a55e937e09ebdacd413c98cacea91bd4ff431d3ee6ce585b4a4d9eba64aa09ba38a6
+MISC ChangeLog-2015 5707 SHA256 993297d930260af4737f770fa67ed7a45c37fe5f5bd73f7831fee8cfcb24f497 SHA512 b8eee35b16556115e86e249a6a519c06d36d95165a28f6f0e5d90c683e391223aa91796da41116ad6d2d9cbfd21c0ba690a6b70fcb67f3478db0aac778dbe26b WHIRLPOOL d04f651407388162cdf27d1ca88a516b635371b904bccaba1efbfb4db5876fc55882459963fd2fd30bce61d4a9cbbe0eee41d05b0a860271ea9cee9fdd73d556
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch
new file mode 100644
index 000000000000..169df96684ce
--- /dev/null
+++ b/games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch
@@ -0,0 +1,31 @@
+--- opengfx-0.5.3-source/Makefile
++++ opengfx-0.5.3-source/Makefile
+@@ -99,8 +99,8 @@
+ AWK ?= awk
+ GREP ?= grep
+ PYTHON ?= python
+-UNIX2DOS ?= $(shell which unix2dos)
+-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "")
++UNIX2DOS ?= $(shell which unix2dos 2>/dev/null)
++UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "")
+
+ # Graphics processing
+ GIMP ?= gimp
+@@ -196,7 +196,7 @@
+ endif
+
+ # Days of commit since 2000-1-1 00-00
+-REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print (date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days")
++REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print ((date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days)")
+
+ # Filename addition, if we're not building the default branch
+ REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi)
+@@ -719,7 +719,7 @@
+ $(_E)
+ endif
+ $(_E) "Release:"
+- $(_E) "bananas: Upload bundle to BaNaNaS
++ $(_E) "bananas: Upload bundle to BaNaNaS"
+ $(_E)
+ $(_E) "Valid command line variables are:"
+ $(_E) "Helper programmes:"
diff --git a/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch
new file mode 100644
index 000000000000..169df96684ce
--- /dev/null
+++ b/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch
@@ -0,0 +1,31 @@
+--- opengfx-0.5.3-source/Makefile
++++ opengfx-0.5.3-source/Makefile
+@@ -99,8 +99,8 @@
+ AWK ?= awk
+ GREP ?= grep
+ PYTHON ?= python
+-UNIX2DOS ?= $(shell which unix2dos)
+-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "")
++UNIX2DOS ?= $(shell which unix2dos 2>/dev/null)
++UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "")
+
+ # Graphics processing
+ GIMP ?= gimp
+@@ -196,7 +196,7 @@
+ endif
+
+ # Days of commit since 2000-1-1 00-00
+-REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print (date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days")
++REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print ((date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days)")
+
+ # Filename addition, if we're not building the default branch
+ REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi)
+@@ -719,7 +719,7 @@
+ $(_E)
+ endif
+ $(_E) "Release:"
+- $(_E) "bananas: Upload bundle to BaNaNaS
++ $(_E) "bananas: Upload bundle to BaNaNaS"
+ $(_E)
+ $(_E) "Valid command line variables are:"
+ $(_E) "Helper programmes:"
diff --git a/games-misc/opengfx/metadata.xml b/games-misc/opengfx/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-misc/opengfx/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/games-misc/opengfx/opengfx-0.5.3.ebuild b/games-misc/opengfx/opengfx-0.5.3.ebuild
new file mode 100644
index 000000000000..e3bb8604796a
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.5.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
+SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
+
+DEPEND=">=games-util/nml-0.4.0
+ games-util/grfcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ GIMP= emake help # print out the env to make bug reports better
+ GIMP= _V= emake bundle_tar
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/openttd/data/"
+ doins *.grf opengfx.obg
+ dodoc docs/{changelog.txt,readme.txt}
+ prepgamesdirs
+}
diff --git a/games-misc/opengfx/opengfx-0.5.4-r1.ebuild b/games-misc/opengfx/opengfx-0.5.4-r1.ebuild
new file mode 100644
index 000000000000..72fd656ad797
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.5.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
+SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
+
+DEPEND=">=games-util/nml-0.4.0
+ games-util/grfcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+PATCHES=(
+ "${FILESDIR}/${P}-Makefile.patch"
+)
+
+src_compile() {
+ emake GIMP="" help # print out the env to make bug reports better
+ emake GIMP="" _V="" bundle_tar
+}
+
+src_install() {
+ insinto "/usr/share/games/openttd/data/"
+ doins *.grf opengfx.obg
+ dodoc docs/{changelog.txt,readme.txt}
+}
diff --git a/games-misc/opengfx/opengfx-0.5.4.ebuild b/games-misc/opengfx/opengfx-0.5.4.ebuild
new file mode 100644
index 000000000000..16570eeb2569
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.5.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
+SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
+
+DEPEND=">=games-util/nml-0.4.0
+ games-util/grfcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ GIMP= emake help # print out the env to make bug reports better
+ GIMP= _V= emake bundle_tar
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/openttd/data/"
+ doins *.grf opengfx.obg
+ dodoc docs/{changelog.txt,readme.txt}
+ prepgamesdirs
+}