summaryrefslogtreecommitdiff
path: root/games-roguelike/angband
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/angband')
-rw-r--r--games-roguelike/angband/Manifest3
-rw-r--r--games-roguelike/angband/angband-4.0.4.ebuild116
-rw-r--r--games-roguelike/angband/angband-4.0.5.ebuild116
3 files changed, 0 insertions, 235 deletions
diff --git a/games-roguelike/angband/Manifest b/games-roguelike/angband/Manifest
index fa789ed3c77e..efba74be21fa 100644
--- a/games-roguelike/angband/Manifest
+++ b/games-roguelike/angband/Manifest
@@ -1,7 +1,4 @@
AUX angband-4.0.5-pie-gcc.patch 453 BLAKE2B f303fd00ae875a12159027c1e4f7c48017dcddd300b72095c2d91ad3a532bf40b7a2c3267bfa6906e27452651ccd99e05aa26108e44ddabeb9107cbc9c85de06 SHA512 1173ab1e5eebfba393d34085d6896b9633ec5be4914cfe3925082b6ff8ba8194b6a85970c998dc268d84e71ac524b885a66becbaa2a28ee17acfc11d4957fb3a
-DIST angband-4.0.4.tar.gz 19888293 BLAKE2B 4882baa3c77d1b358c9df093e64e8e8b8fcce7195d2d8944485b3fab9ab545422ce00953ba17df8e415d5795d06be34538325f4d808232d1152c2b92d84305a1 SHA512 73dbf0782f042dbc5ee9fe42430041f447a58ec14076280d2d6a44ec2b338dd4a7c220dc36f1b214380852283fb0d6e56fb338c2da95911b450714fb7f71e680
DIST angband-4.0.5.tar.gz 19886562 BLAKE2B 3b8410187a66dacc5f2310e116f3abe8ca04e1363701d455df68f3daaf2a23b0ad4811cee2a50129e1f8e096c6ee9e40f8879b25e97510946b4e4ac2a9124631 SHA512 9ad46430d7e3c4b7676042b28107a2a5b9b2ed967dd1f45b91ca37583fa2d5e9ba25d963a6510ee091b8fdb3a704a60002d851d7898a6298567f804dce36a88b
-EBUILD angband-4.0.4.ebuild 2691 BLAKE2B 32c6dafa7ca53e5a55eca71c5e300500d40674d27125b5ee06e9ce7446f19e7f6b9d21f14133d19f3148bf581b78b8e6039ba523b0c3d06c596dd75d5bd7589c SHA512 74a36faee1d1a69972263cfa87f381c384aa151fc0ddfb458dac2e17770cc9d907ecbf126e8a943617a9044c9a29459dabfeb949a84f4fdd83e45fb0f1fd97df
EBUILD angband-4.0.5-r1.ebuild 2650 BLAKE2B eea5b92cbf3a3ae69b0a01dacbfcdfd61804acf75ede21be3c16f81d4b884a1421025fb7e7bf8349eb1a4409bfb6beaa7166c3f1aeb469705b3122bc9ddbe15e SHA512 0dcb532baf61ee94461b055b6a3b63f5b17d42f849ea318815d8960b7c0ba6b3b31c2b72d42e7788481357bb9b0c8f0694849d44c0c7641ccb094f6ef5d5701c
-EBUILD angband-4.0.5.ebuild 2691 BLAKE2B 649788e90444edf22e551d02b68601b8128687fab358f4bc2d84c5389449483c7717300ef65d1146951a598334f2334ea18302ebf3de8db0598fe0f19baae8c0 SHA512 d1a20aee1d7edb00f34943816c69df9528a7bb0cc3abb4e1c3182f51dbf4aa858161b2562d8d231f2d66dfa5ec4421c7d201dc1bb386036f884c5cb6a4d51558
MISC metadata.xml 322 BLAKE2B 121663252d3cc2808c692febb987b8220f8f8b507598833bc42d31cf72566ac9c9c6cf01f54ea5ccdb18a011ee08ddcc21d6a33a85b7609be8b54b4520783483 SHA512 0f2cb75c7386183901d5790e27da590b8e529807f9c0ea1781d072645bf5605fd66589851189ec4b58ff7d711c00c3c0df2ab88acb96ed01079dbe2f8ac17b24
diff --git a/games-roguelike/angband/angband-4.0.4.ebuild b/games-roguelike/angband/angband-4.0.4.ebuild
deleted file mode 100644
index b0ff1088a530..000000000000
--- a/games-roguelike/angband/angband-4.0.4.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils gnome2-utils versionator games
-
-MAJOR_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien"
-HOMEPAGE="http://rephial.org/"
-SRC_URI="http://rephial.org/downloads/${MAJOR_PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ncurses sdl +sound X"
-
-RDEPEND="X? ( x11-libs/libX11 )
- !ncurses? ( !X? ( !sdl? ( sys-libs/ncurses:0=[unicode] ) ) )
- ncurses? ( sys-libs/ncurses:0=[unicode] )
- sdl? ( media-libs/libsdl[video,X]
- media-libs/sdl-ttf
- media-libs/sdl-image
- sound? ( media-libs/sdl-mixer[mp3]
- media-libs/libsdl[sound] ) )"
-DEPEND="${RDEPEND}
- dev-python/docutils
- virtual/pkgconfig"
-
-src_prepare() {
-
- sed -i -e '/libpath/s#datarootdir#datadir#' configure.ac || die
- sed -i -e "/^.SILENT/d" mk/buildsys.mk.in || die
- sed -i -e '/^DOC =/s/=.*/=/' doc/Makefile || 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=\"${GAMES_SYSCONFDIR}/${PN}/customize/\""
- echo "CONFIG_PROTECT_MASK=\"${GAMES_SYSCONFDIR}/${PN}/gamedata/\""
- } > "${T}"/99${PN} || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if use sdl; then
- myconf="$(use_enable sound sdl-mixer)"
- else
- myconf="--disable-sdl-mixer"
- fi
-
- ac_cv_path_NCURSES_CONFIG="pkg-config ncursesw" \
- egamesconf \
- --bindir="${GAMES_BINDIR}" \
- --with-private-dirs \
- $(use_enable X x11) \
- $(use_enable sdl) \
- $(use_enable ncurses curses) \
- $(use !sdl && use !ncurses && use !X && \
- echo --enable-curses) \
- ${myconf}
-}
-
-src_install() {
- DOCS="changes.txt faq.txt readme.txt thanks.txt" \
- default
-
- dohtml doc/manual.html
- doenvd "${T}"/99${PN}
-
- if use X || use sdl ; then
- if use X; then
- make_desktop_entry "angband -mx11" "Angband (X11)" "${PN}"
- fi
-
- if use sdl; then
- make_desktop_entry "angband -msdl" "Angband (SDL)" "${PN}"
- fi
-
- 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
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- if use X || use sdl ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- echo
- elog "Angband now uses private savefiles instead of system-wide ones."
- elog "This version of Angband is not compatible with the save files"
- elog "of previous versions."
- echo
-
- games_pkg_postinst
- if use X || use sdl ; then
- gnome2_icon_cache_update
- fi
-}
diff --git a/games-roguelike/angband/angband-4.0.5.ebuild b/games-roguelike/angband/angband-4.0.5.ebuild
deleted file mode 100644
index dca11093371c..000000000000
--- a/games-roguelike/angband/angband-4.0.5.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils gnome2-utils versionator games
-
-MAJOR_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien"
-HOMEPAGE="http://rephial.org/"
-SRC_URI="http://rephial.org/downloads/${MAJOR_PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ncurses sdl +sound X"
-
-RDEPEND="X? ( x11-libs/libX11 )
- !ncurses? ( !X? ( !sdl? ( sys-libs/ncurses:0=[unicode] ) ) )
- ncurses? ( sys-libs/ncurses:0=[unicode] )
- sdl? ( media-libs/libsdl[video,X]
- media-libs/sdl-ttf
- media-libs/sdl-image
- sound? ( media-libs/sdl-mixer[mp3]
- media-libs/libsdl[sound] ) )"
-DEPEND="${RDEPEND}
- dev-python/docutils
- virtual/pkgconfig"
-
-src_prepare() {
-
- sed -i -e '/libpath/s#datarootdir#datadir#' configure.ac || die
- sed -i -e "/^.SILENT/d" mk/buildsys.mk.in || die
- sed -i -e '/^DOC =/s/=.*/=/' doc/Makefile || 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=\"${GAMES_SYSCONFDIR}/${PN}/customize/\""
- echo "CONFIG_PROTECT_MASK=\"${GAMES_SYSCONFDIR}/${PN}/gamedata/\""
- } > "${T}"/99${PN} || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if use sdl; then
- myconf="$(use_enable sound sdl-mixer)"
- else
- myconf="--disable-sdl-mixer"
- fi
-
- ac_cv_path_NCURSES_CONFIG="pkg-config ncursesw" \
- egamesconf \
- --bindir="${GAMES_BINDIR}" \
- --with-private-dirs \
- $(use_enable X x11) \
- $(use_enable sdl) \
- $(use_enable ncurses curses) \
- $(use !sdl && use !ncurses && use !X && \
- echo --enable-curses) \
- ${myconf}
-}
-
-src_install() {
- DOCS="changes.txt faq.txt readme.txt thanks.txt" \
- default
-
- dohtml doc/manual.html
- doenvd "${T}"/99${PN}
-
- if use X || use sdl ; then
- if use X; then
- make_desktop_entry "angband -mx11" "Angband (X11)" "${PN}"
- fi
-
- if use sdl; then
- make_desktop_entry "angband -msdl" "Angband (SDL)" "${PN}"
- fi
-
- 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
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- if use X || use sdl ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- echo
- elog "Angband now uses private savefiles instead of system-wide ones."
- elog "This version of Angband is not compatible with the save files"
- elog "of previous versions."
- echo
-
- games_pkg_postinst
- if use X || use sdl ; then
- gnome2_icon_cache_update
- fi
-}