summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-10-10 13:35:50 -0400
committerJames Le Cuirot <chewi@gentoo.org>2019-10-12 15:23:04 +0100
commitcebf273645ed6b0b7e1bb7d52549e052b7bc0b5a (patch)
treee922c490a2e98757f80a23a06e2da950c8b15d5b /games-fps
parentdev-tcltk/vtcl: EAPI 7 (diff)
downloadgentoo-cebf273645ed6b0b7e1bb7d52549e052b7bc0b5a.tar.gz
gentoo-cebf273645ed6b0b7e1bb7d52549e052b7bc0b5a.tar.bz2
gentoo-cebf273645ed6b0b7e1bb7d52549e052b7bc0b5a.zip
games-fps/freedoom-data: version bump to 0.12.0
Closes: https://bugs.gentoo.org/697430 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13251 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.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/games-fps/freedoom-data/Manifest b/games-fps/freedoom-data/Manifest
index 234cde6dfeb1..faed28aff040 100644
--- a/games-fps/freedoom-data/Manifest
+++ b/games-fps/freedoom-data/Manifest
@@ -1 +1,2 @@
DIST freedoom-0.11.3.tar.gz 17010131 BLAKE2B a0b601575da8516cf9f83466fe2146b708aa3cb21a3df2f7cbcd018a560f65b9b89c85907115050c4985b64eff29a3a9d2cfb7d31e93043e9d3c35fe7749d749 SHA512 51e0d5f7ca7c846c556fcba36b0f9c815090bfc76a80200aebd1526291da16b71145fbe254100cc5ad37ffc044d4380ef07b8bd4bdb811f00b9150e7b34dd636
+DIST freedoom-0.12.0.tar.gz 18409554 BLAKE2B 01ae58c8edb12a8453f6026f09f45d54b19949d38f0668ddc6d4a6ee5fee4cc62c3926af0fb8e30e5f574b46ad1990fb20b57369821562851ae0cef0a6a5e5f1 SHA512 055cae8d16cc7ca2017eeabcaca9436da044def5f630ab46fb0c4cd7d36b9db3b416f9ddeb855e79f21f7c5337d25fb82625ac987712910daec448b49ef9c41e
diff --git a/games-fps/freedoom-data/freedoom-data-0.12.0.ebuild b/games-fps/freedoom-data/freedoom-data-0.12.0.ebuild
new file mode 100644
index 000000000000..078a867ebfa9
--- /dev/null
+++ b/games-fps/freedoom-data/freedoom-data-0.12.0.ebuild
@@ -0,0 +1,54 @@
+# 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
+}
+
+src_install() {
+ emake install-freedoom{1,2} \
+ prefix="${ED}/usr/" \
+ bindir="bin/" \
+ mandir="share/man/" \
+ waddir="${DOOMWADPATH}/"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog "Freedoom WAD files installed into ${EPREFIX}/usr/${DOOMWADPATH} directory."
+}