summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-11-03 19:06:51 -0500
committerJames Le Cuirot <chewi@gentoo.org>2019-11-07 21:24:43 +0000
commit649ff60936c15033a90c6ec388163adc45f62553 (patch)
tree48c7a47125f4f13e1640d6187bf4bce24afbc7b4 /games-fps
parentgames-fps/gzdoom: Drop old 4.2.3 (diff)
downloadgentoo-649ff60936c15033a90c6ec388163adc45f62553.tar.gz
gentoo-649ff60936c15033a90c6ec388163adc45f62553.tar.bz2
gentoo-649ff60936c15033a90c6ec388163adc45f62553.zip
games-fps/freedoom-data: Version bump to 0.12.1
Closes: https://bugs.gentoo.org/699268 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13540 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/freedoom-data/Manifest1
-rw-r--r--games-fps/freedoom-data/freedoom-data-0.12.1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/games-fps/freedoom-data/Manifest b/games-fps/freedoom-data/Manifest
index e3e6ec23b70a..5d68da46525e 100644
--- a/games-fps/freedoom-data/Manifest
+++ b/games-fps/freedoom-data/Manifest
@@ -1 +1,2 @@
DIST freedoom-0.12.0.tar.gz 18409554 BLAKE2B 01ae58c8edb12a8453f6026f09f45d54b19949d38f0668ddc6d4a6ee5fee4cc62c3926af0fb8e30e5f574b46ad1990fb20b57369821562851ae0cef0a6a5e5f1 SHA512 055cae8d16cc7ca2017eeabcaca9436da044def5f630ab46fb0c4cd7d36b9db3b416f9ddeb855e79f21f7c5337d25fb82625ac987712910daec448b49ef9c41e
+DIST freedoom-0.12.1.tar.gz 18405081 BLAKE2B a508d9ce924ff10640d6017302864869efff474c89fe20a866082b565a1ce65182483a5a692c9ce3329b81472ae9e4fee4ac2511670ecb5dd06ccf81930ac70d SHA512 7db65b039ce98593a86a19b46efe629b85a339c4c020750c3abb95d226fca484c63686ab8c88ecc1e16e86a6aca3b8c7952d85103e0f3db07cc7204fa528daf2
diff --git a/games-fps/freedoom-data/freedoom-data-0.12.1.ebuild b/games-fps/freedoom-data/freedoom-data-0.12.1.ebuild
new file mode 100644
index 000000000000..268e336d47e9
--- /dev/null
+++ b/games-fps/freedoom-data/freedoom-data-0.12.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit prefix python-any-r1 xdg
+
+DESCRIPTION="Game resources for Freedoom: Phase 1+2"
+HOMEPAGE="https://freedoom.github.io"
+SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> freedoom-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+BDEPEND="
+ $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP}]')
+ app-text/asciidoc
+ games-util/deutex"
+
+S="${WORKDIR}/freedoom-${PV}"
+
+DOOMWADPATH=share/doom
+
+python_check_deps() {
+ has_version -b "dev-python/pillow[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ xdg_src_prepare
+ eapply_user
+
+ hprefixify dist/freedoom
+}
+
+src_compile() {
+ emake wads/freedoom{1,2}.wad \
+ freedoom{1,2}.6 \
+ {NEWS,README}.html
+}
+
+src_install() {
+ emake install-freedoom \
+ prefix="${ED}/usr/" \
+ bindir="bin/" \
+ docdir="share/doc/${P}" \
+ mandir="share/man/" \
+ waddir="${DOOMWADPATH}/"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog "Freedoom WAD files installed into ${EPREFIX}/usr/${DOOMWADPATH} directory."
+}