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: Thu, 07 Nov 2019 21:28:46
Message-Id: 1573161890.ea16759b0ca793292e5abaf97ffe837d4c87f1e7.chewi@gentoo
1 commit: ea16759b0ca793292e5abaf97ffe837d4c87f1e7
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 4 00:10:12 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 7 21:24:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea16759b
7
8 games-fps/freedm-data: Version bump to 0.12.1
9
10 Closes: https://bugs.gentoo.org/699266
11 Package-Manager: Portage-2.3.78, 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.1.ebuild | 57 +++++++++++++++++++++++++
17 2 files changed, 58 insertions(+)
18
19 diff --git a/games-fps/freedm-data/Manifest b/games-fps/freedm-data/Manifest
20 index e3e6ec23b70..5d68da46525 100644
21 --- a/games-fps/freedm-data/Manifest
22 +++ b/games-fps/freedm-data/Manifest
23 @@ -1 +1,2 @@
24 DIST freedoom-0.12.0.tar.gz 18409554 BLAKE2B 01ae58c8edb12a8453f6026f09f45d54b19949d38f0668ddc6d4a6ee5fee4cc62c3926af0fb8e30e5f574b46ad1990fb20b57369821562851ae0cef0a6a5e5f1 SHA512 055cae8d16cc7ca2017eeabcaca9436da044def5f630ab46fb0c4cd7d36b9db3b416f9ddeb855e79f21f7c5337d25fb82625ac987712910daec448b49ef9c41e
25 +DIST freedoom-0.12.1.tar.gz 18405081 BLAKE2B a508d9ce924ff10640d6017302864869efff474c89fe20a866082b565a1ce65182483a5a692c9ce3329b81472ae9e4fee4ac2511670ecb5dd06ccf81930ac70d SHA512 7db65b039ce98593a86a19b46efe629b85a339c4c020750c3abb95d226fca484c63686ab8c88ecc1e16e86a6aca3b8c7952d85103e0f3db07cc7204fa528daf2
26
27 diff --git a/games-fps/freedm-data/freedm-data-0.12.1.ebuild b/games-fps/freedm-data/freedm-data-0.12.1.ebuild
28 new file mode 100644
29 index 00000000000..35bb73d7d7e
30 --- /dev/null
31 +++ b/games-fps/freedm-data/freedm-data-0.12.1.ebuild
32 @@ -0,0 +1,57 @@
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 + freedm.6 \
73 + {NEWS,README}.html
74 +}
75 +
76 +src_install() {
77 + emake install-freedm \
78 + prefix="${ED}/usr/" \
79 + bindir="bin/" \
80 + docdir="share/doc/${P}" \
81 + mandir="share/man/" \
82 + waddir="${DOOMWADPATH}/"
83 +}
84 +
85 +pkg_postinst() {
86 + xdg_pkg_postinst
87 +
88 + elog "FreeDM WAD file installed into ${EPREFIX}/usr/${DOOMWADPATH} directory."
89 +}