commit:     6c9be387d23070ad14e4aad6feac79cfa58f9ee7
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Feb 10 18:03:04 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Feb 10 18:11:13 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=6c9be387

dev-games/netradiant: remove live version

Cannot build, deprecated eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 dev-games/netradiant/metadata.xml           |   2 -
 dev-games/netradiant/netradiant-9999.ebuild | 254 ----------------------------
 2 files changed, 256 deletions(-)

diff --git a/dev-games/netradiant/metadata.xml 
b/dev-games/netradiant/metadata.xml
index b9a2cb3..2354e25 100644
--- a/dev-games/netradiant/metadata.xml
+++ b/dev-games/netradiant/metadata.xml
@@ -18,9 +18,7 @@
                <flag name='quake1'>Install Quake non GPL pack</flag>
                <flag name='quake2'>Install Quake2 non GPL pack</flag>
                <flag name='quake2world'>Install Quake2World pack</flag>
-               <flag name='quake3'>Install Quake3 non GPL pack</flag>
                <flag name='tremulous'>Install Tremulous non GPL pack</flag>
-               <flag name='ufoai'>Install UFO: Alien Invasion non GPL 
pack</flag>
                <flag name='warsow'>Install Warsow pack</flag>
                <flag name='xonotic'>Install Xonotic pack</flag>
        </use>

diff --git a/dev-games/netradiant/netradiant-9999.ebuild 
b/dev-games/netradiant/netradiant-9999.ebuild
deleted file mode 100644
index ee621d1..0000000
--- a/dev-games/netradiant/netradiant-9999.ebuild
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-EGIT_NOUNPACK="true"
-ESVN_DISABLE_DEPENDENCIES="true"
-ESVN_OPTIONS="--trust-server-cert --non-interactive"
-
-inherit eutils multilib toolchain-funcs subversion git-2
-
-RADIANT_MAJOR_VERSION="5"
-RADIANT_MINOR_VERSION="0"
-DESCRIPTION="NetRadiant is a fork of map editor for Q3 based games, GtkRadiant 
1.5"
-HOMEPAGE="http://dev.alientrap.org/projects/netradiant";
-EGIT_REPO_URI="git://git.xonotic.org/xonotic/netradiant.git"
-BASE_ZIP_URI="http://ingar.satgnu.net/files/gtkradiant/gamepacks/";
-SRC_URI="
-       osirion? ( ${BASE_ZIP_URI}/OsirionPack.zip )
-       quake1? ( ${BASE_ZIP_URI}/Quake1Pack.zip )
-       warsow? ( ${BASE_ZIP_URI}/WarsowPack.zip )
-       !bindist? (
-               openarena? ( ${BASE_ZIP_URI}/OpenArenaPack.zip )
-               quake2? ( ${BASE_ZIP_URI}/Quake2Pack.zip )
-               tremulous? ( ${BASE_ZIP_URI}/TremulousPack.zip )
-       )
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-RADIANT_GPL_PACKS="darkplaces nexuiz osirion quake1 quake2world warsow 
+xonotic"
-RADIANT_NONGPL_PACKS="openarena quake2 quake3 tremulous ufoai"
-RADIANT_TOOLS="h2data q2map q3data q3map2 qdata3"
-RADIANT_PACKS="${RADIANT_GPL_PACKS} ${RADIANT_NONGPL_PACKS}"
-RADIANT_BINS=" ${RADIANT_TOOLS} gtk"
-IUSE="${RADIANT_PACKS} ${RADIANT_BINS// / +} bindist"
-
-RDEPEND="
-       dev-libs/glib:2
-       dev-libs/libxml2
-       >=media-libs/libpng-1.2
-       >=sys-libs/zlib-1.2
-       gtk? (
-               >=x11-libs/gtk+-2.4:2
-               >=x11-libs/gtkglext-1
-               x11-libs/pango
-       )
-       !dev-games/gtkradiant
-"
-DEPEND="${RDEPEND}
-       dev-vcs/subversion
-       virtual/pkgconfig
-       osirion? ( app-arch/unzip )
-       quake1? ( app-arch/unzip )
-       warsow? ( app-arch/unzip )
-       xonotic? ( net-misc/wget )
-       !bindist? (
-               openarena? ( app-arch/unzip )
-               quake2? ( app-arch/unzip )
-               tremulous? ( app-arch/unzip )
-       )
-"
-WGET="/usr/bin/wget -t 3 -T 60"
-
-radiant_svn_unpack() {
-       if use ${1}; then
-               cd "${WORKDIR}/packs/" || die
-               ESVN_REPO_URI="${2}" \
-               ESVN_PROJECT="${PN}-${1}" \
-               S="${WORKDIR}/packs/${1}" \
-               subversion_fetch
-       fi
-}
-
-radiant_zip_unpack() {
-               if use ${1,,}; then
-                       cd "${WORKDIR}/packs/" || die
-                       unpack "${1}Pack.zip"
-                       mv ${1}Pack ${1,,} || die
-               fi
-}
-
-pkg_setup() {
-       targets=""
-       for i in ${RADIANT_BINS};do
-               if use $i; then
-                       targets+=" ${i/gtk/radiant}"
-               fi
-       done
-       if [ "x$targets" = "x" ]; then
-               targets=" q3map2"
-               ewarn "You disabled all binaries: defaulting to USE=\"q3map2\""
-       fi
-}
-
-src_unpack() {
-       git-2_src_unpack
-
-       if use gtk; then
-               mkdir "${WORKDIR}/packs/" || die
-
-               radiant_svn_unpack darkplaces \
-                       
"svn://svn.icculus.org/gtkradiant-gamepacks/DarkPlacesPack/branches/1.5/"
-               radiant_svn_unpack quake2world \
-                       "svn://jdolan.dyndns.org/quake2world/trunk/gtkradiant"
-               radiant_zip_unpack Osirion
-               radiant_zip_unpack Quake1
-               radiant_zip_unpack Warsow
-
-               if use nexuiz; then
-                       cd "${WORKDIR}/packs/" || die
-                       ewarn "Using \"git archive\" directly for downloading 
from http://git.xonotic.org/";
-                       ewarn "This might be potential security risk, make sure 
that you know what you are doing"
-                       git archive \
-                               
--remote="git://git.icculus.org/divverent/nexuiz.git" \
-                               --prefix="nexuiz/" \
-                               master:misc/netradiant-NexuizPack \
-                               | tar xvf - 2>/dev/null || die
-               fi
-
-               if use xonotic; then
-                       unset EGIT_MASTER EGIT_BRANCH EGIT_COMMIT EGIT_PROJECT
-                       
EGIT_REPO_URI="git://git.xonotic.org/xonotic/netradiant-xonoticpack.git" \
-                       EGIT_PROJECT="${PN}-xonotic" \
-                       EGIT_SOURCEDIR="${WORKDIR}/packs/xonotic" \
-                       git-2_src_unpack
-
-                       cd "${WORKDIR}/packs/xonotic" || die
-                       ewarn "Using \"wget\" directly for downloading from 
http://git.xonotic.org/";
-                       ewarn "This might be potential security risk, make sure 
that you know what you are doing"
-                       while IFS="     " read -r FILE URL; do
-                               $WGET -O "$FILE" "$URL" || die
-                       done < "extra-urls.txt"
-               fi
-
-               if use !bindist; then
-                       MY_RADIANT_PACKS="${RADIANT_GPL_PACKS//+/} 
${RADIANT_NONGPL_PACKS}"
-                       radiant_svn_unpack ufoai \
-                               
"svn://svn.icculus.org/gtkradiant-gamepacks/UFOAIPack/branches/1.5/"
-
-                       radiant_zip_unpack OpenArena
-                       radiant_zip_unpack Quake2
-                       radiant_zip_unpack Tremulous
-
-                       if use quake3; then
-                               
ESVN_REPO_URI="svn://svn.icculus.org/gtkradiant-gamepacks/Q3Pack/trunk/" \
-                               ESVN_PROJECT="${PN}-quake3" \
-                               ESVN_REVISION="29" \
-                               S="${WORKDIR}/packs/quake3-tmp" \
-                               subversion_fetch
-                               cd "${WORKDIR}/packs/" || die
-                               mv quake3-tmp/tools quake3 || die
-                               rm -rf quake3-tmp || die
-                       fi
-               else
-                       MY_RADIANT_PACKS="${RADIANT_GPL_PACKS//+/}"
-                       for i in ${RADIANT_NONGPL_PACKS}; do
-                               if use ${i}; then
-                                       ewarn "USE bindist disables ${i} non 
GPL pack"
-                               fi
-                       done
-               fi
-       fi
-}
-
-src_prepare() {
-       sed -e '/$(INSTALLDIR)/s,heretic2/h2data,/h2data,' \
-               -i Makefile || die
-}
-
-src_configure() {
-       tc-export CC CXX AR RANLIB
-
-       export TEE_STDERR=""
-
-       # dependencies-check wants gtk
-       if use gtk; then
-               emake dependencies-check
-       fi
-}
-
-src_compile() {
-       emake ${targets// / binaries-}
-}
-
-src_install() {
-       insinto /usr/$(get_libdir)/${PN}
-       doins \
-               setup/data/tools/q3data.qdt
-
-       dodoc ChangeLog ChangeLog.idsoftware CONTRIBUTORS 
tools/quake3/q3map2/changelog.q3map{1,2.txt}
-
-       pushd install || die
-       exeinto /usr/$(get_libdir)/${PN}
-       for i in ${targets}; do
-               doexe ${i}.x86
-               dosym /usr/$(get_libdir)/${PN}/${i}.x86 /usr/bin/${i}
-       done
-
-       # radiant
-       if use gtk; then
-               dosym /usr/$(get_libdir)/${PN}/radiant.x86 /usr/bin/${PN}
-
-               newicon "${S}"/icons/radiant-src.png ${PN}.png
-               make_desktop_entry ${PN} NetRadiant ${PN} "Development;GTK;"
-
-               # modules
-               insinto /usr/$(get_libdir)/${PN}/modules
-               doins modules/*.so
-
-               # plugins
-               insinto /usr/$(get_libdir)/${PN}/plugins
-               doins plugins/*.so
-
-               # data
-               popd || die
-               echo "$RADIANT_MINOR_VERSION" > RADIANT_MINOR || die
-               echo "$RADIANT_MAJOR_VERSION" > RADIANT_MAJOR || die
-               insinto /usr/$(get_libdir)/${PN}
-               doins -r \
-                       RADIANT_MAJOR \
-                       RADIANT_MINOR \
-                       setup/data/tools/bitmaps \
-                       setup/data/tools/gl \
-                       setup/data/tools/global.xlink \
-                       setup/data/tools/plugins \
-                       docs
-
-               # packs
-               for x in ${MY_RADIANT_PACKS//+/}; do
-                       if use $x; then
-                               cd "${WORKDIR}"/packs/${x} || die
-                               # USE and dir names differ
-                               n="$(echo $x | sed \
-                                       -e 's/^quake/q/' \
-                                       -e 's/2world$/2w/' \
-                                       -e 's/^openarena/oa/' \
-                                       -e 's/^tremulous/trem/' \
-                               )"
-                               insinto /usr/$(get_libdir)/${PN}
-                               doins -r ${n}.game
-
-                               insinto /usr/$(get_libdir)/${PN}/games
-                               doins games/${n}.game
-                       fi
-               done
-       fi
-}
-
-pkg_preinst() {
-       # subversion_pkg_preinst seems broken
-       true
-}

Reply via email to