diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-11-30 09:57:53 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-11-30 09:57:53 +0000 |
commit | 5ad447d42315fbe68d6bea0cd4b798b2a482b073 (patch) | |
tree | 08ce31c0c6ce34fce4b3edbddb84f0ad45b744f7 /games-roguelike | |
parent | games-roguelike/dwarf-fortress: Games Project take over as maintainer (diff) | |
download | gentoo-5ad447d42315fbe68d6bea0cd4b798b2a482b073.tar.gz gentoo-5ad447d42315fbe68d6bea0cd4b798b2a482b073.tar.bz2 gentoo-5ad447d42315fbe68d6bea0cd4b798b2a482b073.zip |
games-roguelike/dwarf-fortress: Drop old 0.43.05
Package-Manager: Portage-2.3.80, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/dwarf-fortress/Manifest | 2 | ||||
-rw-r--r-- | games-roguelike/dwarf-fortress/dwarf-fortress-0.43.05.ebuild | 84 | ||||
-rw-r--r-- | games-roguelike/dwarf-fortress/files/Makefile | 32 |
3 files changed, 0 insertions, 118 deletions
diff --git a/games-roguelike/dwarf-fortress/Manifest b/games-roguelike/dwarf-fortress/Manifest index 00459266327b..c42a144cfc72 100644 --- a/games-roguelike/dwarf-fortress/Manifest +++ b/games-roguelike/dwarf-fortress/Manifest @@ -1,4 +1,2 @@ -DIST df_43_05_linux.tar.bz2 11580594 BLAKE2B 7157f8ed5f8798a533d992811c804515acc8abb3bb84b25af6905fd6b2338e95879e318bec0dade18f1eba1421d17a781d1da8b49c719988d2cb6d7046b0c3be SHA512 502e6bac0bdd5586fb6b4e1117caf144a0336a7eed3ed9350ec316e4a286e309a15e0738517c0dd7d32f182984c501c7a8756e942d3dde9fb87f72b153f38e7a -DIST df_43_05_linux32.tar.bz2 12158550 BLAKE2B 4c1f5ad834aa0a2b6438b8aaf0b0ad6cfc60656f58845a274ac3d8ad7e09182d7263e3a495d1bff0b1fb5499097569216fac0bc87cff95fc6a85e3211acc297d SHA512 d0446ddb5c37ee45ade36b18b815595e8d7bfd9749af4ecd2f25b45859d797a9da70f2344e2c58544feafc7df06882ade8a10534c37754359747c0d37f084b7c DIST df_44_12_linux.tar.bz2 12081683 BLAKE2B 2410e8da6af6a8ced45d3e95dc06e2d0f4e31dbdcd6b8d9945a761d2278532bb24c1095418aa22639eedded256b3d485fa128984e6282a491d4dc7bd9af8671b SHA512 03cd7f6800d44873b573cc5bffb12c7a246c3aba0ee8535001372df689a5179dc02592670fd87f2fd5de82421605f34152f6241307c8f7b9fb4d7b8704aed70c DIST df_44_12_linux32.tar.bz2 12686340 BLAKE2B bf1e1370930d91d2c9e72d3366bc79706092d1505853eb63c6160fea39822551d3276958ac6d2916b8f7825be0c054a037219210f0c2c18a731065a2dd1bb842 SHA512 5cd352acf310592c7e30442205b7fe590f421c5e3562959dcfd32a17d3d562347c2b32e3bc5835637c5550ce2c696c17b6dc910ee4cf766be07af306e83537db diff --git a/games-roguelike/dwarf-fortress/dwarf-fortress-0.43.05.ebuild b/games-roguelike/dwarf-fortress/dwarf-fortress-0.43.05.ebuild deleted file mode 100644 index 1407c994deae..000000000000 --- a/games-roguelike/dwarf-fortress/dwarf-fortress-0.43.05.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit versionator toolchain-funcs - -MY_PV=$(replace_all_version_separators _ "$(get_version_component_range 2-)") -MY_PN=df -MY_P=${MY_PN}_${MY_PV} - -DESCRIPTION="A single-player fantasy game" -HOMEPAGE="http://www.bay12games.com/dwarves" -SRC_URI="amd64? ( http://www.bay12games.com/dwarves/${MY_P}_linux.tar.bz2 ) - x86? ( http://www.bay12games.com/dwarves/${MY_P}_linux32.tar.bz2 )" - -LICENSE="free-noncomm BSD BitstreamVera" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="debug" - -RDEPEND="media-libs/glew:0 - media-libs/libsdl[joystick,video] - media-libs/sdl-image[png] - media-libs/sdl-ttf - sys-libs/zlib - virtual/glu - x11-libs/gtk+:2" -# Yup, libsndfile, openal and ncurses are only needed at compile-time; the code -# dlopens them at runtime if requested. -DEPEND="${RDEPEND} - media-libs/libsndfile - media-libs/openal - sys-libs/ncurses-compat:5[unicode] - virtual/pkgconfig" - -S=${WORKDIR}/${MY_PN}_linux - -gamesdir="/opt/${PN}" -QA_PREBUILT="${gamesdir#/}/libs/Dwarf_Fortress" -RESTRICT="strip" - -src_prepare() { - rm -f libs/*.so* || die - sed -i -e '1i#include <cmath>' g_src/ttf_manager.cpp || die - default -} - -src_configure() { - tc-export CXX PKG_CONFIG - CXXFLAGS+=" -D$(use debug || echo N)DEBUG" -} - -src_compile() { - emake -f "${FILESDIR}/Makefile.native" - sed -e "s:^gamesdir=.*:gamesdir=${gamesdir}:" "${FILESDIR}/dwarf-fortress" > dwarf-fortress || die -} - -src_install() { - # install data-files and libs - insinto "${gamesdir}" - doins -r raw data libs - - # install our wrapper - dobin dwarf-fortress - - # install docs - dodoc README.linux *.txt - - fperms 755 "${gamesdir}"/libs/Dwarf_Fortress -} - -pkg_postinst() { - elog "System-wide Dwarf Fortress has been installed to ${gamesdir}. This is" - elog "symlinked to ~/.dwarf-fortress when dwarf-fortress is run." - elog "For more information on what exactly is replaced, see /usr/bin/dwarf-fortress." - elog "Note: This means that the primary entry point is /usr/bin/dwarf-fortress." - elog "Do not run ${gamesdir}/libs/Dwarf_Fortress." - elog - elog "Optional runtime dependencies:" - elog "Install sys-libs/ncurses[unicode] for [PRINT_MODE:TEXT]" - elog "Install media-libs/openal and media-libs/libsndfile for audio output" - elog "Install media-libs/libsdl[opengl] for the OpenGL PRINT_MODE settings" -} diff --git a/games-roguelike/dwarf-fortress/files/Makefile b/games-roguelike/dwarf-fortress/files/Makefile deleted file mode 100644 index 856670b6a67e..000000000000 --- a/games-roguelike/dwarf-fortress/files/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2014-2016 Alex Xu (Hello71) -# Distributed under the terms of the GNU General Public License v2 - -PKG_CONFIG ?= pkg-config -PKG_CONFIG_PATH ?= /usr/lib32/pkgconfig:/usr/lib/pkgconfig -PKG_CONFIG := PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) - -SRCS := g_src/basics.cpp g_src/command_line.cpp g_src/enabler.cpp \ - g_src/files.cpp g_src/find_files_posix.cpp g_src/graphics.cpp \ - g_src/init.cpp g_src/interface.cpp g_src/keybindings.cpp \ - g_src/music_and_sound_openal.cpp g_src/random.cpp g_src/textlines.cpp \ - g_src/enabler_input.cpp g_src/KeybindingScreen.cpp \ - g_src/win32_compat.cpp g_src/textures.cpp g_src/resize++.cpp \ - g_src/renderer_offscreen.cpp g_src/ttf_manager.cpp g_src/ViewBase.cpp -OBJS := $(SRCS:.cpp=.o) - -BLIBS := ncursesw openal sndfile -LIBS := glew glu gtk+-2.0 sdl SDL_image SDL_ttf zlib -CXXFLAGS ?= -O2 -pipe -Wall -Wextra -CXXFLAGS += -m32 $(shell $(PKG_CONFIG) --cflags $(BLIBS) $(LIBS)) -Dunix -Dlinux -fPIC -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -LDLIBS := $(shell $(PKG_CONFIG) --libs $(LIBS)) - -LG := libs/libgraphics.so - -all: $(LG) -$(LG): $(OBJS) - $(LINK.cpp) -shared $^ $(LDLIBS) -o $@ - -clean: - $(RM) $(LG) $(OBJS) - -.PHONY: clean |