Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/freedm-data/
Date: Sat, 12 Oct 2019 14:29:36
Message-Id: 1570890191.b8c2c2134980a3d294e0fee57317894a52fcfdd4.chewi@gentoo
1 commit: b8c2c2134980a3d294e0fee57317894a52fcfdd4
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 10 17:41:34 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 12 14:23:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c2c213
7
8 games-fps/freedm-data: version bump to 0.12.0
9
10 Closes: https://bugs.gentoo.org/697432
11 Package-Manager: Portage-2.3.76, Repoman-2.3.17
12 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
14
15 games-fps/freedm-data/Manifest | 1 +
16 games-fps/freedm-data/freedm-data-0.12.0.ebuild | 54 +++++++++++++++++++++++++
17 2 files changed, 55 insertions(+)
18
19 diff --git a/games-fps/freedm-data/Manifest b/games-fps/freedm-data/Manifest
20 index 234cde6dfeb..faed28aff04 100644
21 --- a/games-fps/freedm-data/Manifest
22 +++ b/games-fps/freedm-data/Manifest
23 @@ -1 +1,2 @@
24 DIST freedoom-0.11.3.tar.gz 17010131 BLAKE2B a0b601575da8516cf9f83466fe2146b708aa3cb21a3df2f7cbcd018a560f65b9b89c85907115050c4985b64eff29a3a9d2cfb7d31e93043e9d3c35fe7749d749 SHA512 51e0d5f7ca7c846c556fcba36b0f9c815090bfc76a80200aebd1526291da16b71145fbe254100cc5ad37ffc044d4380ef07b8bd4bdb811f00b9150e7b34dd636
25 +DIST freedoom-0.12.0.tar.gz 18409554 BLAKE2B 01ae58c8edb12a8453f6026f09f45d54b19949d38f0668ddc6d4a6ee5fee4cc62c3926af0fb8e30e5f574b46ad1990fb20b57369821562851ae0cef0a6a5e5f1 SHA512 055cae8d16cc7ca2017eeabcaca9436da044def5f630ab46fb0c4cd7d36b9db3b416f9ddeb855e79f21f7c5337d25fb82625ac987712910daec448b49ef9c41e
26
27 diff --git a/games-fps/freedm-data/freedm-data-0.12.0.ebuild b/games-fps/freedm-data/freedm-data-0.12.0.ebuild
28 new file mode 100644
29 index 00000000000..62b8cf23423
30 --- /dev/null
31 +++ b/games-fps/freedm-data/freedm-data-0.12.0.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{5,6,7} )
39 +
40 +inherit prefix python-any-r1 xdg
41 +
42 +DESCRIPTION="Game resources for FreeDM"
43 +HOMEPAGE="https://freedoom.github.io"
44 +SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> freedoom-${PV}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +BDEPEND="
51 + $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP}]')
52 + app-text/asciidoc
53 + games-util/deutex"
54 +
55 +S="${WORKDIR}/freedoom-${PV}"
56 +
57 +DOOMWADPATH=share/doom
58 +
59 +python_check_deps() {
60 + has_version -b "dev-python/pillow[${PYTHON_USEDEP}]"
61 +}
62 +
63 +src_prepare() {
64 + xdg_src_prepare
65 + eapply_user
66 +
67 + hprefixify dist/freedoom
68 +}
69 +
70 +src_compile() {
71 + emake wads/freedm.wad
72 +}
73 +
74 +src_install() {
75 + emake install-freedm \
76 + prefix="${ED}/usr/" \
77 + bindir="bin/" \
78 + mandir="share/man/" \
79 + waddir="${DOOMWADPATH}/"
80 +}
81 +
82 +pkg_postinst() {
83 + xdg_pkg_postinst
84 +
85 + elog "FreeDM WAD file installed into ${EPREFIX}/usr/${DOOMWADPATH} directory."
86 +}