From 162945d2a91899b637bbb9e163b406350de12906 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Oct 2021 19:43:03 +0100 Subject: gentoo resync : 30.10.2021 --- games-roguelike/Manifest.gz | Bin 3061 -> 3061 bytes games-roguelike/angband/Manifest | 2 +- games-roguelike/angband/angband-4.2.2-r1.ebuild | 104 ------------------------ games-roguelike/angband/angband-4.2.2-r2.ebuild | 104 ++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 105 deletions(-) delete mode 100644 games-roguelike/angband/angband-4.2.2-r1.ebuild create mode 100644 games-roguelike/angband/angband-4.2.2-r2.ebuild (limited to 'games-roguelike') diff --git a/games-roguelike/Manifest.gz b/games-roguelike/Manifest.gz index 2ec03d5cdb2d..3845b39029cc 100644 Binary files a/games-roguelike/Manifest.gz and b/games-roguelike/Manifest.gz differ diff --git a/games-roguelike/angband/Manifest b/games-roguelike/angband/Manifest index b205fed38502..5de637d43d32 100644 --- a/games-roguelike/angband/Manifest +++ b/games-roguelike/angband/Manifest @@ -1,4 +1,4 @@ DIST angband-4.2.2-man.tar.gz 105892 BLAKE2B 226210bd45f463e2b6bc099f889393832b5ce9bf5f95b5de1bc38fbcef61287515435ceef83a717bd62220fe01d5acf33e3fe240c08e3cf7d04e9d59fee132f1 SHA512 f373ea55c5f2349c615c47207c1dbbcc6a77246fbb0615d00a1fcb2a2a0cdf839bb5d57c2e29a2f2698f2d6b72698fbaec6bb221994566be04046ce03ea6253a DIST angband-4.2.2.tar.gz 24992436 BLAKE2B 6beab7d0481167538714f540e9825e930d57457c923b77e2a9be71e8a6e382b70f375e85e68f0ebf9a65b61b835d62df0a5958a21198d9049088cdbe32c81efc SHA512 07a9b6a10a47afafde8f5db1e463c70198d386e07737666e044de291eab4b425d76bc8124153b7c371248f0c9aedc01578a90e513d744e3f30d26ab22c940698 -EBUILD angband-4.2.2-r1.ebuild 2216 BLAKE2B e4ca544854d34f212865edcf7d032768721160e2ade64eb4407abe4a904c137d03b25378b14f550676e51b0bc27b6a7707eb65aa7d9bc4dbdc1212f7f6e2559d SHA512 80a7f0472322f7dff7de922e4062241c8b7bf333bad7303fd267f7e2135c02cd2fc949776bb5e494096cb63c88c00c693f695059b8cd61ef0b6b0c0f245fcab6 +EBUILD angband-4.2.2-r2.ebuild 2221 BLAKE2B edb26551867d6fc5f95637ba1a6d48b2e57e294332132eca2efbf67fb54dd6b2fe6b24fd3e00e2e9ca07d606caf0147e3bc6b5bda5326bd7451ec4f4029bcdae SHA512 c37c85800853d0b70d4e05afdf908d864079a312af2a088ab80e7a630a0e7b3574a2406fd218564bd088550cde558dba63ea30d459b5e8654b7e0ff3cb3b7b12 MISC metadata.xml 431 BLAKE2B 5b6bb43490c97c194a1f2bb5da7e6f215659778811ba52ba5b8351bffd14eacfeec96a48ebc029b799617d4a3216803518a2d3b4710cdac923feaf57c5a74ef8 SHA512 ef75f9e354f3f11219c64c8d35ba5a12ef30b0a4b77f4399287883990e6675e4160f58b43a3fc46822a363a8a8b63c67c06de6474a293d15c666e60dc2c90847 diff --git a/games-roguelike/angband/angband-4.2.2-r1.ebuild b/games-roguelike/angband/angband-4.2.2-r1.ebuild deleted file mode 100644 index 8f5865d89946..000000000000 --- a/games-roguelike/angband/angband-4.2.2-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop xdg-utils - -DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien" -HOMEPAGE="https://rephial.org/" -SRC_URI="https://github.com/angband/angband/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~steils/distfiles/${P}-man.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="+ncurses sdl sound +X" - -REQUIRED_USE="sound? ( sdl ) - || ( X ncurses )" - -RDEPEND="X? ( - media-fonts/font-misc-misc - x11-libs/libX11 - ) - ncurses? ( sys-libs/ncurses:=[unicode(+)] ) - sdl? ( - media-libs/libsdl2[video,X] - media-libs/sdl2-image - media-libs/sdl2-ttf - sound? ( - media-libs/libsdl2[sound] - media-libs/sdl2-mixer[mp3] - ) - )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - sed -i -e '/libpath/s#datarootdir#datadir#' configure.ac || die - sed -i -e "/^.SILENT/d" mk/buildsys.mk.in || die - - if use !sound ; then - sed -i -e 's/sounds//' lib/Makefile || die - fi - - # Game constant files are now system config files in Angband, but - # users will be hidden from applying updates by default - { - echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/customize/\"" - echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/gamedata/\"" - } > "${T}"/99${PN} || die - - eautoreconf -} - -src_configure() { - local myconf=( - --bindir="${EPREFIX}"/usr/bin - --with-private-dirs - $(use_enable X x11) - $(use_enable ncurses curses) - ) - if use sdl; then - myconf+=( - --enable-sdl2 - $(use_enable sound sdl2-mixer) - ) - fi - - econf "${myconf[@]}" -} - -src_install() { - default - - dodoc changes.txt README.md - doman "${WORKDIR}"/${PN}.1 - doenvd "${T}"/99${PN} - - if use X || use sdl; then - use X && make_desktop_entry "angband -mx11" "Angband (X11)" "${PN}" - use sdl && make_desktop_entry "angband -msdl2" "Angband (SDL2)" "${PN}" - - local s - for s in 16 32 128 256 512; do - newicon -s ${s} lib/icons/att-${s}.png "${PN}.png" - done - newicon -s scalable lib/icons/att.svg "${PN}.svg" - fi -} - -pkg_postinst() { - if use X || use sdl; then - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use X || use sdl; then - xdg_icon_cache_update - fi -} diff --git a/games-roguelike/angband/angband-4.2.2-r2.ebuild b/games-roguelike/angband/angband-4.2.2-r2.ebuild new file mode 100644 index 000000000000..4fad7e5591c7 --- /dev/null +++ b/games-roguelike/angband/angband-4.2.2-r2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop xdg-utils + +DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien" +HOMEPAGE="https://rephial.org/" +SRC_URI="https://github.com/angband/angband/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~steils/distfiles/${P}-man.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="+ncurses sdl sound +X" + +REQUIRED_USE="sound? ( sdl ) + || ( X ncurses )" + +RDEPEND="X? ( + media-fonts/font-misc-misc + x11-libs/libX11 + ) + ncurses? ( sys-libs/ncurses:=[unicode(+)] ) + sdl? ( + media-libs/libsdl2[video,X] + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + sound? ( + media-libs/libsdl2[sound] + media-libs/sdl2-mixer[mp3] + ) + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + sed -i -e '/libpath/s#datarootdir#datadir#' configure.ac || die + sed -i -e "/^.SILENT/d" mk/buildsys.mk.in || die + + if use !sound ; then + sed -i -e 's/sounds//' lib/Makefile || die + fi + + # Game constant files are now system config files in Angband, but + # users will be hidden from applying updates by default + { + echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/customize/\"" + echo "CONFIG_PROTECT_MASK=\"/etc/${PN}/gamedata/\"" + } > "${T}"/99${PN} || die + + eautoreconf +} + +src_configure() { + local myconf=( + --bindir="${EPREFIX}"/usr/bin + --with-private-dirs + $(use_enable X x11) + $(use_enable ncurses curses) + ) + if use sdl; then + myconf+=( + --enable-sdl2 + $(use_enable sound sdl2-mixer) + ) + fi + + econf "${myconf[@]}" +} + +src_install() { + default + + dodoc changes.txt README.md + doman "${WORKDIR}"/${PN}.1 + doenvd "${T}"/99${PN} + + if use X || use sdl; then + use X && make_desktop_entry "angband -mx11" "Angband (X11)" "${PN}" + use sdl && make_desktop_entry "angband -msdl2" "Angband (SDL2)" "${PN}" + + local s + for s in 16 32 128 256 512; do + newicon -s ${s} lib/icons/att-${s}.png "${PN}.png" + done + newicon -s scalable lib/icons/att.svg "${PN}.svg" + fi +} + +pkg_postinst() { + if use X || use sdl; then + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use X || use sdl; then + xdg_icon_cache_update + fi +} -- cgit v1.2.3