commit: 0446bdb18c618c3cd7d0b88fcd1c61fbd07d403f Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Fri Feb 5 18:03:00 2021 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Fri Feb 5 19:26:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=0446bdb1
games-engines/bbge: remove package Dependency for removed aquaria package. Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> games-engines/bbge/bbge-9999.ebuild | 91 ------------------------------------- games-engines/bbge/metadata.xml | 8 ---- 2 files changed, 99 deletions(-) diff --git a/games-engines/bbge/bbge-9999.ebuild b/games-engines/bbge/bbge-9999.ebuild deleted file mode 100644 index d68e6ae..0000000 --- a/games-engines/bbge/bbge-9999.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EHG_REPO_URI="http://hg.icculus.org/icculus/aquaria" -EHG_PROJECT="aquaria" - -inherit flag-o-matic cmake-utils mercurial - -DESCRIPTION="The Bit-Blot Game Engine, used by Aquaria" -HOMEPAGE="http://www.bit-blot.com/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="static-libs" - -RDEPEND=" - >=dev-libs/tinyxml-2.6.1-r1[stl] - media-libs/freetype:2 - media-libs/ftgl - media-libs/glpng - media-libs/libsdl - media-libs/libvorbis - media-libs/openal - sys-libs/zlib - virtual/opengl -" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}/aquaria" - -#PATCHES=("${FILESDIR}/patches") - -src_prepare() { - # Remove bundled stuff to ensure it's not used. - rm -r BBGE/{GL,glext} || die "Removing bundled stuff failed" - - # Remove bundled sources. - # Don't build Aquaria. - sed -i \ - -e '/glpng/d' -e '/tinyxml/d' \ - -e '/TARGET_LINK_LIBRARIES/d' \ - -e '/ADD_EXECUTABLE[(]/,/[)]/d' \ - CMakeLists.txt || die "No Aquaria patch failed" - -# # Set the data prefix directory. -# echo "ADD_DEFINITIONS(-DBBGE_DATA_PREFIX=\"${GAMES_DATADIR}\")" >> CMakeLists.txt || die "" - - # Always build shared. - echo 'ADD_LIBRARY(BBGE SHARED ${BBGE_SRCS})' >> CMakeLists.txt || die "Always-shared patch failed" - - # Optionally build static. - if use static-libs; then - echo 'ADD_LIBRARY(BBGE_Static STATIC ${BBGE_SRCS})' >> CMakeLists.txt || die "Static libs patch failed" - echo 'SET_TARGET_PROPERTIES(BBGE_Static PROPERTIES OUTPUT_NAME BBGE)' >> CMakeLists.txt || die "Static libs patch failed" - fi - - # Resolve symbols now, not later. - echo 'TARGET_LINK_LIBRARIES(BBGE ftgl glpng openal SDL tinyxml vorbisfile z)' >> CMakeLists.txt || die "Now-Resolve patch failed" - - # Use system headers. - ln -snf ../ExternalLibs/glfont2 BBGE/glfont2 || die "system-headers patch failed" - sed -i 's:\.\./ExternalLibs/::' BBGE/*.{cpp,h} || die "system-headers patch failed" - sed -i -r 's:["<](gl[a-z]*\.h)[">]:<GL/\1>:' BBGE/Base.h BBGE/Texture.cpp || die "system-headers patch failed" - sed -i -e 's:"FTGL\.h":<FTGL/ftgl.h>:' -e '/FTGLTextureFont\.h/d' BBGE/TTFFont.h || die "system-headers patch failed" - - sed -i -e '1i#include <unistd.h>' BBGE/Joystick.cpp || die "Joystick unistd sed-patch failed" - - default -} - -src_configure() { - # The bundled glpng.h defines this. - append-cppflags -DPNG_LUMINANCEALPHA=-4 - - append-cppflags -I/usr/include/freetype2 - append-ldflags -Wl,-z -Wl,defs - cmake-utils_src_configure -} - -src_install() { - dolib "${CMAKE_BUILD_DIR}"/libBBGE.* || die - - insinto /usr/include/BBGE - doins BBGE/*.h || die - - insinto /usr/include/BBGE/glfont2 - doins BBGE/glfont2/*.h || die -} diff --git a/games-engines/bbge/metadata.xml b/games-engines/bbge/metadata.xml deleted file mode 100644 index d3009e1..0000000 --- a/games-engines/bbge/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Locke Shinseiko</name> - </maintainer> -</pkgmetadata>
