From 0cf2f20608308acdf3cb922c3736446bbd8f3388 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:58:29 +0100 Subject: gentoo resync : 14.07.2018 --- games-strategy/ufoai/Manifest | 6 - .../files/ufoai-2.5.0_p20180603-install.patch | 37 ----- games-strategy/ufoai/metadata.xml | 16 -- games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild | 166 --------------------- 4 files changed, 225 deletions(-) delete mode 100644 games-strategy/ufoai/Manifest delete mode 100644 games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch delete mode 100644 games-strategy/ufoai/metadata.xml delete mode 100644 games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild (limited to 'games-strategy/ufoai') diff --git a/games-strategy/ufoai/Manifest b/games-strategy/ufoai/Manifest deleted file mode 100644 index afc325d031c8..000000000000 --- a/games-strategy/ufoai/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX ufoai-2.5.0_p20180603-install.patch 1097 BLAKE2B b2c1f2761429dafd2ffad037e5adf981e5062eb75bffaac51c127fe056e00da59238d91a0b1916d6325ea7e643a87e0945ac3ef20d8f2b958cc88904d96ed9c3 SHA512 b8a61ca5be370bc7fec5d97317e950b2654e6ffe4ffef4473b64f1a37af5dfbfa9152ef4e5bb11e2217bdadae04e7499ef19b67bfdfb32c5ab4a200ac5798ffc -DIST ufoai-2.5-data.tar 1277143040 BLAKE2B 20795ec6ebc976087f28fd0e912190bd9094494cc1b206bcc8e1956dec148cb7ab96f244db22e4836b91c0ecfae794cd206296e898015453d8ad6625d4e4ab32 SHA512 9a7be359c82cd633db657c8619cb488b5d41b9f93cd10bdeffd5896d8a1ba3bb828b5969acd14c2a69abb3f53f18113af4ca19435aea80ded94d8df68b11deec -DIST ufoai-2.5-mappack.tar.bz2 12200150 BLAKE2B d20f96f74a4b71a4ff55e4e3f81380ee35a71c6e34d35e6300487c916f2d836e240428e8f8529cca13d46ccd5440e7f59d5bfe5f451a2cd84469f8f1e85dc796 SHA512 0f44cc3d99ceb80f91e5df0f7cbd57ce3170f5635feb082c002ab9a0f4f81216b05c346c698475c33e88f97032186f4620bad71d02bfa95ecb5c5d4f68c71994 -DIST ufoai-code-8b4533e85fdc0665889ff285e1521432084ee784.zip 33194032 BLAKE2B caebfe5ca0eaa6376659d4aa69132c29aa4af870135a769af3541bd919164d79ab9dfe8007a40bb95507a443f6f1d968bb85b1befe8b6999f9033a0d74d7a7fb SHA512 825ca6f8ac76a3a60746ac1be4406445dd18bab80372c21c2ddfcf4d999db8549614df41386e94197013bb7b4b342ac6d9be8c969b5e1be79e8ee25cf45719c6 -EBUILD ufoai-2.5.0_p20180603.ebuild 3972 BLAKE2B dc47c6537bbf7f4f824300bb639009b64d7cb27fe0f36a334c79617fdac03ab4c4c7d2ef1068121c8730c8775bdc988828496f9366507dde30154b756ecf78f8 SHA512 65256cda61fda4e051a859836841fa8575e8dd224242781e7b444c403bc51ef71807eed6ba919194a9d31719b64c67a430df3b92959ff0f4654b04bf7a38f6e6 -MISC metadata.xml 536 BLAKE2B d0037cae0706304da8c17767d8980eadd1b437bce5f75e980e3a42113b2596d6ed0017962720a9f0c1cc726ceb63028249d5b87b57cf1166dee03d4b884f5d42 SHA512 e02322e3077645800fdc90673261658fe0c33f5e20282cdf40a1867ce85e07e79967f38999031c652f259520489cc65942ae252f8a26182cbdeae6ac5024271d diff --git a/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch b/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch deleted file mode 100644 index 5c92f433e279..000000000000 --- a/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch +++ /dev/null @@ -1,37 +0,0 @@ -* Prevent stripping -* Prevent installation of useless wrappers -* Install binaries to the right locations - -Chewi -2018/06/05 - -diff -Naur a/Makefile b/Makefile ---- a/Makefile 2018-06-03 21:55:40.000000000 +0100 -+++ b/Makefile 2018-06-05 22:29:08.666944853 +0100 -@@ -33,8 +33,8 @@ - CONFIGURE_PREFIX ?= - - INSTALL ?= install --INSTALL_PROGRAM ?= $(INSTALL) -m 755 -s --INSTALL_SCRIPT ?= $(INSTALL) -m 755 -+INSTALL_PROGRAM ?= $(INSTALL) -m 755 -+INSTALL_SCRIPT ?= true - INSTALL_DIR ?= $(INSTALL) -d - INSTALL_MAN ?= $(INSTALL) -m 444 - INSTALL_DATA ?= $(INSTALL) -m 444 -@@ -162,8 +162,13 @@ - - install-$(1): $($(1)_FILE) - @echo 'Install $$<' -- $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGDATADIR)/$(dir $($(1)_FILE)) -- $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGDATADIR)/$$< -+ $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGBINDIR)/ -+ $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGBINDIR)/ -+ -+install-game: $(game_FILE) -+ @echo 'Install $$<' -+ $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGLIBDIR)/ -+ $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGLIBDIR)/$(notdir $(game_FILE)) - - uninstall-$(1): - @echo 'Uninstall $($(1)_FILE)' diff --git a/games-strategy/ufoai/metadata.xml b/games-strategy/ufoai/metadata.xml deleted file mode 100644 index 916e44355c73..000000000000 --- a/games-strategy/ufoai/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - - Build the main game client - Build the map editor and compiler - Build the dedicated server - - - ufoai - - diff --git a/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild b/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild deleted file mode 100644 index 0fd98165739d..000000000000 --- a/games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop flag-o-matic gnome2-utils toolchain-funcs versionator - -# 2.5.0 requires several patches -COMMIT="8b4533e85fdc0665889ff285e1521432084ee784" - -# UFO:AI v2.5.0 was uploaded to SourceForge as 2.5 -DIST_VERSION=$(get_version_component_range 1-2) - -# Install game data here -DATADIR="/usr/share/${PN}" - -DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game" -HOMEPAGE="https://ufoai.org/" -SRC_URI=" - https://dev.gentoo.org/~chewi/distfiles/${PN}-code-${COMMIT}.zip - mirror://sourceforge/${PN}/${PN}-${DIST_VERSION}-data.tar - editor? ( mirror://sourceforge/${PN}/${PN}-${DIST_VERSION}-mappack.tar.bz2 ) -" - -# https://ufoai.org/licenses/ -LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0 MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+client cpu_flags_x86_sse debug editor server" -REQUIRED_USE="|| ( client editor server )" - -RDEPEND=" - net-misc/curl - sys-libs/zlib - - client? ( - media-libs/libogg - media-libs/libpng:0= - media-libs/libsdl2[joystick,opengl,sound,threads,video] - media-libs/libtheora - media-libs/libvorbis - media-libs/sdl2-mixer - media-libs/sdl2-ttf - media-libs/xvid - virtual/jpeg:0 - virtual/opengl - ) - - editor? ( - dev-libs/glib:2 - dev-libs/libxml2:2 - media-libs/libogg - media-libs/libpng:0= - media-libs/libsdl2[joystick,opengl,sound,threads,video] - media-libs/libvorbis - media-libs/openal - virtual/glu - virtual/jpeg:0 - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - x11-libs/gtkglext - x11-libs/gtksourceview:2.0 - ) - - server? ( - media-libs/libsdl2[threads] - ) -" - -DEPEND=" - ${RDEPEND} - app-arch/unzip - sys-devel/gettext - virtual/pkgconfig -" - -S="${WORKDIR}/${PN}-code-${COMMIT}" -PATCHES=( "${FILESDIR}"/${P}-install.patch ) - -src_unpack() { - use editor && unpack ${PN}-${DIST_VERSION}-mappack.tar.bz2 - unpack ${PN}-code-${COMMIT}.zip - cd "${S}" || die - unpack ${PN}-${DIST_VERSION}-data.tar -} - -src_prepare() { - default - - # Make the build system a bit happier, will be fixed upstream - mkdir -p base/{maps,models} contrib/installer/mojosetup/scripts || die -} - -src_configure() { - # Avoid noise, will be present in 2.6 - append-cxxflags -Wno-expansion-to-defined - - # The configure script of UFO:AI is hand crafted and a bit special - # econf does not work: "invalid option --build=x86_64-pc-linux-gnu" - local config=( - --prefix="${EPREFIX}"/usr - --datadir="${EPREFIX}${DATADIR}" - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} - --localedir="${EPREFIX}"/usr/share/locale - --disable-dependency-tracking - --disable-paranoid - --disable-memory - --disable-testall - --disable-ufomodel - --disable-ufoslicer - $(use_enable cpu_flags_x86_sse sse) - $(use_enable !debug release) - $(use_enable server ufoded) - $(use_enable client ufo) - $(use_enable editor uforadiant) - $(use_enable editor ufo2map) - ) - - if use client || use server; then - config+=( --enable-game ) - else - config+=( --disable-game ) - fi - - echo ./configure "${config[@]}" - - CC=$(tc-getCC) CXX=$(tc-getCXX) \ - ./configure "${config[@]}" || die "configure failed" -} - -src_compile() { - emake all lang Q= -} - -src_install() { - newicon -s 32 src/ports/linux/ufo.png ${PN}.png - emake install Q= DESTDIR="${D}" - - if use client; then - doman debian/ufo.6 - make_desktop_entry ufo "UFO: Alien Invasion" ${PN} - fi - - if use server; then - doman debian/ufoded.6 - make_desktop_entry ufoded "UFO: Alien Invasion Server" ${PN} "Game;StrategyGame" "Terminal=true" - fi - - if use editor; then - doman debian/ufo{2map,radiant}.6 - make_desktop_entry uforadiant "UFO: Alien Invasion Map editor" ${PN} - - # Install map editor data (without the binary) - rm radiant/uforadiant || die - insinto "${DATADIR}" - doins -r radiant - - # Install map sources - insinto "${DATADIR}"/base/maps - doins -r "${WORKDIR}"/${PN}-${DIST_VERSION}-mappack/* - fi -} - -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } -- cgit v1.2.3