Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/angband/
Date: Tue, 28 Dec 2021 17:10:33
Message-Id: 1640710809.f2b55ae97fa31db9938c7e14100fce5b14721364.ionen@gentoo
1 commit: f2b55ae97fa31db9938c7e14100fce5b14721364
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 28 15:13:29 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 17:00:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b55ae9
7
8 games-roguelike/angband: drop 4.2.2-r2
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-roguelike/angband/Manifest | 2 -
13 games-roguelike/angband/angband-4.2.2-r2.ebuild | 104 ------------------------
14 2 files changed, 106 deletions(-)
15
16 diff --git a/games-roguelike/angband/Manifest b/games-roguelike/angband/Manifest
17 index d751ffb605b4..029283ba45bf 100644
18 --- a/games-roguelike/angband/Manifest
19 +++ b/games-roguelike/angband/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST angband-4.2.2-man.tar.gz 105892 BLAKE2B 226210bd45f463e2b6bc099f889393832b5ce9bf5f95b5de1bc38fbcef61287515435ceef83a717bd62220fe01d5acf33e3fe240c08e3cf7d04e9d59fee132f1 SHA512 f373ea55c5f2349c615c47207c1dbbcc6a77246fbb0615d00a1fcb2a2a0cdf839bb5d57c2e29a2f2698f2d6b72698fbaec6bb221994566be04046ce03ea6253a
22 -DIST angband-4.2.2.tar.gz 24992436 BLAKE2B 6beab7d0481167538714f540e9825e930d57457c923b77e2a9be71e8a6e382b70f375e85e68f0ebf9a65b61b835d62df0a5958a21198d9049088cdbe32c81efc SHA512 07a9b6a10a47afafde8f5db1e463c70198d386e07737666e044de291eab4b425d76bc8124153b7c371248f0c9aedc01578a90e513d744e3f30d26ab22c940698
23 DIST angband-4.2.3-man-r1.tar.gz 112117 BLAKE2B 2d90660cf0784435c4a8fbb04505e5ed47f79ebfcb0215e779b2d8b54ae5b556f820919c27f1d410d92b94476772e23a3a7fe15aaf6c2e56d5c9ceb723359bba SHA512 d85c0b2f0808ba8ee1f979bd9b51ffe2aaff4332471533f93478bf3853aa92eb326b57f195fa2f47d2163486c5005cf4e0865bca2bc3a75fc6005eb93e5d2dec
24 DIST angband-4.2.3.tar.gz 25175745 BLAKE2B ee9878bb93fd268c5fdd8535750d6446ebf8e30a4bc794170b60cf6a77fc0470f91261f4963dda8865c95ead1b522210c8536da36866adeb084689fcf2bc7e5c SHA512 f80a16c40d877c50194be370795acb437778ca88a658a8c95bef637625ab8a88ceb98f45d742e698709b6c81e8b5de6f563f88e957cd71eca208673bb4179e88
25
26 diff --git a/games-roguelike/angband/angband-4.2.2-r2.ebuild b/games-roguelike/angband/angband-4.2.2-r2.ebuild
27 deleted file mode 100644
28 index 4fad7e5591c7..000000000000
29 --- a/games-roguelike/angband/angband-4.2.2-r2.ebuild
30 +++ /dev/null
31 @@ -1,104 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit autotools desktop xdg-utils
38 -
39 -DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien"
40 -HOMEPAGE="https://rephial.org/"
41 -SRC_URI="https://github.com/angband/angband/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
42 - https://dev.gentoo.org/~steils/distfiles/${P}-man.tar.gz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~riscv ~x86"
47 -IUSE="+ncurses sdl sound +X"
48 -
49 -REQUIRED_USE="sound? ( sdl )
50 - || ( X ncurses )"
51 -
52 -RDEPEND="X? (
53 - media-fonts/font-misc-misc
54 - x11-libs/libX11
55 - )
56 - ncurses? ( sys-libs/ncurses:=[unicode(+)] )
57 - sdl? (
58 - media-libs/libsdl2[video,X]
59 - media-libs/sdl2-image[png]
60 - media-libs/sdl2-ttf
61 - sound? (
62 - media-libs/libsdl2[sound]
63 - media-libs/sdl2-mixer[mp3]
64 - )
65 - )"
66 -DEPEND="${RDEPEND}"
67 -BDEPEND="virtual/pkgconfig"
68 -
69 -src_prepare() {
70 - default
71 -
72 - sed -i -e '/libpath/s#datarootdir#datadir#' configure.ac || die
73 - sed -i -e "/^.SILENT/d" mk/buildsys.mk.in || die
74 -
75 - if use !sound ; then
76 - sed -i -e 's/sounds//' lib/Makefile || die
77 - fi
78 -
79 - # Game constant files are now system config files in Angband, but
80 - # users will be hidden from applying updates by default
81 - {
82 - echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/customize/\""
83 - echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/gamedata/\""
84 - } > "${T}"/99${PN} || die
85 -
86 - eautoreconf
87 -}
88 -
89 -src_configure() {
90 - local myconf=(
91 - --bindir="${EPREFIX}"/usr/bin
92 - --with-private-dirs
93 - $(use_enable X x11)
94 - $(use_enable ncurses curses)
95 - )
96 - if use sdl; then
97 - myconf+=(
98 - --enable-sdl2
99 - $(use_enable sound sdl2-mixer)
100 - )
101 - fi
102 -
103 - econf "${myconf[@]}"
104 -}
105 -
106 -src_install() {
107 - default
108 -
109 - dodoc changes.txt README.md
110 - doman "${WORKDIR}"/${PN}.1
111 - doenvd "${T}"/99${PN}
112 -
113 - if use X || use sdl; then
114 - use X && make_desktop_entry "angband -mx11" "Angband (X11)" "${PN}"
115 - use sdl && make_desktop_entry "angband -msdl2" "Angband (SDL2)" "${PN}"
116 -
117 - local s
118 - for s in 16 32 128 256 512; do
119 - newicon -s ${s} lib/icons/att-${s}.png "${PN}.png"
120 - done
121 - newicon -s scalable lib/icons/att.svg "${PN}.svg"
122 - fi
123 -}
124 -
125 -pkg_postinst() {
126 - if use X || use sdl; then
127 - xdg_icon_cache_update
128 - fi
129 -}
130 -
131 -pkg_postrm() {
132 - if use X || use sdl; then
133 - xdg_icon_cache_update
134 - fi
135 -}